SOLVED: Can't patch terrain texture...

Started by theWul, April 05, 2018, 03:54:13 AM

Previous topic - Next topic

theWul

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

theWul

Stupid me forgot to copy the /Patches directory in vs post build event =)