Ludeon Forums

RimWorld => Mods => Help => Topic started by: BukTaki on October 25, 2018, 04:03:57 PM

Title: Texture colors
Post by: BukTaki on October 25, 2018, 04:03:57 PM
Here is a problem i cant figure out how to stop a textures colors from being changed by the build materials is a way to prevent that in the Defs. i have a shield texture that gets a brown tint added because its made out of wood but it tints the emblem on it as well.
Title: Re: Texture colors
Post by: BukTaki on October 25, 2018, 05:30:47 PM
Figured it out i was using


<costStuffCount>60</costStuffCount>
<stuffCategories>
<li>Woody</li>
</stuffCategories>


In the Def Second i changed it to


<costList>
<Steel>5</Steel>
        <WoodLog>20</WoodLog>
</costList>


The tinting stopped
Title: Re: Texture colors
Post by: AileTheAlien on October 25, 2018, 11:22:07 PM
It's unfortunate that there's no way to override the game doing auto-coloring based on ingredients. (At least, I can't find any relevant tags in the base game's XML.) It means that if you want to allow different materials for building items, you need to have different recipes for each.