Page 1 of 1

is there a way...

Posted: Sun Feb 25, 2007 4:42 pm
by Commander_Keller
is there a way to change the game music?
i do not mean the ingame music. i am talking about the music that starts after the first loading phase.
is it changable? i´d like to have music like battlefront I had. i have the tracks but i don´t know what to change.
can anybody help?
thanks guys (and girl(s) )!!!
keller

RE: is there a way...

Posted: Mon Feb 26, 2007 9:52 am
by RC-1290
yes, it's managed in the lua.

RE: is there a way...

Posted: Mon Feb 26, 2007 3:59 pm
by Commander_Keller
thanks for your answer.
i am afraid it is not changeable. i think the whole music stuff is in that global.lvl file found in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\data\_lvl_pc\sound.
please correct me if i am wrong.
thanks...

RE: is there a way...

Posted: Tue Feb 27, 2007 7:07 am
by Qdin
Well, what about loading the music you want then through the .lua? :? After all - now you know where it's placed :lol:

What about overwriting or adding music to the "sounds"-list? anyone has a hint? :)

Posted: Tue Feb 27, 2007 11:36 am
by RC-1290
All the music seems to be manageble via the lua.

Code: Select all

OpenAudioStream("sound\\global.lvl",  "gcw_music")
and:

Code: Select all

SetAmbientMusic(ALL, 1.0, "all_tat_amb_start",  0,1)
    SetAmbientMusic(ALL, 0.8, "all_tat_amb_middle", 1,1)
    SetAmbientMusic(ALL, 0.2, "all_tat_amb_end",    2,1)
    SetAmbientMusic(IMP, 1.0, "imp_tat_amb_start",  0,1)
    SetAmbientMusic(IMP, 0.8, "imp_tat_amb_middle", 1,1)
    SetAmbientMusic(IMP, 0.2, "imp_tat_amb_end",    2,1)

    SetVictoryMusic(ALL, "all_tat_amb_victory")
    SetDefeatMusic (ALL, "all_tat_amb_defeat")
    SetVictoryMusic(IMP, "imp_tat_amb_victory")
    SetDefeatMusic (IMP, "imp_tat_amb_defeat")
Also in the objectives:

Code: Select all

 ScriptCB_PlayInGameMusic("rep_geo_amb_obj1_3_explore")

I hope this helps...

RC-1290'Dreadnought'

RE: is there a way...

Posted: Tue Feb 27, 2007 11:50 am
by Commander_Keller
o.o... hrhrhr... thanks qdin and thanks rc-1290! i just recognized there is a sound folder in the modtools. silly me... ;)
thanks for the hints!
now i have to figure out which .snd file is which sound...