Changing vanilla textures of plants

Started by Rafe009, April 03, 2020, 09:23:38 PM

Previous topic - Next topic

Rafe009

For the past few versions I have been swapping out textures of existing guns for other artwork. It is as simple as creating a mod folder, copying the Core Def for industrial ranged weapons xml file, supplying the artwork .png and pointing to that .png in the def

<graphicData>
      <texPath>Things/textureswap</texPath>


I have been doing this for multiple versions of rimworld and have never had issues with this approach.

The problem is I tried to do the same thing with one of the cultivated plants - devil strand - and i'm getting a purple square error entity. The same process for overriding the texture of a gun does not work for a cultivated plant. Does anybody have  a workaround for pallet swapping vanilla plants or knows exactly what is going on?

Shinzy

The plants use random textures so I'm fairly certain the game is then looking for texture files named "DevilstrandA.png" "DevilstrandB.png" etc.
Try adding the alphabet at the end of your custom textures