RimWorld

RimWorld

Example Better Trees Mod
 This topic has been pinned, so it's probably important
Enrico  [developer] 29 Aug @ 6:09am
Texture filename and fallback guide
The only graphic type that's mandatory is the Mature type! Anything else is optional:

GraphicType
Fallback Chain If Missing
Mature
-> Entire tree texture invalid
Leafless
-> Mature
Immature
-> LeaflessImmature -> Mature
LeaflessImmature
-> Immature -> Mature
Polluted
-> Leafless -> Mature
MatureSnowOverlay
-> No Overlay
ImmatureSnowOverlay
-> No Overlay
LeaflessSnowOverlay
-> No Overlay

Any given texture should be pathed as followed:
[Mod Root Folder]\Textures\BetterTrees\[TextureName]\[GraphicType]\[TextureName]_[GraphicType][RandomIndex].png

[RandomIndex] = Letter starting from A (all the way to Z), for each alternate texture that can be randomly selected by the game.

Example path:
MyTreeMod\Textures\BetterTrees\MyOakTexture\Mature\MyOakTexture_MatureA.png
Last edited by Enrico; 30 Aug @ 4:23am