Quote:
Originally Posted by Fifi
Hi,
What is calling a sound when clicking an item like in the order bar?
I suspect it’s not only in the SH.sdl file...
Could you tell me the right procedure to add a sound to an action?
Thanks in advance
|
What sound are you trying to add; to what action?
There are "Sounds" found in the SH.sdl file which are "linked" to .wav files that are stored in the same folder. Then there are "Speech" files which are stored in the Data/Sounds/Speech folder (.ogg files) which are linked to a "command" (order), which comes from an entirely different area. So it makes a difference to know what are you trying to do?
You have to remember this...……....We can substitute sounds for an action. Meaning we could take a quacking duck and make it be heard when the "Man Battle Stations" command is given. But, we can't make-up a completely new "command" and insert it into the game. The game is hard coded with that kind of limit. It has a specific number of "commands", it understands what to do when a specific "command" (order) is given. This is hard coded in it's game engine. We can't make-up a new "command" and expect it to do something......the game won't know what to do with it. We can only change an existing commands "linked" item's (like a sound that goes with it) into something else. It just won't work any other way.