Log in

View Full Version : Sound of Deck Guns


skirich
10-09-19, 11:55 PM
Can someone point me to where the deck guns reference to the sound file is stored?


I think I screwed up that sound in my merge.
The gun sounds distant so its probably incorrectly referencing the wrong file or the settings are a bit off.:Kaleun_Cheers:

skirich
10-10-19, 01:00 AM
So far found these ...
sh.sdl - has all the sound file to node mappings

particles.dat and dsd - more node mappings

Each gun has its own dat and sim but no dsd file.

What I cant figure out is how the node mappings map back to the 4.5" gun firing.

Any hints appreciated:salute:

skirich
10-10-19, 02:09 AM
Found the problem. RFB mod's sound effect is fairly muted.
Didnt like it.
So i copied the sound file from theberbsters mod, which is nice.


I'd still like to learn the mapping though if anyone has an idea. The mappings are quite the spider web.

Mios 4Me
10-10-19, 02:08 PM
While we're on the subject, every so often a shot will sound flat. Why's that?

skirich
10-10-19, 07:21 PM
While we're on the subject, every so often a shot will sound flat. Why's that?


From your deck gun, there are two files. One for when you are standing outside the sub, and one from inside your sub. The one inside is muted.


If you are outside, it should always sound loud and crisp with a follow up ding ding dig of the shell hitting the deck and the gun being reloaded.


If that isnt happening then your mappings are wrong of the soudn setting for the mapping has something silly like muffle for FOG turned on in sh.sdl

Mios 4Me
10-10-19, 09:25 PM
Hmm, it's roughly every 7th-10th shot at normal speed, sort of a flat sound as if it were a dud, though it hits normally. I'm using 2x 5" guns.

skirich
10-10-19, 10:31 PM
Go to your sound folder.
\Silent Hunters Wolves of the Pacific\Data\Sound


Find the files with this in the names ...


$Gun_muzzle_flash.wav
$MGun_muzzle_flash.wav
$LGun_muzzle_flash.wav


They will be prefixed with P##_


Notice there is only three, but you can have them in multiple file prefixes.
Find the one you dont like. The one that sounds like the one you say is the 7th shot. Rename it something you can remember like adding in .ORG at the end and copy over the one you like to the original name.


I find this the easiest method, since finding the node references in 3 files is too complex at the moment. I havent figured out the correlations yet.

Sniper297
10-13-19, 07:45 PM
https://www.subsim.com/radioroom/downloads.php?do=file&id=5465

skirich
10-13-19, 10:31 PM
https://www.subsim.com/radioroom/downloads.php?do=file&id=5465


Handy, thanks for the file.:salute: