I've been spending quite a bit of time this week on modding, learning the ins and outs of adding a new race and faction. Everything has been going great except I have run into one little snag.
Try as I might, I cannot make heads or tails of the layeredmusic XML. It looked pretty straight forward when I first opened it. To add new music seemed like it would be a simple matter of creating a new layeredmusic group and then calling to it's ID in the faction configuration.
That didn't work, so I did some snooping around in the raceconfig file and saw that the factions don't actually call to the layeredgroups. They call to something with a similar name, but I cannot find what they are calling to, anywhere.
For instance, Tarth calls to a music identifier named "Forest_Refuge". If you look through the layeredmusic file, you can find the forest refuge group, but nowhere is there an identifier that says "Forest_Refuge" that the raceconfig is calling to.
Is this functionality hard coded? It would be simple enough for me to just use the existing music groups, or even replace the mp3s but I would like to be able to add new groups instead, as it would be more elegant and easier to expand upon.