Karsontr
Regular

I'm making mod for Warband. I started working on adding music to my mod. I also changed the music in the current game.
("arena_1", "arena_1.ogg", mtf_sit_arena, 0),
I changed the name of the file I put this code in the music folder. (the name of the file is action_1. that's why I changed the code to Action_1) I changed the other existing codes in the same way. Since I have added a new kingdom and a new culture to the game, I want to add special music to them. There are also music I want to add in the music folder.
("travel_swadian" "travel_swadian.ogg ", mtf_culture_1...)
when I write the following code under these codes
("travel_empire" "travel_empire.ogg ", mtf_culture_7...),
I have a mistake that there is no such culture. After doing some research, header_music.py i saw that they are up to mtf_culture_6 in the file. I copied one of them and added mtf_culture_7. But now I still get an error and I couldn't solve it.
exporting of tracks..
Tracking back (the most recent call last):
The file"process_music.py ", line 23, in <module> save_tracks()
The file"process_music.py , line 18, in save_tracks
File.write ("%s %d %d\n"% (part [1], part [2], (part [2]| part [3])))
IndexError: the tupple index is out of range
("arena_1", "arena_1.ogg", mtf_sit_arena, 0),
I changed the name of the file I put this code in the music folder. (the name of the file is action_1. that's why I changed the code to Action_1) I changed the other existing codes in the same way. Since I have added a new kingdom and a new culture to the game, I want to add special music to them. There are also music I want to add in the music folder.
("travel_swadian" "travel_swadian.ogg ", mtf_culture_1...)
when I write the following code under these codes
("travel_empire" "travel_empire.ogg ", mtf_culture_7...),
I have a mistake that there is no such culture. After doing some research, header_music.py i saw that they are up to mtf_culture_6 in the file. I copied one of them and added mtf_culture_7. But now I still get an error and I couldn't solve it.
exporting of tracks..
Tracking back (the most recent call last):
The file"process_music.py ", line 23, in <module> save_tracks()
The file"process_music.py , line 18, in save_tracks
File.write ("%s %d %d\n"% (part [1], part [2], (part [2]| part [3])))
IndexError: the tupple index is out of range
Last edited: