To add compatibility for your mod you just need to add this in your
.faction"music": {
"battle": "music_faction_battle"
"battle_retreat": "music_faction_battle",
"battle_advantage": "music_faction_battle",
"battle_losing": "music_faction_battle",
"battle_destroy": "music_faction_battle"
}
and you also need to add the list of songs for your faction in the config file
sounds.json.
{
"music": {
"music_faction_battle": [
{
"source": "sounds/music/",
"volume": 0.15,
"file": "song1.ogg"
}
]
}
}
The name of the list of songs can be different from the one above and need to be different from any other existing list.
You can also use song lists present in the game already.
Advanced tutorial and explanation