REQUEST: Music for SWBF1 modmap

Started by RepComm, December 03, 2012, 07:45:53 PM

Previous topic - Next topic
December 03, 2012, 07:45:53 PM Last Edit: August 14, 2013, 10:48:22 AM by -RepublicCommando-
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  Music part1
http://www.gamefront.com/files/22765182/Bespin+Music2.zip Music part 2

--edit; this was abandoned.


December 19, 2012, 07:08:56 PM #2 Last Edit: December 19, 2012, 07:43:35 PM by Phobos
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.