Jump to content

[mod] Chaeren's Apparel v3 (1.3/1.4) - Sized Apparel Textures / New Apparel


Chaeren

Recommended Posts

  • 3 weeks later...
Posted
Spoiler

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></tags><defaultOutfitTags><li>Worker</li></defaultOutfitTags><wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants</wornGraphicPath></apparel>

Root node: <ThingDef ParentName="ApparelMakeableBase"><defName>VAE_Apparel_Shorts</defName><label>shorts</label><description>A pair of shorts, perfect for hot summer days.</description><graphicData><texPath>Things/Apparel/Pants/Shorts</texPath><graphicClass>Graphic_Single</graphicClass></graphicData><techLevel>Industrial</techLevel><tradeability>Sellable</tradeability><generateCommonality>0.25</generateCommonality><costStuffCount>40</costStuffCount><stuffCategories><li>Fabric</li><li>Leathery</li></stuffCategories><statBases><MaxHitPoints>100</MaxHitPoints><WorkToMake>1200</WorkToMake><Mass>0.4</Mass><StuffEffectMultiplierArmor>0.1</StuffEffectMultiplierArmor><StuffEffectMultiplierInsulation_Cold>0.1</StuffEffectMultiplierInsulation_Cold><StuffEffectMultiplierInsulation_Heat>0.25</StuffEffectMultiplierInsulation_Heat><EquipDelay>1.2</EquipDelay></statBases><equippedStatOffsets><MoveSpeed>0.12</MoveSpeed></equippedStatOffsets><thingCategories Inherit="False"><li>Apparel</li></thingCategories><apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li></layers><tags><li>IndustrialBasic</li></tags><defaultOutfitTags><li>Worker</li></defaultOutfitTags><wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants</wornGraphicPath></apparel><recipeMaker><researchPrerequisite>VAE_CasualWear</researchPrerequisite><recipeUsers Inherit="False"><li>ElectricTailoringBench</li><li>HandTailoringBench</li><li>ZARS_TailoringSpot</li><li>VBY_PrimitiveTailoringTable</li><li>VBY_PrimitiveTailoringTable</li></recipeUsers></recipeMaker><colorGenerator Class="ColorGenerator_StandardApparel" /><modExtensions><li Class="VisiblePants.ThingDefExtension" /></modExtensions></ThingDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.XmlInheritance:CheckForDuplicateNodes (System.Xml.XmlNode,System.Xml.XmlNode)
Verse.XmlInheritance:CheckForDuplicateNodes (System.Xml.XmlNode,System.Xml.XmlNode)
Verse.XmlInheritance:ResolveXmlNodeFor (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodes ()
Verse.XmlInheritance:Resolve ()
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

 

 

 

XML RimWorld.ApparelProperties defines the same field twice: wornGraphicPath.

Field contents: Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants.

Whole XML:

<apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li></layers><tags><li>IndustrialBasic</li></tags><defaultOutfitTags><li>Worker</li></defaultOutfitTags><wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants</wornGraphicPath></apparel>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.DirectXmlToObject:ObjectFromXml<RimWorld.ApparelProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<RimWorld.ApparelProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) Verse.DirectXmlLoader:Verse.DirectXmlLoader.DefFromNode_Patch4 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
 

 

I'm getting the above errors in my debug... there's four similar errors. 

 

I can see "what" the problem is but not the why. It's saying that the wornGraphicPath on:

 

VAE_Apparel_Shorts

VAE_Apparel_Skirt

VAE_Apparel_Trousers

VAE_Apparel_Jeans

 

All from the patch, are 'doubled up'? Instead of patching? What is causing this? VAE is before this mod and I don't know what else to do.

  • 2 weeks later...
Posted
On 11/10/2023 at 11:05 PM, Monkeybonk said:
  Reveal hidden contents

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></tags><defaultOutfitTags><li>Worker</li></defaultOutfitTags><wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants</wornGraphicPath></apparel>

Root node: <ThingDef ParentName="ApparelMakeableBase"><defName>VAE_Apparel_Shorts</defName><label>shorts</label><description>A pair of shorts, perfect for hot summer days.</description><graphicData><texPath>Things/Apparel/Pants/Shorts</texPath><graphicClass>Graphic_Single</graphicClass></graphicData><techLevel>Industrial</techLevel><tradeability>Sellable</tradeability><generateCommonality>0.25</generateCommonality><costStuffCount>40</costStuffCount><stuffCategories><li>Fabric</li><li>Leathery</li></stuffCategories><statBases><MaxHitPoints>100</MaxHitPoints><WorkToMake>1200</WorkToMake><Mass>0.4</Mass><StuffEffectMultiplierArmor>0.1</StuffEffectMultiplierArmor><StuffEffectMultiplierInsulation_Cold>0.1</StuffEffectMultiplierInsulation_Cold><StuffEffectMultiplierInsulation_Heat>0.25</StuffEffectMultiplierInsulation_Heat><EquipDelay>1.2</EquipDelay></statBases><equippedStatOffsets><MoveSpeed>0.12</MoveSpeed></equippedStatOffsets><thingCategories Inherit="False"><li>Apparel</li></thingCategories><apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li></layers><tags><li>IndustrialBasic</li></tags><defaultOutfitTags><li>Worker</li></defaultOutfitTags><wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants</wornGraphicPath></apparel><recipeMaker><researchPrerequisite>VAE_CasualWear</researchPrerequisite><recipeUsers Inherit="False"><li>ElectricTailoringBench</li><li>HandTailoringBench</li><li>ZARS_TailoringSpot</li><li>VBY_PrimitiveTailoringTable</li><li>VBY_PrimitiveTailoringTable</li></recipeUsers></recipeMaker><colorGenerator Class="ColorGenerator_StandardApparel" /><modExtensions><li Class="VisiblePants.ThingDefExtension" /></modExtensions></ThingDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.XmlInheritance:CheckForDuplicateNodes (System.Xml.XmlNode,System.Xml.XmlNode)
Verse.XmlInheritance:CheckForDuplicateNodes (System.Xml.XmlNode,System.Xml.XmlNode)
Verse.XmlInheritance:ResolveXmlNodeFor (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively (Verse.XmlInheritance/XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodes ()
Verse.XmlInheritance:Resolve ()
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

 

 

 

XML RimWorld.ApparelProperties defines the same field twice: wornGraphicPath.

Field contents: Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants.

Whole XML:

<apparel><bodyPartGroups><li>Legs</li></bodyPartGroups><layers><li>OnSkin</li></layers><tags><li>IndustrialBasic</li></tags><defaultOutfitTags><li>Worker</li></defaultOutfitTags><wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath><wornGraphicPath>Things/Pawn/Humanlike/Apparel/ChHotPants/ChHotPants</wornGraphicPath></apparel>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.DirectXmlToObject:ObjectFromXml<RimWorld.ApparelProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<RimWorld.ApparelProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) Verse.DirectXmlLoader:Verse.DirectXmlLoader.DefFromNode_Patch4 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) Verse.LoadedModManager:Verse.LoadedModManager.ParseAndProcessXML_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
 

 

I'm getting the above errors in my debug... there's four similar errors. 

 

I can see "what" the problem is but not the why. It's saying that the wornGraphicPath on:

 

VAE_Apparel_Shorts

VAE_Apparel_Skirt

VAE_Apparel_Trousers

VAE_Apparel_Jeans

 

All from the patch, are 'doubled up'? Instead of patching? What is causing this? VAE is before this mod and I don't know what else to do.

Probably just another mod trying to patch those graphicpaths. Try just going into the Patches folder in my mod and deleting the VAE patch.

  • 2 months later...
Posted

@ChaerenI want to draw ChStringBikiniTop bras for the other five breast sizes for a thin body. Possibly for other clothes too. Is there support in the code for this? Or are changes needed so that, for example, when renaming a new picture to ChStringBikiniTop_Thin_1_south, the texture is displayed in the game for the desired breast size?

Posted
3 hours ago, Alpenglow said:

@ChaerenI want to draw ChStringBikiniTop bras for the other five breast sizes for a thin body. Possibly for other clothes too. Is there support in the code for this? Or are changes needed so that, for example, when renaming a new picture to ChStringBikiniTop_Thin_1_south, the texture is displayed in the game for the desired breast size?

As long as a file exists with the right name, SizedApparel will use that texture where applicable. No code or anything needs to be changed.

Posted
2 hours ago, Chaeren said:

As long as a file exists with the right name, SizedApparel will use that texture where applicable. No code or anything needs to be changed.

Nice, it really works. I’ll try to expand your texture pack with bras for different bodies, as far as I can...

  • 1 year later...
Posted

Getting layer missing errors with 1.6 any advice if that can be fixed?

The tribal and the skirt is worn around their neck because of this error. Other clothes work just fine.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...