Page 1 of 1

i need help fast

Posted: Thu Dec 12, 2002 10:29 pm
by Heinrich
someone , i need help makin music, i got an mp3 file i just put on my comp, i need it to play as music while i play my map i just made, how do i make the script, and what do i name the script. please reply fast, Our lan party is tommaro

Posted: Thu Dec 12, 2002 11:14 pm
by Innkeeper
creeate a .mus file in the music folder with your map's name.

Code: Select all

// yourmapname.mus

path sound/amb_stereo

normal your_new_music.mp3  // Default

!normal volume 1.0
!normal loop
!normal fadetime 2
In your map's script put:

Code: Select all

   level waittill prespawn

    //*** Precache Dm Stuff
   exec maps/dm/yourmapname_precache.scr

   level.script = "maps/dm/yourmapname.scr"

   exec global/ambient.scr yourmapname  <===== add this line

   level waittill spawn
Your new .mp3 must be put in the \MOHAA\main\sound\amb_stereo folder not in your .pk3. That means that everyone in the game must do the same.