LOOPING map music! (need help!)

  • Thread starter Thread starter in$ane
  • Start date Start date
I

in$ane

Guest
I am trying to get my map to play a song over and over, everytime it ends i want it to restart. i already have the logic_auto stuff done (or i can do the trigger too). But i need it to loop! gelp!:dork:
 
It's an ambient_generic, right? Look under the "flags" tab.
 
It's an ambient_generic, right? Look under the "flags" tab.

Yes it's an ambient generc, and a costum mp3 (still makes no difference). But having it "Is NOT looped" off doesn't make it loop. It doesn't work or else i would never have asked for help here!
 
logic_timers. Set the time to how long your song is and roll.
 
Event: On Timer
Target: MusicAmbient
Action: Start

Quite easy. That should work.
 
I figgerd it out! I have to use two Logic_timer's! both have the same refiralinterval, one StopSound and the other delay 0.10 sec and PlaySound, i couldn't get the stop+play to work with one logic_timer, it should also be mentioned that wav files loop, MP3 files don't and need this logic timer crap
 
You could always just convert your MP3 into a wav if you dont want to have the logic timers.
 
A possible easier way..

If you're hosting the map, just put the mp3 in a <noembed> tag in the motd.txt -- Set it with loop=infinite, so, whenever anyone joins your server, it plays.

If its something unique to the map, then yeah, you need to do as suggested above.
 
Back
Top