Ludeon Forums

RimWorld => Mods => Topic started by: Rafe009 on April 03, 2020, 09:23:38 PM

Title: Changing vanilla textures of plants
Post by: Rafe009 on April 03, 2020, 09:23:38 PM
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?
Title: Re: Changing vanilla textures of plants
Post by: Shinzy on April 05, 2020, 04:08:31 PM
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