Just by the way, I tried doing the thing to add music to the game as the title music, just as was said up there, but mine didn't work. Is this because the game doesn't accept mp3 files (as that's what I'm using) or should I just go back over it and recheck the code?
You might not have remembered to disable the sounds for the same events. Im going to try this using MP3s as well and see what happens. If I get no sound then you would probably conclude it was due to the MP3s. Though Im not sure because I see MP3 format used in reference:
Yay I figured it out. I had a small typo that kept it from working, and after I fixed the typo I did not run Build_module but corrected the typo and posted what I had on here. So what I ran must not have match what I posted. Boy was I confused. But at least I'm getting the hang of what order to do things.
My problem is that the first time I tried this, it worked (last month) when i was doing some tests on this but now when im trying, it's not working. this is the code
You might have the run Build_module every time you restart your computer. I'm completely new to this but I run the build_module directed at a native file in an alternate installation of MnB ,just to make sure no mods interfere with what I'm doing.
I'm not sure what you guys are talking about with the "#" sign, but I got my title music working fine just like this by replacing the original title music line in module_music with this and changing of course the "?" marks with your file name and file type. BTW I use a mp3 for my title music just in case you were wondering.
Also a bit off-topic, but this gave me some problems since I use 17 factions and it took me a bit to figure out how to add new mtf_cultures. This is the solution just in case someone was wondering...
search for this line in module scripts
(eq, ":faction_no", "fac_kingdom_1"),
Here is where you'll add this line for how many cultures you have almost like this line while replacing "?" with a number for each faction
next in HEADER_MUSIC, I know it says don't edit it, but you have no choice. First you'll need to insert each faction like the other lines and replace the first "?" with that mtf_culture number. Second, you'll need to add a hex number where the "?" marks are, and I'm not entirely sure on there use, but I would pick numbers not defined already in there.
mtf_culture_?= 0x000000??
and that's it define cultures in the module_music file just like any other one.
ok well im not sure about the mod System but i did edit mine but that shouldn't be important to get the music to play when ever see i did a track for a a battle in the music.txt i changed fight_1 to Fight_5 exp "fight_5.ogg 5120 5120"
and i got rid of all unnecessary tracks (ones i didn't copy over) that left me with 45 in the music.txt folder and all my music plays with no stock music also you have to make the first name and last name the song name exp:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.