RimWorld
Humanoid Alien Races
Dit topic is gesloten
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?
Laatst bewerkt door EvilChaosKnight; 31 okt 2022 om 15:20
< >
1-3 van 3 reacties weergegeven
erdelf  [ontwikkelaar] 31 okt 2022 om 17:40 
proper logs or nobody can help
erdelf  [ontwikkelaar] 1 nov 2022 om 16:41 
ah I see, your gene path is not conforming to vanilla pathing.
On the dev branch there is a fix for that in testing.
< >
1-3 van 3 reacties weergegeven
Per pagina: 1530 50