SWBFGamers

Modding for the Original SWBF1 and SWBF2 => Requests => Topic started by: RepComm on December 03, 2012, 07:45:53 PM

Title: REQUEST: Music for SWBF1 modmap
Post by: RepComm on December 03, 2012, 07:45:53 PM
Edit: heya, I need these files (links bellow) formated to work in bespin cloud city.
I already know how to do the mission.lvl editing, I am using the music in the christmas modmap competition.
So you will be credited when I upload the mods!
Thanks, -RC-.
http://www.gamefront.com/files/22765174/Bespin+Music1.zip (http://www.gamefront.com/files/22765174/Bespin+Music1.zip)  Music part1
http://www.gamefront.com/files/22765182/Bespin+Music2.zip (http://www.gamefront.com/files/22765182/Bespin+Music2.zip) Music part 2

--edit; this was abandoned.
Title: Re: REQUEST: Music for SWBF1 modmap
Post by: Phobos on December 09, 2012, 02:37:31 PM
I don't see an attachment.
Title: Re: REQUEST: Music for SWBF1 modmap
Post by: Phobos on December 19, 2012, 07:08:56 PM
Try this and make sure music is enabled in your audio options or you won't hear it,

Edit:
The first LVL I posted was misconfigured and didn't work. Try this one. I have confirmed that this compile works ingame.
http://www.speedyshare.com/JdrFY/NarniaMusic.7z

QuotePlace the phobos.lvl in the sound folder for your mod map.

Add this stuff to your mission LUA.

Add this in the ReadDataFile section:
ReadDataFile("dc:sound\\phobos.lvl;phobosgcw");

Add this to the OpenAudioStream section:
OpenAudioStream("dc:sound\\phobos.lvl", "phobosgcw_music");

Add this to the ambient music section:

   SetAmbientMusic(ALL, 1.0, "amb_start",  0,1);
   SetAmbientMusic(ALL, 1.0, "amb_end",  1,1);
   SetAmbientMusic(IMP, 1.0, "amb_start",  0,1);
   SetAmbientMusic(IMP, 1.0, "amb_end",  1,1);


Test it and let me know if it works. If not I'll have to try something else.
EhPortal 1.34 © 2025, WebDev