RimWorld

RimWorld

Humanoid Alien Races
This topic has been locked
Missing heads and ignored HeadTypeDef paths
Hey. Currently trying to update my Kilhn mod for 1.4. I decided to go with the approach of adding custom HeadTypeDefs but I ran into an... odd issue per say.

As an example, here's the list of headtypes used:
<alienPartGenerator Inherit="False">
<headTypes>
<li>Kilhn_Male_Average_Normal</li>
<li>Kilhn_Male_Average_Horned</li>
<li>Kilhn_Female_Average_Normal</li>
<li>Kilhn_Female_Average_Horned</li>
</headTypes>

And here's one of the HeadTypes

<HeadTypeDef ParentName="Kilhn_HeadtypeBase">
<defName>Kilhn_Male_Average_Normal</defName>
<graphicPath>Pawns/Kilhn/Head/Male_AverageNormal</graphicPath>
<gender>Male</gender>
</HeadTypeDef>

Graphics path points to where the textures are, and everything should be good, right? Not exactly. On going to the colonist screen, I run into my people having no heads and this error in the log:

Failed to find any textures at Things/Pawn/Humanlike/Heads/ while constructing Multi(initPath=Things/Pawn/Humanlike/Heads/, color=RGBA(0.024, 0.024, 0.102, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))

For some reason it points to the vanilla human head texture path, finds nothing there, and ignores the path from HeadTypeDef completely. Any idea what I may be missing or doing wrong?
Last edited by EvilChaosKnight; Oct 31, 2022 @ 3:20pm
< >
Showing 1-3 of 3 comments
erdelf  [developer] Oct 31, 2022 @ 5:40pm 
proper logs or nobody can help
erdelf  [developer] Nov 1, 2022 @ 4:41pm 
ah I see, your gene path is not conforming to vanilla pathing.
On the dev branch there is a fix for that in testing.
< >
Showing 1-3 of 3 comments
Per page: 1530 50