Page 1 of 1
Music Help
Posted: Thu Jul 09, 2009 3:53 pm
by AdmiralVon
Hi, Im new with this whole scripting thing and i just recently converted M5l1b (Sniper's Last Stand City Hall) to multiplayer. For now it is just playing the background fire from destroyed vilage. How do i make it play the music from the original SP version of m5l1b. I think its called mus_Snipertown_01b or something.
Posted: Thu Jul 09, 2009 6:29 pm
by $oldier Of Ra
Posted: Thu Jul 09, 2009 7:43 pm
by AdmiralVon
I did this and it still did not work. It still plays the Destroyed Village music.
level waittill prespawn
exec global/shutter.scr
exec global/ambient.scr m5l1b
exec global/weather.scr
exec global/dmprecache.scr
exec global/door_locked.scr::lock
exec global/exploder.scr
Is it supposed to go under something else or is something in this code preventing it?
Posted: Thu Jul 09, 2009 8:15 pm
by Rookie One.pl
You're confusing two things here - music and ambient sound. You want the level to play music instead of the distant storm and gunfight sounds, right?
Posted: Thu Jul 09, 2009 8:35 pm
by AdmiralVon
Yea i want it to play the music that it plays in the single player version
Posted: Fri Jul 10, 2009 5:24 pm
by AdmiralVon
So basically how do i make the map play mus_Snipertown_01b.mp3 or mus_Snipertown_01a since their practically the same thing.
Posted: Fri Jul 10, 2009 7:52 pm
by sdlall
Check how Phil did the music for Spectators probably will give you ideas on how to do it.
http://www.modtheater.com/forum/showthr ... ght=SMUSIC
Posted: Sat Jul 11, 2009 12:12 am
by Tazz
cant u just do it like in that map?
Code: Select all
$player stufftext "tmstart sound/music/mus_SniperTown_01b.mp3"
Posted: Mon Nov 02, 2009 4:27 pm
by dude77
do you know the music script for any of the other single player missions?
Posted: Mon Nov 02, 2009 6:01 pm
by SA007
All that stuff can be found in the original .scr files of the levels.
Posted: Mon Nov 02, 2009 10:14 pm
by dude77
okay, where do i find the original .scr files?
Posted: Tue Nov 03, 2009 1:27 pm
by SA007
Pak5.pk3 is the pak that contains all the maps.
Just open it with and random zip program or pak explorer.
Posted: Tue Nov 03, 2009 3:58 pm
by dude77
cheers mate