Mp3 Sounds Not Playing/looping

MachiavelliMachiavelli 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)

Comments

  • uffouffo Join Date: 2003-05-03 Member: 16026Members
    Try adding/removing the "sound/" from your path. I never remember which way it should be so this
    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-->
  • KRaggKRagg Join Date: 2002-11-15 Member: 8832Members
    Are you using the trigger_mp3audio entity for the mp3's?
  • MachiavelliMachiavelli Join Date: 2003-07-27 Member: 18468Members
    Yes I am using the trigger_mp3 audios and yes there is no sound infront of the path. halflife/ns/sound is the base folder. The first thing in the path is "ambience"
  • MarrMarr Join Date: 2002-12-11 Member: 10582Members
    I don't know if this makes a difference, but what format MP3's are you using?
  • DarkATiDarkATi Revelation 22:17 Join Date: 2003-06-20 Member: 17532Members, Reinforced - Shadow
    <!--QuoteBegin--Marr+Oct 6 2003, 04:28 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Marr @ Oct 6 2003, 04:28 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I don't know if this makes a difference, but what format MP3's are you using? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    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
  • MachiavelliMachiavelli Join Date: 2003-07-27 Member: 18468Members
    I'm not using custom mp3s. These are all sounds that I got from the natural selection ambience folder.
    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.
Sign In or Register to comment.