Skip to content

Add a body or a skin tone

A survivor's look is a body and a skin tone, chosen at character creation. There are no hairstyles or beards, and the bodies are the Unreal Engine mannequins as they ship.

Both lists are in Content/ZombieSurvival/DataAssets/Characters/Childs/DA_AppearanceOptions_Default. A look holds two values, saved with the character and seen the same way on every machine: Morphology, the key of the body, and SkinIndex, the rank of the tone in SkinTones.

A skin tone

Open DA_AppearanceOptions_Default, add a colour to SkinTones and save. The skin material takes it as SkinTone, on both material slots of the body.

A body

The tutorial Replace the characters adds a third body this way, with every detail.

  1. Make the skeletal mesh on Meshes/Characters/SKEL_Mannequin, the skeleton of every character, so that the animation sets play on it. Give it the sockets of the shipped bodies.
  2. Paint the Zone vertex colour on it, as on the shipped bodies: the zone in red, and the sub-zone number divided by 8 in green.
  3. In DA_AppearanceOptions_Default, add a row to Morphologies: a key for the skeletal mesh and its physics asset.
  4. Add an entry Creation.<key> to Content/ZombieSurvival/Localization/ST_Menus, for the name the creation screen shows. Creation.Male reads Manny.
  5. Give every piece of clothing a mesh under the same key, in Meshes of its clothing definition.

The shipped keys are Male and Female, for SK_Character_Male and SK_Character_Female in Meshes/Characters/Body/.

The appearance options

Field What it does
Morphologies Each body: a key for a skeletal mesh and its physics asset. The key is what saves and the network carry. Male and Female ship.
SkinTones A list of colours that the skin material takes as SkinTone.
DefaultAppearances The looks of survivors who never chose one, given by order of arrival.
Outfits The outfits offered at creation.

A saved or received look whose body key is unknown, or whose tone is out of range, becomes the first default appearance. It is never refused.

Test it

  1. Open Content/ZombieSurvival/Maps/L_Boot and press Play.
  2. Choose NEW GAME, then START. Character creation opens on the look page.
  3. Step through the body and the skin tone. The preview shows your body or your tone. Drag it with the mouse to see it from every side.
  4. Press PLAY and check the survivor in the world. In co-op, a client sees the same look.

If it does not work

  • Nothing is hidden under the clothes and the skin shows no blood: the body has no Zone attribute.
  • On the new body, a piece of clothing shows the mesh of the first key: it has no mesh under the new key.