RimWorld

RimWorld

284 ratings
Oversized Apparel Framework
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4
File Size
Posted
Updated
1.079 MB
17 Oct, 2021 @ 1:49pm
26 Nov, 2022 @ 4:41am
3 Change Notes ( view )

Subscribe to download
Oversized Apparel Framework

Description
Obsolete with 1.5.
To change drawSizes now simply add a <drawData> with <scale>1</scale> inside of <apparel>. Offsets are set nested inside of <defaultData>, <dataNorth>, <dataEast>, etc within <drawData> as <offset>(x,y,z)</offset> nodes now. <pivot>, <rotation>, <rotationOffset>, <flip> and <layer> exist in there too, with the outer layer defaulting to 88 and utility items defaulting to 93.


Enables custom apparel sizes and offsets. Vanilla Rimworld lacks this functionality. Preview shows an example of what's possible.
Other possibilites this mod unlocks include ship girls and big ass mecha suits. One could also make fake vehicles or those hover boards from Wall-E with this.

Compatibility and Performance:
Very good.
Confirmed to be compatible with Enable Oversized Weapons, Humanoid Alien Races, Babies and Children, Vanilla Expanded and Combat Extended.

Usage (for modders, not users):
To change the size add a modExtension like this:
<Def>
<modExtensions>
<li Class="OversizedApparel.Extension">
<drawSize>(x, y)</drawSize>
</li>
</modExtensions>
</Def>
x is a multiplier for the width, y applies on the height.

<drawSize>#<drawSize>
without brackets and a single number results in both dimensions changing by the same amount.

<drawSize>1.0</drawSize>
would be the default.

To adjust offsets add one or more of these to Def/graphicData:
<drawOffset>(x,y,z)</drawOffset>
<drawOffsetNorth>(x,y,z)</drawOffsetNorth>
<drawOffsetEast>(x,y,z)</drawOffsetEast>
<drawOffsetSouth>(x,y,z)</drawOffsetSouth>
<drawOffsetWest>(x,y,z)</drawOffsetWest>
x is the horizontal offset here, z is vertical. Y is the distance to the camera, used for layers. An extension like for drawSize is not necessary here.

Credits:
Armor and pauldrons are expanded versions of Oskar Potocki's heavy plate armor and plate shoulderpads.
Top hat is from Royalty.
Oversized hats were commissioned by [33rd]King_George.
This mod uses Harmony.

No assets are included in this mod. This is just a framework.

License:
MIT

Github:
https://github.com/bbradson/Oversized-Apparel-Framework
37 Comments
astersuperix 28 Jun @ 9:43pm 
Guys read the description it says "Obsolete with 1.5"
DarkYolo 26 Jun @ 11:20am 
1.5 is needed
1.5please
overlone 5 May @ 11:55pm 
1.5plz
熾火(阿火) 30 Apr @ 4:57am 
1.5?
物理系魔法师 22 Apr @ 4:11am 
o7
Ruggedgolem 20 Apr @ 5:34pm 
o7 thanks for making the mod anyways bradson, used it quite a lot before 1.5
ftianf 19 Apr @ 12:09am 
Thank you for your excellent service
Hawk 15 Apr @ 9:48am 
Hey Bradson, my mod is using your framework it is integrated with every single armor, adjusting layers positions and sizes etc.. will you be updating to 1.5? or could you point me to where to look or some examples of how 1.5 handles what your mod did. Thnx.
702982 14 Apr @ 11:49pm 
Congrats!