Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.
The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.
How are you trying to set the xpath? I don't do much modding for the game, but normally a set xpath would need to use the paths within the file you're changing. There isn't a contents/content section in sounds.xml.Can't change it at all, it keeps telling me something like:
WRN XML patch for "sounds.xml" from [my mod] did not apply <set xpath="/root/contents/content[@name='TraderRekt']/AudioClip/@ClipName
No idea, i don't even know much about modding. What sections are there if there's no contents/content section?How are you trying to set the xpath? I don't do much modding for the game, but normally a set xpath would need to use the paths within the file you're changing. There isn't a contents/content section in sounds.xml.
Here is an example for changing the color of shale on the map:No idea, i don't even know much about modding. What sections are there if there's no contents/content section?
<set xpath="/blocks/block[@name='terrOreOilDeposit']/property[@name='Map.Color']/@value">255,0,0</set>
<block name="terrOreOilDeposit">
<property name="CanMobsSpawnOn" value="true"/>
<property name="DescriptionKey" value="terrainBlockGroupDesc"/>
<property name="DisplayType" value="blockTerrain"/>
<property name="Map.Color" value="200,150,250"/>