RimWorld

RimWorld

[WYD] More Tables
Yoann 7 Apr, 2024 @ 11:46pm
About Ideology
So, I don't play Rimworld anymore and don't really have time to do the patch, but there the part of files you want to see :

ThingStyleDef.xml
<ThingStyleDef ParentName="IdeoTableStyleBase"> <defName>Morbid_Table1x2c</defName> <graphicData> <texPath>Things/Building/BuildingStyles/Morbid/Tables/MorbidTable1x2</texPath> <drawSize>(3,4)</drawSize> </graphicData> </ThingStyleDef> <ThingStyleDef ParentName="IdeoTableStyleBase"> <defName>Morbid_Table2x2c</defName> <graphicData> <texPath>Things/Building/BuildingStyles/Morbid/Tables/MorbidTable2x2</texPath> <drawSize>(4,4)</drawSize> </graphicData> </ThingStyleDef> <ThingStyleDef ParentName="IdeoTableStyleBase"> <defName>Morbid_Table2x4c</defName> <graphicData> <texPath>Things/Building/BuildingStyles/Morbid/Tables/MorbidTable2x4</texPath> <drawSize>(4,6)</drawSize> </graphicData> </ThingStyleDef> <ThingStyleDef ParentName="IdeoTableStyleBase"> <defName>Morbid_Table3x3c</defName> <graphicData> <texPath>Things/Building/BuildingStyles/Morbid/Tables/MorbidTable3x3</texPath> <drawSize>(5,5)</drawSize> </graphicData> </ThingStyleDef>

StyleCategoryDef.xml
<StyleCategoryDef> <defName>Morbid</defName> <label>morbid</label> <iconPath>UI/StyleCategories/Morbid</iconPath> <soundOngoingRitual>RitualSustainer_Morbid</soundOngoingRitual> <ritualVisualEffectDef>Morbid</ritualVisualEffectDef> <thingDefStyles> <li> <thingDef>SculptureSmall</thingDef> <styleDef>Morbid_SculptureSmall</styleDef> </li> <li> <thingDef>SculptureLarge</thingDef> <styleDef>Morbid_SculptureLarge</styleDef> </li> <li> <thingDef>SculptureGrand</thingDef> <styleDef>Morbid_SculptureGrand</styleDef> </li> <li> <thingDef>Altar_Small</thingDef> <styleDef>Morbid_AltarSmall</styleDef> </li> <li> <thingDef>Altar_Medium</thingDef> <styleDef>Morbid_AltarMedium</styleDef> </li> <li> <thingDef>Altar_Large</thingDef> <styleDef>Morbid_AltarLarge</styleDef> </li> <li> <thingDef>Altar_Grand</thingDef> <styleDef>Morbid_AltarGrand</styleDef> </li> <li> <thingDef>Stool</thingDef> <styleDef>Morbid_Stool</styleDef> </li> <li> <thingDef>Table1x2c</thingDef> <styleDef>Morbid_Table1x2c</styleDef> </li> <li> <thingDef>Table2x2c</thingDef> <styleDef>Morbid_Table2x2c</styleDef> </li> <li> <thingDef>Table2x4c</thingDef> <styleDef>Morbid_Table2x4c</styleDef> </li> <li> <thingDef>Table3x3c</thingDef> <styleDef>Morbid_Table3x3c</styleDef> </li> <li> <thingDef>StandingLamp</thingDef> <styleDef>Morbid_StandingLamp</styleDef> </li> <li> <thingDef>TorchLamp</thingDef> <styleDef>Morbid_TorchLamp</styleDef> </li> <li> <thingDef>Column</thingDef> <styleDef>Morbid_Column</styleDef> </li> <li> <thingDef>Apparel_ArmorHelmetRecon</thingDef> <styleDef>Morbid_ReconHelmet</styleDef> </li> <li> <thingDef>Apparel_PowerArmorHelmet</thingDef> <styleDef>Morbid_MarineHelmet</styleDef> </li> <li MayRequire="Ludeon.RimWorld.Royalty"> <thingDef>Apparel_ArmorHelmetCataphract</thingDef> <styleDef>Morbid_CataphractHelmet</styleDef> </li> <li> <thingDef>Ideogram</thingDef> <styleDef>Morbid_IdeogramA</styleDef> </li> <li> <thingDef>Ideogram</thingDef> <styleDef>Morbid_IdeogramB</styleDef> </li> </thingDefStyles> <addDesignators> <li>MorbidSlab_Medium</li> <li>MorbidSlab_Broad</li> </addDesignators> <addDesignatorGroups> <li>Floor_Morbid_Stone</li> <li>Floor_Morbid_Carpet</li> </addDesignatorGroups> </StyleCategoryDef>
Last edited by Yoann; 7 Apr, 2024 @ 11:47pm
< >
Showing 1-1 of 1 comments
Monkey Magic  [developer] 9 Apr, 2024 @ 12:11pm 
Wish I'd seen this earlier, I would not have had to struggle though all day getting it to work! LMFAO

What I ended up doing was experimenting with a copy of your Tiny Shelf, since I knew that was working. I first added another Ideology style (morbid) and made textures for it, and so. This worked fine, so I went ahead and did the same for my 1x1 table. Also worked fine.

Then I went ahead and wrote all the stuff for every other table in, and only some of those worked... Thing is I thought the number referenced was referring to the defname name graphic data - which is why some worked, coz the numbers matched up with available spaces in the actual file - but yeah, turned out they all had to reference the same number, coz it was the core file position XD
Last edited by Monkey Magic; 9 Apr, 2024 @ 12:16pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50