SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-10-09, 11:33 AM   #1
pythos
Grey Wolf
 
Join Date: May 2005
Location: Somewhere over there
Posts: 834
Downloads: 46
Uploads: 0
Default How about adding sounds

I want to add a nuclear sub "rumble" to the ohio, but have no idea how. Help.
pythos is offline   Reply With Quote
Old 03-10-09, 08:42 PM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by pythos
I want to add a nuclear sub "rumble" to the ohio, but have no idea how. Help.
just a wild guess but if you replace the air compressor hiss with a rumble and set it to be always damaged it should have a continuos rumble.

as to how to actually do that im not sure. sounds is a part of modding i havent done yet

as for creating the noise lay a microphone on a table or desk when a train passes then just edit and loop the sound
  Reply With Quote
Old 03-11-09, 12:37 AM   #3
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Check the sub DSD file.
tater is offline   Reply With Quote
Old 03-11-09, 07:42 AM   #4
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Summary:

- Create your (ambient) sound loop (wav-file) and place it in the Sound-folder.
- Add a new sound definition to the SH.SDL file. Give it a unique name (use similar naming semantics as the other sound definition, f.ex. 'Ambient.Nuclear'). Point it to the wav-file, and set all the appropriate attributes, like 3D sound properties, volume, loop, etc.
- In the DSD file add a SoundSource controller and in it's properties, reference the unique name specified in the SDL-file (in the 'Name' property, the 'Identifier' is for special purposes and can be left blank). This controller basically 'instantiates' the sound.
- In the DAT-file create an empty and invisible dummy node (or if you have a specific object that is already in the correct place you can also use this node) and position it where you want to 'hear' the sound. If it's an ambient sound or non-3D sound the position doesn't matter (you always hear it at same volume regardless of the position) but if it is a 3D sound then it does, since the sound will be loudest here, and fades off the farther you are away from it.
- Take the id of the dummy node and put it in the 'parent id' field of the controller you just created in the DSD-file. This ties the 'sound instantiation' to an actual 'location'.

With this info I suggest you first analyze existing (stock) sounds, it will become clear then. It's actually quite easy and takes just a couple of minutes...

That wraps it up.
skwasjer is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.