Page 1 of 1

What are the sounds used by spring game packages?

Posted: 14 Oct 2009, 00:38
by smoth
What sounds can a unit use?(I.E select, ok, can't do)

what ui click sounds are needed?

what formats are supported?

Re: What are the sounds used by spring game packages?

Posted: 14 Oct 2009, 00:55
by Auswaschbar
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");
For weapons, there is only "start" and "hit".
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,
},
smoth wrote:hat formats are supported?
PCM wav (16bit, 22 or 44 kHz) and ogg/vorbis (anything, including vbr), mono or stereo (but no spatialisation in stereo)

Re: What are the sounds used by spring game packages?

Posted: 14 Oct 2009, 19:39
by smoth
How many different unit sounds are allowed? As in how many different select acknowledgements are permited?

Re: What are the sounds used by spring game packages?

Posted: 14 Oct 2009, 19:44
by Auswaschbar
eg. "select1", "select2", ...

So I would say at least 9, but most likely as much as fit in your RAM.