Ludeon Forums

RimWorld => Mods => Help => Topic started by: apljee on January 27, 2020, 11:45:35 AM

Title: Apparel textures not being registered entirely?
Post by: apljee on January 27, 2020, 11:45:35 AM
Hello. I've recently been working on a mod that adds some new content to the game. One of these new items is an apparel item called the loincloth. The texture path is Things/Pawn/Humanlike/Apparel/BR_Loincloth/BR_Loincloth and the original texture shows up in game (ie. when it's on the ground or something) but it is not properly displaying on pawns, as I get the following error:

(https://i.imgur.com/PoHoLSZ.png)

For reference, here is a picture of the folder with the textures in it:

(https://i.imgur.com/fS35ZLW.png)

And here is a picture of my code, where the textures are referenced.

(https://i.imgur.com/3A9429p.png)

Any help on this matter would be appreciated, I'm not sure what I've done wrong and short of redoing the file I don't exactly know what I could do that might possibly fix it. Thanks
Title: Re: Apparel textures not being registered entirely?
Post by: LWM on January 27, 2020, 06:38:59 PM
Your code all says Loincloth, but your files are BR_Loincloth?
Title: Re: Apparel textures not being registered entirely?
Post by: apljee on January 27, 2020, 09:18:03 PM
It's finally clicked with me, I had changed the file name from loincloth to br_loincloth and forgot to update the <wornGraphic> destination, instead I only updated the <texPath> which is why the apparel would display on the floor but not properly on pawns.

Solved!