What sounds can a unit use?(I.E select, ok, can't do)
what ui click sounds are needed?
what formats are supported?
What are the sounds used by spring game packages?
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: What are the sounds used by spring game packages?
smoth wrote:What sounds can a unit use?(I.E select, ok, can't do)
Code: Select all
LoadSounds(soundsTable, ud.sounds.ok, "ok"); // eg. "ok1", "ok2", ...
LoadSounds(soundsTable, ud.sounds.select, "select"); // eg. "select1", "select2", ...
LoadSounds(soundsTable, ud.sounds.arrived, "arrived"); // eg. "arrived1", "arrived2", ...
LoadSounds(soundsTable, ud.sounds.build, "build");
LoadSounds(soundsTable, ud.sounds.activate, "activate");
LoadSounds(soundsTable, ud.sounds.deactivate, "deactivate");
LoadSounds(soundsTable, ud.sounds.cant, "cant");
LoadSounds(soundsTable, ud.sounds.underattack, "underattack");
smoth wrote:what ui click sounds are needed?
Code: Select all
IncomingChat = {
--- always play on the front speaker(s)
file = "sounds/beep4.wav",
in3d = "false",
},
MultiSelect = {
--- always play on the front speaker(s)
file = "sounds/button9.wav",
in3d = "false",
},
MapPoint = {
--- respect where the point was set, but don't attuenuate in distace
--- also, when moving the camera, don't pitch it
file = "sounds/beep6.wav",
rolloff = 0,
dopplerscale = 0,
},
PCM wav (16bit, 22 or 44 kHz) and ogg/vorbis (anything, including vbr), mono or stereo (but no spatialisation in stereo)smoth wrote:hat formats are supported?
Re: What are the sounds used by spring game packages?
How many different unit sounds are allowed? As in how many different select acknowledgements are permited?
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: What are the sounds used by spring game packages?
eg. "select1", "select2", ...
So I would say at least 9, but most likely as much as fit in your RAM.
So I would say at least 9, but most likely as much as fit in your RAM.