Add an outfit¶
An outfit is a named list of clothing that a new character starts in. Character creation offers it on the OUTFIT row.
Steps¶
- In
Content/ZombieSurvival/DataAssets/Clothing/Childs/, duplicateDA_Outfit_Casual, or create a Data Asset of the classPDA_OutfitDef. - Fill its fields (table below). Use either
ItemsorFromOccupation, not both. - Add it to
OutfitsinDataAssets/Characters/Childs/DA_AppearanceOptions_Default.
| Field | What it does |
|---|---|
OutfitId |
A unique id, kept in the save. |
DisplayName |
The name on the OUTFIT row. |
Items |
Every piece of the outfit, underwear and socks included, as in DA_Outfit_Casual. |
FromOccupation |
An occupation whose StartingOutfit the outfit takes. Leave Items empty. |
Every piece must be a registered clothing item.
A character whose outfit id is no longer known starts in the outfit of their occupation. An
occupation with no StartingOutfit gives DefaultOutfit of DA_ClothingSettings_Default: T-Shirt,
Jeans and Running Shoes.
Test it¶
- Open
Content/ZombieSurvival/Maps/L_Bootand press Play. - Choose NEW GAME, then START.
- On the look page, step the OUTFIT row. Your outfit comes after Occupation outfit, which stays the default. The preview wears it. Drag the preview with the mouse to turn it.
- Press PLAY, then Tab, and check the worn pieces.