![]() |
Quote:
http://www.downbelow.net/sh4/confused.jpg |
Quote:
:rotfl: That, is a quote and picture worth saving - classic! |
It sure is....and Ducimus I am still looking for your Capt. Kirk with his depressed head in his hands!
|
skwasjer, would you happen to know which file(s) control the sound file that is played when the deck and flack guns are fired? I'd really like to create a separate sound file for the 37 mm and 40 mm guns, if possible.
|
Check the particals.dsd
All gun sounds are controlled by this file if I'm not mistaken? ;) |
Quote:
I know things like depth charges hitting the water are in the particles.dsd file, so why not gun sounds too. |
lol longam :smug:
@LukeFF: Yea, I think they are in particles.dsd. Look for a SoundSource controller or something like that. If you're gonna add a new sound, you'll also have to add an entry in the sh.sdl file. |
Quote:
|
Oh yes.
It is possible!! I have edited the SH3.sdl files many times. Depending on what you want to do? You may need to rework several files. You may need to create new files also. It all depends on what you want to do. Who would have thought Air Raid Sirens were possible? ;) |
I could be mistaken, but i think sounds need:
- a node in a dat - a controller in a said dats sim file, DSD file, or both - an entry in the sh.sdl At least thats what ive observed when working with sub interiors. Ive thought about adding more atmospheric sound sources in the interiors, but was afraid of generating undue lag. Engine/gun sounds are a different thing though. |
You don't always need a node in the dat.
Again, it depends on what and how you want the sound to come across. For an example I'm looking at in SH3. On the Turm, you hear the desiel engines. Go to the interior and the desiel sound is not there. If we add the aud_Desiel node with corrected ID's Will it work? Of course we need look at all dsd files and sdl file also. |
Node in dat - i was probably thinking of sounds sources. Such as water or steam pipes. I only looked at this stuff in passing, so im probably way off base. Edit: Its worth noting that stock fleet boat interior files have no sounds to them at all. SteveTRM added them in. I dont remember if he use an aud_node or not. anyway, ill shut up. Now im curious as to what else is in some of those dsd files. (not that i havent looked already) Think i figured out why my earlier attempts at getting band music on the docks failed.
|
LukeFF, it's possible. Go to the properties of the wpn_Cannon controller in the sim file. Open up the Fire-node, and there you see a property 'effect'. It has an id. Select 'effect', and copy the value to the clipboard (in hex format!). Now, open up the particles.dat, and do CTRL+F, and paste the id into the textbox and hit Find. You'll see that the node will be selected either $MGun_muzzle_flash or $Big_muzzle_flash, or some others, depending on the gun. These are shared muzzle flashes by all (most?) guns. In the particles.dsd you will find the associated muzzle sound. To make a unique sound for a different weapon you have to clone a few nodes in both particles.dat and .dsd (to create a new effect+sound), a sound entry to the sdl-file (which defines the actual soundfile to be played), and lastly assign the newly created effect id to the weapon.
Hope this makes a bit sense :up: Just try :) [edit] I'm not sure if there are tricks to do this easier (without cloning nodes), maybe someone else knows. |
I'll give that a try, skwas. Thanks!
|
Oh, and one trick to make cloning of a bunch of nodes easier (you need to redo all the id's!) is to remove all the other chunks from the file so you only are left with the chunks that need to be cloned. Then, use the remap function to assign new id's to all nodes in one go. Then export and import.
Saves the trouble of fixing up the nodes after import and manually changing all the id's. |
All times are GMT -5. The time now is 11:27 PM. |
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.