View Single Post
Old 04-17-19, 07:00 AM   #2
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by Fifi View Post
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.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote