边缘世界 RimWorld

边缘世界 RimWorld

Humanoid Alien Races
此主题已被锁定
EvilChaosKnight 2022 年 10 月 31 日 下午 3: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?
最后由 EvilChaosKnight 编辑于; 2022 年 10 月 31 日 下午 3:20
< >
正在显示第 1 - 3 条,共 3 条留言
erdelf  [开发者] 2022 年 10 月 31 日 下午 5:40 
proper logs or nobody can help
erdelf  [开发者] 2022 年 11 月 1 日 下午 4: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 条,共 3 条留言
每页显示数: 1530 50