PDA

View Full Version : sndinfo confusing


MasterOfPuppets
November 11th, 2004, 09:17 PM
the tutorial for the sndinfo lump on the wikipedia is so fricken vague! i need some help here, please. all i'm trying to make is an ambient sound. any hard headed zdoomers here willing to enlighten me?

$ambient <logicalsound> <mode> <mode> <volume>

logical sound is confusing me in particular. if i put the sound name, zdoom won't accept it! if i put a number, nothing happens!

lets say the sound's name is NSND, can somebody give me an example of an average point sound with that name? i learn easily that way. thanks

Tiealk
November 12th, 2004, 07:41 AM
The description is incorrect. It is $ambient index logicalsound mode <volume> (the index is missing)
So let's assume you have defined your sound properly in SNDINFO it should look like:

$ambient 1 NSND Point Continuous

to play a continuous sound which is played from the ambient sound thing placed in the map.

MasterOfPuppets
November 12th, 2004, 08:06 AM
thank you very much. the tutorial never had the part about the index.