RimWorld

RimWorld

Humanoid Alien Races
This topic has been locked
Greiger 29 Oct, 2020 @ 11:12pm
Difficulty with setting custom skull
Howdy, I've been trying to add a skull for a race and it seems to fail to locate the textures. With this errorblock:

--------------------------------------------------------------------------------------------------
Failed to find any textures at Things/Aspero/Skull/ while constructing Multi(initPath=Things/Aspero/Skull/, color=RGBA(1.000, 1.000, 1.000, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))
Verse.Log:Error(String, Boolean)
Verse.Graphic_Multi:Init(GraphicRequest)
Verse.GraphicDatabase:GetInner(GraphicRequest)
Verse.GraphicDatabase:Get(String, Shader, Vector2, Color)
AlienRace.HarmonyPatches:ResolveAllGraphicsPrefix(PawnGraphicSet)
Verse.PawnGraphicSet:Verse.PawnGraphicSet.ResolveAllGraphics_Patch2(PawnGraphicSet)
Verse.PawnRenderer:Verse.PawnRenderer.RenderPawnAt_Patch1(PawnRenderer, Vector3, RotDrawMode, Boolean, Boolean)
Verse.PawnRenderer:RenderPawnAt(Vector3)
Verse.Pawn_DrawTracker:DrawAt(Vector3)
Verse.Pawn:DrawAt(Vector3, Boolean)
Verse.Thing:Draw()
Verse.ThingWithComps:Draw()
Verse.DynamicDrawManager:DrawDynamicThings()
Verse.Map:Verse.Map.MapUpdate_Patch1(Map)
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
------------------------------------------------------------------------------------------------------

The xml defines the graphics paths as:
<graphicPaths> <li> <body>Things/Aspero/Body/</body> <head>Things/Aspero/Head/</head> <skull>Things/Aspero/Skull/</skull> </li> </graphicPaths>

The github wiki does not say which files are searched for the skull so I assumed it's the same as the instruction for the head, so I've followed this format:

Things/Aspero/Skull/ + gender + crownType + _ + south/east/north/west

so as an example...

Things/Aspero/Skull/femaleAspero_Average_east

i've also tried a variant just in case...

Things/Aspero/Skull/female_Aspero_Average_east

Aspero_Average is the only crowntype, useGenderedHeads is True. (EDIT: A few other variants were tried based on what I saw in other mods, but it eventually devolved into useless random guessing.)

All other textures are working,

Is that correct? The filenames for the textures tends to be the bit I mess up with missing texture errors like this, so I would like to make sure I have the texture names correct before I start digging deeper.

Tried to check the files of other mods to try not to bother you, but it seems most either comment out their skulls(indicating to me that what they use does not work) or don't define them.

Please let me know if I forgot to post something you need, your mod is practically a requirement these days.
Last edited by Greiger; 29 Oct, 2020 @ 11:22pm
< >
Showing 1-1 of 1 comments
erdelf  [developer] 15 Nov, 2020 @ 2:43am 
apologies for the late answer, skulls actually are the same for all crowntypes in vanilla, so I stayed that way.
< >
Showing 1-1 of 1 comments
Per page: 1530 50