I just started to play and mod this game yesterday. Wanted to dable in a few smaller modifications before trying anything advance. My current problem is the lack of documentation makes it hard to code. My current small_table mod is simply that just a small 1,1 table but the texture made within the (64x64) parameters is incredibly large, like a (3,3) and in the GUI it is also large like a (5,5).
Any help or even direction on where or what to read to fix the problem myself would be much appreciated.
Any help or even direction on where or what to read to fix the problem myself would be much appreciated.
Code Select
<?xml version="1.0" encoding="utf-8"?>
<Buildings>
<ThingDef Name="BuildingBase" Abstract="True">
<category>Building</category>
<thingClass>Building</thingClass>
<soundImpactDefault>BulletImpactMetal</soundImpactDefault>
<selectable>true</selectable>
<drawerType>MapMeshAndRealTime</drawerType>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<repairEffect>Repair</repairEffect>
</ThingDef>
<!-- Table Base -->
<ThingDef Abstract="True" ParentName="BuildingBase" Name="TableBase">
<eType>Building_Table</eType>
<thingClass>Building</thingClass>
<altitudeLayer>Waist</altitudeLayer>
<description>People eat off tables when chairs are placed facing them.</description>
<graphicOverdraw>true</graphicOverdraw>
<passability>PassThroughOnly</passability>
<castEdgeShadows>true</castEdgeShadows>
<pathCost>60</pathCost>
<fillPercent>0.4</fillPercent>
<stuffCategories>
<li>Woody</li>
</stuffCategories>
<filthLeavings>
<SlagRubble>1</SlagRubble>
</filthLeavings>
<leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
<designationCategory>Furniture</designationCategory>
<staticSunShadowHeight>0.20</staticSunShadowHeight>
<itemSurface>true</itemSurface>
<comps>
<li>
<compClass>CompGatherSpot</compClass>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="TableBase">
<defName>SmallTable</defName>
<label>table (small)</label>
<graphicClass>Graphic_Single</graphicClass>
<graphicPath>Things/Building/Furniture/SmallTable</graphicPath>
<graphicOverdraw>true</graphicOverdraw>
<statBases>
<MaxHealth>50</MaxHealth>
<WorkToMake>500</WorkToMake>
<Flammability>1.0</Flammability>
<Beauty>5</Beauty>
</statBases>
<size>(1,1)</size>
<costStuffCount>7</costStuffCount>
<rotatable>false</rotatable>
<killedLeavings>
<ChunkSlag>1</ChunkSlag>
</killedLeavings>
</ThingDef>
</Buildings>