SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   Sound of Deck Guns (https://www.subsim.com/radioroom/showthread.php?t=242764)

skirich 10-09-2019 11:55 PM

Sound of Deck Guns
 
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-2019 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-2019 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-2019 02:08 PM

While we're on the subject, every so often a shot will sound flat. Why's that?

skirich 10-10-2019 07:21 PM

Quote:

Originally Posted by Mios 4Me (Post 2631679)
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-2019 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-2019 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-2019 07:45 PM

https://www.subsim.com/radioroom/dow...o=file&id=5465

skirich 10-13-2019 10:31 PM

Quote:

Originally Posted by Sniper297 (Post 2632178)


Handy, thanks for the file.:salute:


All times are GMT -5. The time now is 07:40 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 1995- 2020 Subsim