边缘世界 RimWorld

边缘世界 RimWorld

Combat Extended
此主题已被锁定
xuvvy 2022 年 12 月 2 日 上午 2:10
Duplicate XML node name combatPower (Militor)
There is a bug in Combat Extended with the latest version of RimWorld, here is the full output:

XML error: Duplicate XML node name combatPower in this XML block: <PawnKindDef ParentName="LightMechanoidKind"><defName>Mech_Militor</defName><label>militor</label><race>Mech_Militor</race><combatPower>45</combatPower><lifeStages><li><bodyGraphicData><texPath>Things/Pawn/Mechanoid/Militor</texPath><maskPath>Things/Pawn/Mechanoid/AllegianceOverlays/Mech_Slugger</maskPath><shaderType>CutoutWithOverlay</shaderType><graphicClass>Graphic_Multi</graphicClass><drawSize>1.25</drawSize><shadowData><volume>(0.3, 0.4, 0.3)</volume><offset>(0,0,-0.25)</offset></shadowData></bodyGraphicData></li><li><bodyGraphicData><texPath>Things/Pawn/Mechanoid/MilitorAncient</texPath><maskPath>Things/Pawn/Mechanoid/AllegianceOverlays/Mech_Slugger</maskPath><shaderType>CutoutWithOverlay</shaderType><graphicClass>Graphic_Multi</graphicClass><drawSize>1.25</drawSize><shadowData><volume>(0.3, 0.4, 0.3)</volume><offset>(0,0,-0.25)</offset></shadowData></bodyGraphicData></li></lifeStages><weaponTags><li>MechanoidGunShortRange</li></weaponTags><combatPower>90</combatPower><modExtensions><li Class="CombatExtended.LoadoutPropertiesExtension"><primaryMagazineCount><min>5</min><max>6</max></primaryMagazineCount></li></modExtensions></PawnKindDef> UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) 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:ResolveXmlNodes () Verse.XmlInheritance:Resolve () Verse.LoadedModManager:ParseAndProcessXML (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 ()
< >
正在显示第 1 - 2 条,共 2 条留言
башмачок 2022 年 12 月 4 日 下午 3:49 
Go to your steam workshop folder, find CE folder and find Races_Mechanoid_Light. Then open it with notepad and delete (<Operation Class="PatchOperationReplace">
<xpath>Defs/PawnKindDef[defName="Mech_Militor"]/combatPower</xpath>
<value>
<combatPower>60</combatPower>
</value>
</Operation>)
After that save the file and launch the game. Should be working just fine (probably). Atleast you won't be getting this annoying message anymore.
xuvvy 2022 年 12 月 5 日 下午 2:11 
Thank you! Apparently this is also fixed in the dev build.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50