Nexus Skirmisher

Nexus Modding => Scripting => Topic started by: Mularac on June 30, 2011, 22:34:21

Title: Changing music during briefings?
Post by: Mularac on June 30, 2011, 22:34:21
Anyone know how to change the music track during the briefing and/or fleet loadout part of a mission?
Title: Re: Changing music during briefings?
Post by: Arparso on July 01, 2011, 01:09:42
I've never done any campaign scripting, so I wouldn't know :(
Title: Re: Changing music during briefings?
Post by: GeoModder on July 02, 2011, 11:35:02
As far as I could figure out, the first song in the sound.ini file music list is played during briefings, loadouts and such. So if you could from ingame switch the list sequence, it could work.
Or maybe not. I'm guessing once an .ini file is loaded, its impossible to tinker with the loaded content?
Title: Re: Changing music during briefings?
Post by: Mularac on July 02, 2011, 16:47:17
Well, no and no.
No, you can't change the contents of an .ini file dynamically.
And it's not the first song the one that's played, is the one called "menu_starmap.ogg", it doesn't matter where in the list that song is, it'll be played.
I guess that a small workarround would be to change that file so that's a mute sound, and that way there won't be any music at all.
Title: Re: Changing music during briefings?
Post by: Unforgivenjagz on July 17, 2011, 08:57:14
Or you can somehow combine the two songs you want played into one file, and replace that one.
Just a thought :)