Sound Effects?

Started by Nexic, Sat 26/02/2005 18:42:36

Previous topic - Next topic

Nexic

According to the help all you need to do is have your sounds in the main directory, like so: sound0.wav , sound1.wav, sound2.wav and so on, just like rooms. But when I tell it to 'rebuild vox files' a vox file never appears in the 'compiled directory' and the sound is never played. Also it usually comes up with a warning after exiting the program saying sound X could not be loaded. What am I doing wrong?

strazer

#1
Sound effects are compiled into the exe, only music and speech files are in seperate vox files.

AGS Beginners FAQ

Be sure you're using uncompressed, PCM wave files.

DoorKnobHandle

And do you execute the PlaySound function anywhere in your script?

Nexic

I have several PlaySounds along with AddScore (which is set to play a sound on receiving a point)

I tried a different wave file, and this time it reconised it was there and asked me if I wanted to rebuild the vox files. But it still didn't play them during the game, and came up with warnings.

Nexic

After placing the sound in the 'compiled' directory I managed to get the game to play it when you do one thing, but it wont play it on other things. Both things use the exact same sound....

Gilbert

What are these "two things" and how did you incorporate the sound (ie. how did you script it) into them?

SMF spam blocked by CleanTalk