Mp3 Sounds Not Playing/looping
Machiavelli
Join Date: 2003-07-27 Member: 18468Members
<div class="IPBDescription">help</div> I'm having some trouble getting some sounds in my map to play.
For example, in my map I have an earthquake happen randomly. There are a few things that are should happen whenever the quake is triggered.
1. Everyone's screen shakes
2. Everyone hears a sound
However, right now, the screen shakes, but I never hear the sound. Its an mp3 file and I have the "don't fade" flag marked. The volume is set to 250 (max) and the path is correct, but still the sound wont play.
Another example is the "looping sounds". I have a lot of mp3 ambient sounds that are suppose to loop over and over (hiveamb, lapwater, etc) but I have never heard them play in the map.
I even set up one of the sounds to be triggered by a looping multi manager in case it couldn't loop itself, however, even then the sound did not play.
Another interesting thing is the ambient music I set up for the map. It is a group of ambient music files that are all triggered by a looping multi manager, which cycles through about 5 different background music. When the round first starts I hear the music, but after it plays once the music goes away again.
All of the sounds that are causing me trouble are the mp3 files, all the wavs work fine. Right now I have no idea why they arnt working, and I'm hoping that someone here will have had the same problem I have had, or at least be able to help me. The only remaining reason I can think of is that I may have to many sounds playing at once, but since most of the sounds don't work, I don't see how this could be true. Does anyone know the number of sound "channels" half life supports? (ei: how many sounds can be playing at one time)
For example, in my map I have an earthquake happen randomly. There are a few things that are should happen whenever the quake is triggered.
1. Everyone's screen shakes
2. Everyone hears a sound
However, right now, the screen shakes, but I never hear the sound. Its an mp3 file and I have the "don't fade" flag marked. The volume is set to 250 (max) and the path is correct, but still the sound wont play.
Another example is the "looping sounds". I have a lot of mp3 ambient sounds that are suppose to loop over and over (hiveamb, lapwater, etc) but I have never heard them play in the map.
I even set up one of the sounds to be triggered by a looping multi manager in case it couldn't loop itself, however, even then the sound did not play.
Another interesting thing is the ambient music I set up for the map. It is a group of ambient music files that are all triggered by a looping multi manager, which cycles through about 5 different background music. When the round first starts I hear the music, but after it plays once the music goes away again.
All of the sounds that are causing me trouble are the mp3 files, all the wavs work fine. Right now I have no idea why they arnt working, and I'm hoping that someone here will have had the same problem I have had, or at least be able to help me. The only remaining reason I can think of is that I may have to many sounds playing at once, but since most of the sounds don't work, I don't see how this could be true. Does anyone know the number of sound "channels" half life supports? (ei: how many sounds can be playing at one time)
Comments
causes most of my mp3 problems <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
It DOES make a difference. Sounds must be set at...
*Checks...
22.050Khz 16Bit Mono,
Or at least that's the format I use and custom mp3's play fine. That's most likely the culprit here.
~ DarkATi
I'm just wondering, but does the "start on" flag only matter if you want the sound to be always playing? Or does it have to be marked otherwise the entity wont work (like the func_weldable).
Also, I have only ran the map by myself. No mp3 sounds would play until I made the game start by turning sv_cheats on. However, only some of the sounds played.