RimWorld
[Vee]Apparel Retexture
PJRamaglia 12 września 2021 o 10:58
"XML error: Duplicate" for "XML node name wornGraphicPath"
I believe I discovered two errors related to this mod. By all means please let me know if I am wrong though.

Hugslib log: https://gist.github.com/242b43e2f9a1afe760b05f662e2a3fad



The first duplicate error is at lines 1762 - 1766 of my log.
XML error: Duplicate XML node name wornGraphicPath in this XML block: <apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li></layers><tags><li>IndustrialBasic</li><li>MedievalBasic</li><li>UltimaBasic</li></tags><defaultOutfitTags><li>Worker</li><li>Soldier</li></defaultOutfitTags><canBeDesiredForIdeo>false</canBeDesiredForIdeo><wornGraphicPath>Accessorello/Pants/Pants</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/Pants/Pants</wornGraphicPath></apparel> Root node: <ThingDef ParentName="ApparelMakeableBase"><defName>Apparel_Pants</defName><label>pants</label><description>A simple set of pants. </description><recipeMaker><researchPrerequisite>ComplexClothing</researchPrerequisite></recipeMaker><graphicData><texPath>Things/Pawn/Humanlike/Apparel/Pants/Pants</texPath><graphicClass>Graphic_Single</graphicClass></graphicData><costStuffCount>40</costStuffCount><stuffCategories><li>Fabric</li><li>Leathery</li></stuffCategories><thingCategories><li>Apparel</li></thingCategories><statBases><MaxHitPoints>100</MaxHitPoints><WorkToMake>1600</WorkToMake><Mass>0.5</Mass><StuffEffectMultiplierArmor>0.2</StuffEffectMultiplierArmor><StuffEffectMultiplierInsulation_Cold>0.20</StuffEffectMultiplierInsulation_Cold><StuffEffectMultiplierInsulation_Heat>0.08</StuffEffectMultiplierInsulation_Heat><EquipDelay>2</EquipDelay></statBases><apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li></layers><tags><li>IndustrialBasic</li><li>MedievalBasic</li><li>UltimaBasic</li></tags><defaultOutfitTags><li>Worker</li><li>Soldier</li></defaultOutfitTags><canBeDesiredForIdeo>false</canBeDesiredForIdeo><wornGraphicPath>Accessorello/Pants/Pants</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/Pants/Pants</wornGraphicPath></apparel><colorGenerator Class="ColorGenerator_StandardApparel" /></ThingDef> (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
RimPy file search for "<wornGraphicPath>Things/Pawn/Humanlike/Apparel/Pants/Pants</wornGraphicPath>"[media.discordapp.net]



The second duplicate error is at lines 1769 - 1773 of my log.
XML error: Duplicate XML node name wornGraphicPath in this XML block: <apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li><li>Middle</li></layers><tags><li>IndustrialMilitaryBasic</li></tags><defaultOutfitTags><li>Soldier</li></defaultOutfitTags><wornGraphicPath>Accessorello/Flakpants/Pants</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/FlakPants/FlakPants</wornGraphicPath></apparel> Root node: <ThingDef ParentName="ArmorMachineableBase"><defName>Apparel_FlakPants</defName><label>flak pants</label><description>A randomly colored pair of pants with armor plates sewn in. While it's not as good as solid armor, it offers effective protection against all manner of attacks while remaining quite comfortable. </description><recipeMaker><researchPrerequisite>FlakArmor</researchPrerequisite><unfinishedThingDef>UnfinishedTechArmor</unfinishedThingDef><skillRequirements><Crafting>4</Crafting></skillRequirements></recipeMaker><graphicData><texPath>Things/Pawn/Humanlike/Apparel/FlakPants/FlakPants</texPath><graphicClass>Graphic_Single</graphicClass><drawSize>0.90</drawSize></graphicData><statBases><WorkToMake>9000</WorkToMake><MaxHitPoints>200</MaxHitPoints><Mass>4</Mass><Flammability>0.6</Flammability><ArmorRating_Sharp>0.40</ArmorRating_Sharp><ArmorRating_Blunt>0.08</ArmorRating_Blunt><ArmorRating_Heat>0.10</ArmorRating_Heat><Insulation_Cold>3.5</Insulation_Cold><Insulation_Heat>1</Insulation_Heat><EquipDelay>5</EquipDelay></statBases><equippedStatOffsets><MoveSpeed>-0.12</MoveSpeed></equippedStatOffsets><thingCategories><li>ApparelArmor</li></thingCategories><costList><Cloth>30</Cloth><Steel>60</Steel><ComponentIndustrial>1</ComponentIndustrial></costList><apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li><li>Middle</li></layers><tags><li>IndustrialMilitaryBasic</li></tags><defaultOutfitTags><li>Soldier</li></defaultOutfitTags><wornGraphicPath>Accessorello/Flakpants/Pants</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/FlakPants/FlakPants</wornGraphicPath></apparel><colorGenerator Class="ColorGenerator_StandardApparel" /></ThingDef> (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
RimPy file search for "<wornGraphicPath>Things/Pawn/Humanlike/Apparel/FlakPants/FlakPants</wornGraphicPath>"[media.discordapp.net]



Please let me know if I did anything wrong with my searches and/or you need more information.
Ostatnio edytowany przez: PJRamaglia; 12 września 2021 o 11:06
< >
Wyświetlanie 1-3 z 3 komentarzy
PJRamaglia 12 września 2021 o 13:35 
Okay so after doing some more digging around I've discovered it's a duplicate error/conflict with the Apparello 2 mod. Please refer the below screenshot:

Duplicate <wornGraphicPath>[media.discordapp.net]
Ostatnio edytowany przez: PJRamaglia; 12 września 2021 o 13:37
PaZakwan 24 marca 2022 o 13:38 
Hi, this problem can be solved with replacement of the operations in the file Pants.xml in the patch folder with the next ones.

https://www.codepile.net/pile/Qqa3MZml

Thats operations gonna replace the textures of the pants with this mod textures, if them has already patches from others mods or gonna add them if this never be patched.
P.D:This also solve the problem with the mod [XND] Visible Pants.
PaZakwan 24 marca 2022 o 13:52 
Dont forget to load this mod after mods that changes textures of pants.
< >
Wyświetlanie 1-3 z 3 komentarzy
Na stronę: 1530 50