Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: riseryn on Sun 30/12/2007 10:08:23

Title: Weird warning about sound
Post by: riseryn on Sun 30/12/2007 10:08:23
Hi
I have a weird warning in a room about sound:

(in room 100): Sound sample load failure: cannot load sound 3  ??? ??? ???

That' s weird because I have neither sound nor music defined for this room.
I have checked characters and objects and no sound is defined for them even in frame.

Thats a non blocking issue so I'm just curious about it.

Title: Re: Weird warning about sound
Post by: Ibrahim9 on Sun 30/12/2007 19:39:03
There is a sound file somewhere in your game, you might have put it on by accident, search for it, then delete  it.
Title: Re: Weird warning about sound
Post by: Radiant on Sun 30/12/2007 21:00:16
On the contrary, there is a sound file missing somewhere in your game.

At some place, you are making the command to PlaySound(3), or some variant thereof. Perhaps as an ambient, or when your score increases. You can probably find this by scanning your scripts.

Or, take a random but attention-catching sound effect and save it as SOUND3.WAV, then find out where it plays. This will help locating the problem.

Or, simply ignore it. This isn't critical.
Title: Re: Weird warning about sound
Post by: riseryn on Mon 31/12/2007 12:36:23
At the moment I only have  2 rooms et no sounds defined thats why its weird ;D

but its a non blocking issue and just happens sometimes so I think I ignore it

Happy New Year  :)
Title: Re: Weird warning about sound
Post by: ciborium on Thu 03/01/2008 16:30:56
Check and make sure that you don't have "Play Sound at Score Increase" checked.  If you have a score increase in your room script it would attempt to play the sound, even if you don't expressly command the sound to play in your room script.
Title: Re: Weird warning about sound
Post by: Galen on Thu 03/01/2008 17:06:53
Quote from: Rayberg on Thu 03/01/2008 16:30:56
Check and make sure that you don't have "Play Sound at Score Increase" checked.  If you have a score increase in your room script it would attempt to play the sound, even if you don't expressly command the sound to play in your room script.
Hahaha. I'll bet that may be the problem.