Been messing around a bit with the Slipstream tags, but I just can't get this to work.
The idea is to add another <track> to some sectors, and for compatibility reasons, I'd rather use those advanced tags.
Been using it with the XML sandbox in slipstream but I don't see any changes, so naturally, there must be something wrong with the code itself :
Code: Select all
<mod:findName type="sectorDescription" name="CIVILLIAN_SECTOR">
<mod:findLike type="trackList">
<mod-append:track>track_name</mod-append:track>
</mod:findlike>
</mod:findName>
This bit of code will go in the sector_data.xml of course.
I've already got the sounds.xml.append which is probably fine :
Code: Select all
<music>
<track>
<name>track_name</name>
<explore>Music_EXPLORE.ogg</explore>
<combat>Music_BATTLE.ogg</combat>
</track>
</music>
Though I'd rather have this in advanced tags as well, problem is I don't know how to add <name>, <explore> and <combat> in as one part...