Oversized Apparel Framework
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:
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2Fbbradson%2FOversized-Apparel-Framework]https://github.com/bbradson/Oversized-Apparel-Framework[/url]