Background Music

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Filipinio
Master Sergeant
Master Sergeant
Posts: 178
Joined: Fri Jan 22, 2010 3:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mygeeto's Bridge Battle's

Background Music

Post by Filipinio »

I went into the FAQ and i did find the ambiet music tutorial but it was no help at all, can someone tell me how to add the background music?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Background Music

Post by AQT »

Filipinio wrote:can someone tell me how to add the background music?
Yes, Mav can, in the very tutorial you mentioned: http://www.gametoast.com/forums/viewtop ... &sk=t&sd=a :?
i did find the ambiet music tutorial but it was no help at all
What exactly do you not understand? If it's the whole thing there's not much we can help you with. You'll just have follow it step by step carefully.
User avatar
Filipinio
Master Sergeant
Master Sergeant
Posts: 178
Joined: Fri Jan 22, 2010 3:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mygeeto's Bridge Battle's

Re: Background Music

Post by Filipinio »

well there were a few things sutch as what were i ment to do with the 4 music files i made? and in the last bit what your ment to add in to the lua
(
Hidden/Spoiler:
SetAmbientMusic(ALL, 1.0, "rep_kam_amb_start", 0,1);
SetAmbientMusic(ALL, 0.99, "rep_kam_amb_middle", 1,1);
SetAmbientMusic(ALL, 0.1,"rep_kam_amb_end", 2,1);
SetAmbientMusic(IMP, 1.0, "cis_kam_amb_start", 0,1);
SetAmbientMusic(IMP, 0.99, "cis_kam_amb_middle", 1,1);
SetAmbientMusic(IMP, 0.1,"cis_kam_amb_end", 2,1);

SetVictoryMusic(ALL, "rep_kam_amb_victory")
SetDefeatMusic (ALL, "all_tat_amb_defeat")
SetVictoryMusic(IMP, "cis_kam_amb_victory")
SetDefeatMusic (IMP, "imp_tat_amb_defeat")
)

i dont understand why it said kam and tat
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Background Music

Post by Maveritchell »

Filipinio wrote:i dont understand why it said kam and tat
The names are - like they are in everything - irrelevant. The defeat music name remains unchanged because:
They need to be called "Music1.wav" (this is your "beginning ambient track, or your entire mix if you're doing an assault map), "Music2.wav" (this is your "middle" ambient track - unnecessary if you're doing an assault map), "Music3.wav" (this is your "end" ambient track - unnecessary if you're doing an assault map), and "victory.wav" (this is your "victory" track - plays on mission accomplished).
As you can see from reading the tutorial, you're only working with three ambient tracks and one victory track. If you want your own defeat track you can add that in the same way.

Literally, if you just do exactly what the tutorial says, step-by-step, you'll have a working music (sound) .lvl. If you're trying to learn exactly what does what and why, that's great - but do the tutorial first since it holds your hand through the exact steps of making one.
Post Reply