I am dipping my toe into the world of modding by trying to create a little tattoo mod based on the airbenders from the Avatar tv series.
Almost everything is working nicely, only issue I have is south facing textures showing up on east facing pawns. I have managed to remove textures from north facing pawns in the def.
When trying to correct this I made an east facing texture, however that failed to load in game. Pretty sure my naming conventions are right and this is a problem with mutlitexture pathing within in def.
Ideally the mod would have south and east/west facing textures. Any help in solving this would be great! Have attached a picture to make up for explaination
Could you show the xml and the texture path/filenames of the textures?
It's incredibly hard to say what could be wrong without some extra info
thank you ;D
Apologies, first time modder fail there.
XML:
<Defs>
<TattooDef>
<defName>Avatar_Arrow</defName>
<label>avatar</label>
<texPath>Things/Pawn/Humanlike/Tattoos/Avatar_Arrow</texPath>
<tattooType>Face</tattooType>
<category>Tribal</category>
<visibleNorth>false</visibleNorth>
<styleTags>
<li>TattooFaceTribal</li>
</styleTags>
</TattooDef>
</Defs>
Texture path:
Textures/Things/Pawn/Humanlike/Tattoos/Avatar_Arrow/Avatar_Arrow_south & Avatar_Arrow_east
Above version gives shows no graphics at all. I have a version that runs which just has the one graphic. The tattoo shows up by causes the east/west facing bug. Texture path had no _south or _east in the last folder, just had one jpg named Avatar_Arrow
texpath for that is Things/Pawn/Humanlike/Tattoos/Avatar_Arrow/Avatar_Arrow
a ha! I believe your problem lies with the texpath:
with <texPath>Things/Pawn/Humanlike/Tattoos/Avatar_Arrow</texPath>
the path should be
Textures/Things/Pawn/Humanlike/Tattoos/Avatar_Arrow_south & Avatar_Arrow_east
not
Textures/Things/Pawn/Humanlike/Tattoos/Avatar_Arrow/Avatar_Arrow_south & Avatar_Arrow_east
Completely solved! Thanks you legend!