Ludeon Forums

RimWorld => Mods => Help => Topic started by: theWul on April 05, 2018, 03:54:13 AM

Title: SOLVED: Can't patch terrain texture...
Post by: theWul on April 05, 2018, 03:54:13 AM
Can anybody please help me why

<Patch>
     <Operation Class="PatchOperationReplace">
          <xpath>*/TerrainDef[defName="Mud"]/texturePath</xpath>
          <value>
               <texturePath>contrast_Mud</texturePath>
          </value>
     </Operation>
</Patch>

wont change the texture?
If I overwrite the complete TerrainDef it works...
thanks ahead
Title: Re: SOLVED: Can't patch terrain texture...
Post by: theWul on April 08, 2018, 04:12:20 AM
Stupid me forgot to copy the /Patches directory in vs post build event =)