边缘世界 RimWorld

边缘世界 RimWorld

[OA]鼠族基因扩展
orange 10 月 29 日 上午 6:20
1.5 BUG 只打了金鼠和基因扩展这两个OA框架的模组
报错信息
Could not find type named OberoniaAurea_Frame.CompProperties_SpecialBuilding from node <li Class="OberoniaAurea_Frame.CompProperties_SpecialBuilding" />
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DirectXmlToObject:ClassTypeOf<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<Verse.CompProperties> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ListFromXml<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ListFromXmlReflection<Verse.CompProperties> (System.Xml.XmlNode)
Verse.DirectXmlToObject:ObjectFromXml<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<System.Collections.Generic.List`1<Verse.CompProperties>> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlLoader:DefFromNode (System.Xml.XmlNode,Verse.LoadableXmlAsset)
Verse.LoadedModManager:ParseAndProcessXML (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()
=======================================================================
大概是找不到 OberoniaAurea_Frame.CompProperties_SpecialBuilding,我去翻了下xml找到是D:\Steam\steamapps\workshop\content\294100\3300291918\Ideology\1.5\Defs\Ideo_Buildings.xml下第53行comps引用报的错
=========================================================Ideo_Buildings.xml
<?xml version="1.0" encoding="utf-8"?>
<Defs>

<ThingDef ParentName="BuildingBase">
<defName>OAGene_HegemonicFlag</defName>
<label>Hegemonic Flag</label>
<description>A luxurious purple flag symbolizes a colony's hegemony over nearby areas, and when fully unfolded, the flag is clearly visible even from several kilometers away. This flag will inspire territorial hegemons.\n\nThis flashy flag will make your colony stand out and may lead to a wandering raid every few days. In addition, establishing hegemony over a region will affect your natural relationships with other factions.</description>
<graphicData>
<texPath>Things/Building/OA_Hegemonic_Flag</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<shadowData>
<volume>(0.85, 0.60, 2.5)</volume>
</shadowData>
<drawSize>(5.5, 6.2)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<passability>PassThroughOnly</passability>
<pathCost>42</pathCost>
<canOverlapZones>false</canOverlapZones>
<rotatable>false</rotatable>
<fillPercent>0.35</fillPercent>
<!--hasInteractionCell>True</hasInteractionCell>
<interactionCellOffset>(0, 0, 2)</interactionCellOffset-->
<defaultPlacingRot>North</defaultPlacingRot>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>72000</WorkToBuild>
<Mass>30</Mass>
<Flammability>0.1</Flammability>
<Beauty>55</Beauty>
</statBases>
<size>(5, 5)</size>
<costList>
<Steel>100</Steel>
<Cloth>300</Cloth>
</costList>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<canGenerateDefaultDesignator>false</canGenerateDefaultDesignator>
<designationCategory>Ideology</designationCategory>
<uiOrder>2520</uiOrder>
<minifiedDef>MinifiedThing</minifiedDef>
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
</placeWorkers>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<tickerType>Never</tickerType>
<comps>
<li Class="OberoniaAurea_Frame.CompProperties_SpecialBuilding" />
<li Class="CompProperties_Flickable" />
</comps>
</ThingDef>

</Defs>
< >
正在显示第 1 - 2 条,共 2 条留言
orange 10 月 29 日 上午 6:22 
很奇怪,这个模组排序玩了好久了都没爆过红今天上来突然多一行红字
夜海  [开发者] 11 月 10 日 上午 12:39 
@orange
更新修改导致的一次性的红字
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50