RimWorld

RimWorld

Humanoid Alien Races
Dette emnet er blitt låst
EvilChaosKnight 31. okt. 2022 kl. 15.14
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?
Sist redigert av EvilChaosKnight; 31. okt. 2022 kl. 15.20
< >
Viser 13 av 3 kommentarer
erdelf  [utvikler] 31. okt. 2022 kl. 17.40 
proper logs or nobody can help
erdelf  [utvikler] 1. nov. 2022 kl. 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.
< >
Viser 13 av 3 kommentarer
Per side: 1530 50