Creating a Content Pack - Floogen/FashionSense GitHub Wiki
A content pack for Fashion Sense (FS) allows mod authors to create custom appearances with the following benefits:
- Can be larger than 16x32 pixels
- Can be animated
- Can override the player's color choice
Fashion Sense content packs are compatible with other FS packs, meaning you can have as many Fashion Sense accessories, hairs, hats, shirts, sleeves and pants as you'd like!
Getting Started
It is highly recommended to utilize the SMAPI command fs_reload
while building your Fashion Sense content pack.
The fs_reload
command allows you to make changes to your pack without having to restart the game. This is especially useful when trying to pinpoint the coordinates for HeadPosition
and BodyPosition
.
Accessories
See Creating an Accessory Content Pack.
Hairstyles
See Creating a Hairstyle Content Pack.
Hats
See Creating a Hat Content Pack.
Shirts
See Creating a Shirt Content Pack.
Sleeves
See Creating a Sleeves Content Pack.
Pants
See Creating a Pants Content Pack.
Shoes
See Creating a Shoes Content Pack.
Templates
Fashion Sense has several template files available for ease of use, which can be found on this page.
Preset Outfits
Content pack authors can include custom outfits as part of their pack via preset_outfits.json
.
These preset outfits can be selected by clicking the "Presets" button in the outfits menu.
An example preset_outfits.json
can be found within the example pack.
Default Draw Order
The default draw order is the following:
- Pants
- Shoes
- Shirts
- Hair
- Sleeves
- Accessories
- Hat
Note: Each appearance draws over the previous item in the above list. For example, shirts draw over pants, hats over sleeves and so on.
Additional Note: This order can be changed by using appearance specific properties, such as accessory's DrawBeforeHair
.