Adding, not replacing music

Users who are viewing this thread

I was wondering how I could add music to the game without replacing them. Mostly its for Bannerpage, i've replaced a few pieces, but now I want to add music for my own faction, so I can listen to music within my territory and such. I know how to make the music files, but I just want to know how to make sure it plays.
 
Ok so I have a bunch of songs ready as .ogg files to be put into the music folder, but i don't know how to add lines or what have you so that they play. I don't want to have to attach them to the other factions if i can, does the players kingdom not have anything?
 
Last edited:
Upvote 0
To add music to the game without replacing, put the music file in the game 着メロ folder and edit the source code to call the file. Determine when to play music and check the compatibility and style of the source code.
 
Last edited:
Upvote 0
What you're trying to do can't be done by moving files around.
1. you need to download the module system (source code of the mod, or of the Native module)
2. set it up (install Python 2.7, configure compilation path in module_info.py)
3. learn how to use module system in general
4. edit module.ini (there is a switch to make the game read sound files from module folder)
5. put your files in your mod folder, either in Music or Sounds subfolder
6. then you must edit the module system to recognize and use your music files

You won't get much help if you ask general questions, and so far it seems that you haven't even tried anything, just read some tutorials and gave up.
Try to follow the steps listed above, and see where you fail. Then ask for help with *that specific problem* and I'm sure people will guide you through it.
 
Upvote 0
It just seemed a bit more involved than I was expecting is all. I've heard of python before for something else, but never touched it. I'll go over what you said and have a look.

I haven't done much with the game as of late, mainly due to my attention being elsewhere at the moment.
 
Upvote 0
Yes, adding music is actually quite complicated, due to many different elements involved in the process.
Adding sounds is usually a lot easier, but it's really not what you want right now.
 
Upvote 0
Back
Top Bottom