Anyone have a b18 version of this mod? Thank you in advance!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages1
#2
Help / Re: Modding in A18
November 08, 2017, 06:38:04 PMQuote from: wacs on November 08, 2017, 06:52:33 AM
Thank you for your help!
Seems preventDeterioration has been changed to preventDeteriorationOnTop in A18
#4
Help / Re: Modding in A18
November 08, 2017, 06:52:02 AMQuote from: Varisha on November 08, 2017, 06:27:28 AM
Can you show your xml please.
Are you sure this attribute is placed below <building> attribute in xml file?Quote
<ThingDef> ...
<building>
<preventDeterioration>true</preventDeterioration>
It's a mod that adds furniture in A18 by a modder. I get an exception with preventDetrioration, here's the code for a shelf which is supposed to prevent items inside from deteriorating when placed outdoors:
<ThingDef ParentName="T_FurnitureBase">
<defName>T_Drawer</defName>
<label>Drawer</label>
<thingClass>Building_Storage</thingClass>
<graphicData>
<texPath>Furniture/TDrawer</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(1.2,1.6)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<fillPercent>0.4</fillPercent>
<castEdgeShadows>true</castEdgeShadows>
<stuffCategories>
<li>Metallic</li>
<li>Woody</li>
<li>Stony</li>
</stuffCategories>
<costStuffCount>30</costStuffCount>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<Mass>8</Mass>
<WorkToBuild>1050</WorkToBuild>
<Flammability>1.0</Flammability>
</statBases>
<description>Items stored in this will not deteriorate, even if outside.</description>
<size>(1,1)</size>
<building>
<preventDeterioration>true</preventDeterioration>
<ignoreStoredThingsBeauty>true</ignoreStoredThingsBeauty>
<defaultStorageSettings>
<priority>Important</priority>
<filter>
<categories>
<li>Weapons</li>
</categories>
</filter>
</defaultStorageSettings>
</building>
<inspectorTabs>
<li>ITab_Storage</li>
</inspectorTabs>
<designationHotKey>Misc12</designationHotKey>
<staticSunShadowHeight>0.5</staticSunShadowHeight>
<surfaceType>Item</surfaceType>
<canOverlapZones>false</canOverlapZones>
</ThingDef>
#5
Help / Modding in A18
November 08, 2017, 06:18:05 AM
Hi,
Getting the following XML error in A18, not sure how to fix it:
XML error: <preventDeterioration>true</preventDeterioration> doesn't correspond to any field in type ThingDef.
Verse.Log:Error(String) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:48)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\SaveLoad\DirectXml\DirectXmlToObject.cs:240)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
Verse.<AllDefsFromAsset>c__Iterator2:MoveNext() (at C:\Dev\RimWorld\Assets\Scripts\Verse\SaveLoad\DirectXml\DirectXmlLoader.cs:143)
Verse.ModContentPack:LoadDefs(IEnumerable`1) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Mods\ModContent\ModContentPack.cs:173)
Verse.LoadedModManager:LoadAllActiveMods() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Mods\LoadedModManager.cs:84)
Verse.PlayDataLoader:DoPlayLoad() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Defs\Databases\PlayDataLoader.cs:92)
Verse.PlayDataLoader:LoadAllPlayData(Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Defs\Databases\PlayDataLoader.cs:32)
Verse.Root:<Start>m__1() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root.cs:51)
Verse.LongEventHandler:RunEventFromAnotherThread(Action) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\LongEventHandler.cs:453)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\LongEventHandler.cs:367)
Thanks for any help!
Getting the following XML error in A18, not sure how to fix it:
XML error: <preventDeterioration>true</preventDeterioration> doesn't correspond to any field in type ThingDef.
Verse.Log:Error(String) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:48)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\SaveLoad\DirectXml\DirectXmlToObject.cs:240)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
Verse.<AllDefsFromAsset>c__Iterator2:MoveNext() (at C:\Dev\RimWorld\Assets\Scripts\Verse\SaveLoad\DirectXml\DirectXmlLoader.cs:143)
Verse.ModContentPack:LoadDefs(IEnumerable`1) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Mods\ModContent\ModContentPack.cs:173)
Verse.LoadedModManager:LoadAllActiveMods() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Mods\LoadedModManager.cs:84)
Verse.PlayDataLoader:DoPlayLoad() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Defs\Databases\PlayDataLoader.cs:92)
Verse.PlayDataLoader:LoadAllPlayData(Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Defs\Databases\PlayDataLoader.cs:32)
Verse.Root:<Start>m__1() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root.cs:51)
Verse.LongEventHandler:RunEventFromAnotherThread(Action) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\LongEventHandler.cs:453)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\LongEventHandler.cs:367)
Thanks for any help!
#6
Releases / Re: [A17] Expanded Prosthetics and Organ Engineering 2.0 (24.5.2017)
November 08, 2017, 01:12:52 AMQuote from: Palipo on November 06, 2017, 02:12:46 PMQuote from: Kalre on November 04, 2017, 10:20:01 PM
Any notice on A18 update ? ;(
I fixed the errors showing on startup. Haven't done any testing yet. Could provide the zip-file if you're interested.
Greetings
Greetings, would be interested in the zip-file too, thanks!
Pages1