RimWorld

RimWorld

Vanilla Animals Overhaul Reloaded
eighmy_lupin 16 Dec, 2018 @ 5:27pm
Butcherbodypart error with the Bison from ACP when using this mod with Shear Those Corpese ACP
I'm getting the following error when using this mod along with Shear Those Corpses ACP.
I'm assuming its because this mod changes bison butching to give a horn and STC ACP gives wool wheh butching.

When running just this mod I get no error. When running just STC ACP I still get no error.

I'm not sure if this is somthing you can fix from your side or not but I thought I'd let you know


XML error: Duplicate XML node name butcherBodyPart in this XML block: <li><bodyGraphicData><texPath>Things/Pawn/Animal/Bovids/Bison/Bison</texPath><drawSize>2.4</drawSize><shadowData><volume>(0.5, 0.5, 0.5)</volume></shadowData></bodyGraphicData><dessicatedBodyGraphicData><texPath>Things/Pawn/Animal/Muffalo/Dessicated_Muffalo</texPath><drawSize>2.4</drawSize></dessicatedBodyGraphicData><butcherBodyPart><bodyPartGroup>HornAttackTool</bodyPartGroup><thing>KKAO_ACPBisonHorn</thing><allowFemale>true</allowFemale></butcherBodyPart><butcherBodyPart><bodyPartGroup>HeadAttackTool</bodyPartGroup><thing>WoolPileACPBison</thing><allowFemale>true</allowFemale></butcherBodyPart></li>

Root node: <PawnKindDef ParentName="AnimalKindBase"><defName>ACPBison</defName><label>bison</label><race>ACPBison</race><combatPower>95</combatPower><ecoSystemWeight>0.5</ecoSystemWeight><wildGroupSize><min>6</min><max>14</max></wildGroupSize><lifeStages><li><bodyGraphicData><texPath>Things/Pawn/Animal/Bovids/Bison/Bison</texPath><drawSize>1.3</drawSize><shadowData><volume>(0.3, 0.3, 0.3)</volume></shadowData></bodyGraphicData><dessicatedBodyGraphicData><texPath>Things/Pawn/Animal/Muffalo/Dessicated_Muffalo</texPath><drawSize>1.3</drawSize></dessicatedBodyGraphicData></li><li><bodyGraphicData><texPath>Things/Pawn/Animal/Bovids/Bison/Bison</texPath><drawSize>1.7</drawSize><shadowData><volume>(0.4, 0.4, 0.4)</volume></shadowData></bodyGraphicData><dessicatedBodyGraphicData><texPath>Things/Pawn/Animal/Muffalo/Dessicated_Muffalo</texPath><drawSize>1.7</drawSize></dessicatedBodyGraphicData></li><li><bodyGraphicData><texPath>Things/Pawn/Animal/Bovids/Bison/Bison</texPath><drawSize>2.4</drawSize><shadowData><volume>(0.5, 0.5, 0.5)</volume></shadowData></bodyGraphicData><dessicatedBodyGraphicData><texPath>Things/Pawn/Animal/Muffalo/Dessicated_Muffalo</texPath><drawSize>2.4</drawSize></dessicatedBodyGraphicData><butcherBodyPart><bodyPartGroup>HornAttackTool</bodyPartGroup><thing>KKAO_ACPBisonHorn</thing><allowFemale>true</allowFemale></butcherBodyPart><butcherBodyPart><bodyPartGroup>HeadAttackTool</bodyPartGroup><thing>WoolPileACPBison</thing><allowFemale>true</allowFemale></butcherBodyPart></li></lifeStages></PawnKindDef>
Verse.Log:Error(String, Boolean)
Verse.XmlInheritance:CheckForDuplicateNodes(XmlNode, XmlNode)
Verse.XmlInheritance:CheckForDuplicateNodes(XmlNode, XmlNode)
Verse.XmlInheritance:CheckForDuplicateNodes(XmlNode, XmlNode)
Verse.XmlInheritance:ResolveXmlNodeFor(XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively(XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodesRecursively(XmlInheritanceNode)
Verse.XmlInheritance:ResolveXmlNodes()
Verse.XmlInheritance:Resolve()
Verse.LoadedModManager:ParseAndProcessXML(XmlDocument, Dictionary`2)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
< >
Showing 1-14 of 14 comments
Dr Zhivago  [developer] 16 Dec, 2018 @ 5:36pm 
Yea should be an easy fix. I'll patch it shortly.
eighmy_lupin 16 Dec, 2018 @ 5:43pm 
Thank you
Dr Zhivago  [developer] 16 Dec, 2018 @ 7:23pm 
Looks like it is not an easy fix, and will probably take a redefining of the mod in C# to allow both mods to work together. I'm not really inclined to go that length so... for now it'll be incompatible. Until someone has more info on how to merge <butcherBodyPart> nodes than I've been able to get, or the butcheredbodypart gets rewritten.
eighmy_lupin 16 Dec, 2018 @ 7:35pm 
Makes Sense.
Dr Zhivago  [developer] 16 Dec, 2018 @ 7:37pm 
Although if you want me to explain how to remove the part in the mod that conflicts, I can do so. You'll either lose the wool or the horn.
eighmy_lupin 16 Dec, 2018 @ 7:38pm 
That would be awesome
Dr Zhivago  [developer] 16 Dec, 2018 @ 7:39pm 
Which part do you want to lose on being butchered? Wool or Horn
eighmy_lupin 16 Dec, 2018 @ 7:42pm 
Wool
Dr Zhivago  [developer] 16 Dec, 2018 @ 7:46pm 
Ok. I'll assume you're using the Steam patch for STC ACP.

-Go into your workshop mods' patch folder at:
"[location_of_steam]\Steam\steamapps\workshop\content\294100\1135543265\Patches"

-Open the "WoolPatchesACP.xml"

-Find this section:

<Operation Class="PatchOperationAdd">
<xpath>*/PawnKindDef[defName = "ACPBison"]/lifeStages/li[3]</xpath>
<value>
<butcherBodyPart>
<bodyPartGroup>HeadAttackTool</bodyPartGroup>
<thing>WoolPileACPBison</thing>
<allowFemale>true</allowFemale>
</butcherBodyPart>
</value>
</Operation>

and delete it.
Last edited by Dr Zhivago; 16 Dec, 2018 @ 7:48pm
eighmy_lupin 16 Dec, 2018 @ 7:52pm 
Worked like a charm. Thank you!
Dr Zhivago  [developer] 16 Dec, 2018 @ 7:53pm 
Np. If there's an update to that mod, you'll need to do it again. Enjoy.
BlueTressym 26 Dec, 2019 @ 10:26am 
What do you need to do to sacrifice the horn rather than the wool?
Dr Zhivago  [developer] 27 Dec, 2019 @ 3:11pm 
You will need to remove lines 91-100 from your mod, displayed at this link: https://github.com/DrZhivago1/KK_AnimalOverhaul/blob/22c9acd45b842066b6a78745a63080f5121fc148/Patches/AnimalCollabProj.xml#L91


And if you're unfamiliar with GithHub, the folder pathing is at the top. It would be in ".../Patches/AnimalCollabProj.xml"
Last edited by Dr Zhivago; 27 Dec, 2019 @ 3:26pm
BlueTressym 27 Dec, 2019 @ 3:33pm 
Thank you :)
< >
Showing 1-14 of 14 comments
Per page: 1530 50