sounds through a script.

sounds through a script.

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

sounds through a script.

Post by smoth »

Did anyone mess with it? Did anyone find it worked? Does it still require a change in my header files?
User avatar
Optimus Prime
Posts: 755
Joined: 03 Oct 2005, 14:31

Post by Optimus Prime »

it works. You have to compile your script as a ta kindom file and than the sounds can be played per script. War Evo uses this feature a lot to change the volume of weapons.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

...and the command is play-sound(string filename, int volume) as in play-sound("wave.wav", 66) if anyone wants to know.
Post Reply

Return to “Game Development”