I've made a music mod but it doesn't seem to be working.
In the music file I've got the .ogg stuff for the music and a songs.txt file but the default music isn't replaced.
The code is like this:
Code:
song = {
name = "mercury.ogg"
}
song = {
name = "venus.ogg"
}
song = {
name = "mars.ogg"
}
song = {
name = "jupiter.ogg"
}
song = {
name = "uranus.ogg"
}
song = {
name = "neptune.ogg"
}
You need both songs.txt and songs.asset
They both need to be in a folder named music in the folder of your music mod. That is also the folder where you put music files.
The music mod folder and your *.mod file (*.mod file needs to have same name as music mod folder; example: music mod folder named "goodmusic", *.mod file then must be named "goodmusic.mod") have to be both in the folder C:\Users\<username>\Documents\Paradox Interactive\Stellaris\mod
Your *.mod file needs to have this content:
Code:
name = "here put your mod name"
path = "mod/modfoldername"
replace_path = "music"
tags={
"Sound"
}
supported_version="1.0.*"
Of course supported version number depends on current game version.
If you set up your mod like this, the original music will be REPLACED with the music files that you set up in songs.txt and songs.asset
You can have BOTH your music AND the original music in a mod.
To have this, you need to copy paste the original songs.txt and songs.asset from the core game music folder (in your steam folder) into your folder C:\Users\<username>\Documents\Paradox Interactive\Stellaris\mod\goodmusic\music (example of modpath if mod folder has name goodmusic) and THEN add your songs to both files (as well as your music files into the same folder). You do NOT have to add the original music files to that folder, the game will read those files from the original core game music folder.
Note that a song is not played if it is not defined in BOTH songs.txt and songs.asset