Jump to content

Home

Sounds?


Usurpo

Recommended Posts

This is evil. I have a nice torch, via gothiX, [;)] and a good flame to go with it. Thing is, there is no sound! I expected as much, so I opened up assets 0 and found a nice sound to go with it, 'sound\effects\fire_lp.wav'. This is entered onto my flame entity as the value to a 'soundset' key. When I go to devmap it, the game won't even let me start, saying that it can't find the sound file! What am I doing wrong?

Link to comment
Share on other sites

1- Check the extension: .wav or .mp3?

2- I'm not sure whether you use forward or reverse slashes in the key ( / or \ ).

3- Try putting a target_speaker near the flame with that sounds file as the value of its noise key, rather than in the soudset of the effect.

4- Actually, now that I think about it, I believe "soundset" looks for an entry in the sound.txt file in the sounds directory, not an actual sound file. Try the "sound" or "noise" keys instead, or look in sound.txt for a soundset that looks like it goes with a flame.

Link to comment
Share on other sites

It works if you enter it like this:

 

soundset

fire_lp

 

The name of the soundset is fire_lp (regardless of the name of the actual sound file). So you don't enter any paths or the file name extension.

 

You can check all sound set and the files (many times multiple sound files) in the sound.txt file in your base/sounds folder (if you have extracted them from you assets0.pk3 file). However, take care; there are probably soundsets with missing sound files.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...