View Full Version : How to add new music to game?
King Azzole
05-19-2004, 20:35
I was wondering if someone could explain how to edit the playlist? By looking it over I summize that since muslim is always first listed, its assigned the 0 slot in the campmap startloc folder in the era file. Christian is second, etc. So can someone explain how to add new music to label it 3, 4 etc?
For now
0 = Muslim
1= Christian
2= Pagan
3= custum?
Thanks.
PseRamesses
05-20-2004, 11:46
Find the music you want to play and put them in the Sounds\Music directory. They have to be in wav format. For example if I have 6 pieces of music I want to use called:
My Tension.wav
My Mobilize.wav
My Battle1.wav
My Battle2.wav
My Win.wav
My Lose.wav
Just drop all 6 in that directory. Now open playlist with a text editor, double click and open with notepad. Go down to the first custom space and add in before the first line "My Tension",0 so it look something like:
// custom 1,2 and 3
"My Tension",0
"", 0
"", 0
"", 0
You may want to edit the comment to make it look better
// Shogun music
"My Tension",0
"", 0
// custom 2 and 3
"", 0
"", 0
Now repeat the process with the mobilize section to:
// Shogun music
"My Mobilize",0
"", 0
// custom 2 and 3
"", 0
"", 0
I have 2 pieces of battle music, the game will pick one at random when the fighting start, so:
// Shogun music
"My Battle1",0
"My Battle2",0
"", 0
// custom 2 and 3
"", 0
"", 0
Repeat for win and lose. You can put the same track in more times to weight the random progress, the more it appear in a section the more chance it will be selected. You can have up to 6 tracks for each slot. Finally go into startpos file and change the music for the factions:
SetFactionMusic:: FN_ENGLISH 3
Thanks to Vikinghorde who taught me this and the fact that you can have up to 6 different game style music. Good luck
King Azzole
05-20-2004, 22:11
Immense help. You rule
King Azzole
05-21-2004, 20:18
OK one final question. Im using the XL mod that has the new music. How exactly should I add in the new songs I have? I have one for marching called march.wav and two new battle songs called battle1.wav and battle2.wav
Thanks
Heres what ive done so far but its yielded wierd results, the mobilzation plays the XL alot but I have not heard after a few tries the March.wav file. Also the battle music is viking music for some reason. And then the win music is Euro music. Heres my file looks like:
// These must be in the correct order - init, moving, fighting, win, lose
// there are 3 different types of style in used, and 3 custom ones
// you can have up to 6 track for each "slot" the number is how many time to repeat each track
// use "", 0 to terminate the list if there are fewer
// NOTE there is no error checking in reading this file, get it right or else
// BGMP_INIT
// muslim
"Arab Tension 1", 0,
"Arab Tension 2", 0,
"Arab Tension 3", 0,
"", 0
// christian
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// Viking
"Viking Tension", 0,
"Viking Tension", 0,
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// XL
"XL TENSION", 0,
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// NEW
"XL TENSION", 0,
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// custom 1 and 2
"", 0
"", 0
// BGMP_MOVING
// muslim
"Arab Mobilize 1", 0,
"Arab Mobilize 2", 0,
"Arab Mobilize 3", 0,
"", 0
// christian
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"Euro Mobilize 3", 0,
"", 0
// Viking
"Viking Mobilize 1", 0,
"Viking Mobilize 1", 0,
"Viking Mobilize 1", 0,
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"", 0
// XL
"XL MOBILIZE 1", 0,
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"", 0
// NEW
"March", 0,
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"", 0
// custom 1 and 2
"", 0
"", 0
// BGMP_FIGHTING
// muslim
"Arab Battle 1", 0,
"Arab Battle 2", 0,
"Arab Battle 3", 0,
"", 0
// christian
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// Viking
"Viking Battle 1", 0,
"Viking Battle 1", 0,
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// XL
"XL BATTLE 1", 0,
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// NEW
"Battle1", 0,
"Battle2", 0,
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// custom 1 and 2
"", 0
"", 0
// BGMP_WIN
// muslim
"Arab Win 1", 0,
"", 0
// christian
"Euro Win 1", 0,
"", 0
// Viking
"Viking Win 1", 0,
"", 0
// XL
"Euro Win 1", 0,
"", 0
// NEW
"Viking Win 1", 0,
"", 0
// custom 1,2 and 3
"", 0
"", 0
// BGMP_LOSE
// muslim
"Arab Lose 1", 0,
"", 0
// christian
"Euro Lose 1", 0,
"", 0
// Viking
"Viking Lose 1", 0,
"", 0
// XL
"Euro Lose 1", 0,
"", 0
// NEW
"Viking Lose 1", 0,
"", 0
// custom 1,2 and 3
"", 0
"", 0
VikingHorde
05-21-2004, 21:37
Quote[/b] (King Azzole @ May 21 2004,21:18)]OK one final question. Im using the XL mod that has the new music. How exactly should I add in the new songs I have? I have one for marching called march.wav and two new battle songs called battle1.wav and battle2.wav
Thanks
Heres what ive done so far but its yielded wierd results, the mobilzation plays the XL alot but I have not heard after a few tries the March.wav file. Also the battle music is viking music for some reason. And then the win music is Euro music. Heres my file looks like:
Hi King Azzole
Have you called it number 4 in the early, high and late text? XL music is number 3..
King Azzole
05-21-2004, 21:48
Yes I put 4 for the music to be played in teh campmap startpos files. I noticed now the XL music (the factions numbered 3) have now bad music order also... :(
Edit I also posted in your XL mod thread. Another problem I have is I cant hear the XL TENSION ever...
VikingHorde
05-21-2004, 22:10
Quote[/b] (King Azzole @ May 21 2004,22:48)]Yes I put 4 for the music to be played in teh campmap startpos files. I noticed now the XL music (the factions numbered 3) have now bad music order also... :(
Edit I also posted in your XL mod thread. Another problem I have is I cant hear the XL TENSION ever...
Hmm.. OK, I will have to take a look at the files and game. I will post tomorrow when I have run some tests..
VikingHorde
05-21-2004, 22:24
I think it has to look like this: (to meny "", 0)
// BGMP_INIT
// muslim
"Arab Tension 1", 0,
"Arab Tension 2", 0,
"Arab Tension 3", 0,
"", 0
// christian
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// Viking
"Viking Tension", 0,
"Viking Tension", 0,
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// XL
"XL TENSION", 0,
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// NEW
"XL TENSION", 0,
"Euro Tension 1", 0,
"Euro Tension 2", 0,
"Euro Tension 3", 0,
"", 0
// custom 1
"", 0
// BGMP_MOVING
// muslim
"Arab Mobilize 1", 0,
"Arab Mobilize 2", 0,
"Arab Mobilize 3", 0,
"", 0
// christian
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"Euro Mobilize 3", 0,
"", 0
// Viking
"Viking Mobilize 1", 0,
"Viking Mobilize 1", 0,
"Viking Mobilize 1", 0,
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"", 0
// XL
"XL MOBILIZE 1", 0,
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"", 0
// NEW
"March", 0,
"Euro Mobilize 1", 0,
"Euro Mobilize 2", 0,
"", 0
// custom 1
"", 0
// BGMP_FIGHTING
// muslim
"Arab Battle 1", 0,
"Arab Battle 2", 0,
"Arab Battle 3", 0,
"", 0
// christian
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// Viking
"Viking Battle 1", 0,
"Viking Battle 1", 0,
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// XL
"XL BATTLE 1", 0,
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// NEW
"Battle1", 0,
"Battle2", 0,
"Euro Battle 1", 0,
"Euro Battle 2", 0,
"Euro Battle 3", 0,
"", 0
// custom 1
"", 0
// BGMP_WIN
// muslim
"Arab Win 1", 0,
"", 0
// christian
"Euro Win 1", 0,
"", 0
// Viking
"Viking Win 1", 0,
"", 0
// XL
"Euro Win 1", 0,
"", 0
// NEW
"Viking Win 1", 0,
"", 0
// custom 1,2 and 3
"", 0
// BGMP_LOSE
// muslim
"Arab Lose 1", 0,
"", 0
// christian
"Euro Lose 1", 0,
"", 0
// Viking
"Viking Lose 1", 0,
"", 0
// XL
"Euro Lose 1", 0,
"", 0
// NEW
"Viking Lose 1", 0,
"", 0
// custom 1
"", 0
EDIT: There were to meny "", 0 . If you look at the descipsion, each list ends with it and the max is 6 (3 original, 3 custom. Take a look at this:
// BGMP_LOSE
// muslim
"Arab Lose 1", 0,
"", 0 Number 1
// christian
"Euro Lose 1", 0,
"", 0 Number 2
// Viking
"Viking Lose 1", 0,
"", 0 Number 3
// XL
"Euro Lose 1", 0,
"", 0 Number 4
// NEW
"Viking Lose 1", 0,
"", 0 Number 5
// custom 1
"", 0 Number 6
Any more than 6 means problems.
King Azzole
05-21-2004, 22:41
Huzzah YOu did it Man your a genius Thanks for helping a peon like me :)
BTW im using tracks from Conan the Barbarian and the movie Gladiator for the sound ;)
King Azzole
05-21-2004, 22:52
ok the only problem I found so far is that your XL TENSION still never plays before the battle. I think there is something more you need to do for tensions to play?
VikingHorde
05-22-2004, 01:00
Quote[/b] (King Azzole @ May 21 2004,23:52)]ok the only problem I found so far is that your XL TENSION still never plays before the battle. I think there is something more you need to do for tensions to play?
Try to add a extra XL tension line, should increse the chance to get the music, maybe remove some euro's (make //)
// XL
"XL TENSION", 0,
"XL TENSION", 0,
//"Euro Tension 1", 0,
//"Euro Tension 2", 0,
//"Euro Tension 3", 0,
"", 0
I'll try it out my self..
PseRamesses
05-22-2004, 12:08
Quote[/b] (King Azzole @ May 21 2004,16:41)]Huzzah YOu did it Man your a genius Thanks for helping a peon like me :)
I told you VH was good as this. Glad everything worked out for you
King Azzole
05-23-2004, 01:49
Hmm still no tension sound. Has it ever worked for you?
VikingHorde
05-23-2004, 17:22
Quote[/b] (King Azzole @ May 23 2004,02:49)]Hmm still no tension sound. Has it ever worked for you?
I can't test it right now, but will later (having computer problems)
The Blind King of Bohemia
05-23-2004, 17:30
Tension sounds are often difficult to get working. Sometimes they work, sometimes they don't. I'm not sure why this is.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.