Make a player outfit

There's no full tutorial out there for making clothes the player can wear in 7 Days to Die. Companion and NPC skins, sure. Reskins of vanilla armor, plenty. But a brand new outfit on the player's own body, that follows the player's own skeleton, shows up on the character screen, behaves in first person, has real armor stats and works as a wardrobe look? We had to figure that out the hard way.
So this is the whole thing, start to finish, built around one real mod: Kitsune Tee. It's a short sleeve T-shirt with a cat meme print, plus a pair of jeans. Fitted on the female body, relaxed on the male. Nothing bought, nothing ripped from the game: the mesh is made by a Python script, and the print came out of an image generator.
You don't have to make this outfit. But once you've walked through it, you'll know every piece the game needs, and you can swap in your own mesh and art.
What you'll end up with
- Two items:
kitsuneTee(the tee alone) andkitsuneTeeJeans(the tee with jeans). - A prefab per item per sex, all in one Unity asset bundle.
- Light armor stats, the same as the vanilla Primitive Outfit.
- Both items as wardrobe looks: wear any chest armor for the stats and show the tee on top.
- Works in single player and on a dedicated server.
| Female (fitted) | Male (loose) |
|---|---|
![]() | ![]() |
How player gear works, in one minute
The player isn't one model. The game builds the character from parts (body, head, hands, feet) on a shared skeleton, and armor works the same way. The system is called SDCS in the game's code, and every wearable armor item has a block like this in items.xml:
<property class="SDCS">
<property name="Prefab" value="...a prefab in a bundle..."/>
<property name="TransformName" value="body"/>
<property name="Excludes" value=""/>
</property>
- Prefab points at a Unity prefab in an asset bundle. Put
{sex}in the name and the game swaps inMaleorFemale, so one item can have a prefab per body. - TransformName is the child of that prefab to wear:
head,body,handsorfeet. - Excludes lists the base body parts to hide under the gear. Leave it empty and the player's own body stays under your clothes.
When you equip the item, the game clones that child and rebinds its skinned mesh to the player's skeleton by bone name. That one fact drives most of this tutorial. Your mesh has to be skinned to the player rig's exact bone names, with bind poses that match the player body, or it won't follow the player at all.
:::info There's no legs slot
The equipment slots are Head, Chest, Hands and Feet (plus badges, backpack, and the clothing slots that only work with temperature survival on). Trousers go in the Chest outfit's body part, together with the shirt. That's how every vanilla outfit does it, and it's why "tee" and "tee and jeans" are two separate items here.
:::
The plan
- Set up the tools: Python, Unity, the .NET SDK.
- Export the body from the game, for reference only.
- Make the mesh by script: a shell around the body, cut into a shirt, weighted to the skeleton.
- Loosen the fit so it hangs like cloth instead of being painted on.
- Add the print: UVs and a texture.
- Build the bundle in Unity, with a shader the game's first-person camera understands.
- Write the XML and see it in game.
- Give it armor stats.
- Make it a wardrobe look with a tiny Harmony DLL.
- Test it properly, including on a server, and learn the traps.
:::tip Get the source
Every script in this tutorial is from Kitsune-Den/KitsuneTee on GitHub. The pages show the parts that matter and explain them; the repo has all of it, plus the finished mod in KitsuneTee/ if you just want to wear the shirt. Outfits you make with the tools are yours to license however you like (see its NOTICE).
:::

