Skip to content

Replace the characters

Every survivor and every zombie wears one of Unreal's own mannequins, Manny or Quinn, on one skeleton. You add a third body, Athletic, skinned to that skeleton. You offer it at character creation, dress it and give it to the zombies.

Before you start

  • A character mesh of your own, skinned to the mannequin skeleton in your modelling tool, in the same rest pose as the shipped bodies.
  • A modelling tool that can paint a colour attribute named Zone on the vertices.

Read section 3 of THIRD-PARTY.md first. The shipped bodies, their skeleton and the template clips are Epic Games content, under other terms than the rest of the pack.

What a body must fit

Part Where What it needs
Skeleton Content/ZombieSurvival/Meshes/Characters/SKEL_Mannequin Epic's SK_Mannequin from the Third Person template, 161 bones. Bodies, clothes, bags and every character clip are on it.
Animation Blueprints Blueprints/Player/ABP_Survivor, Blueprints/AI/ABP_Zombie Both target SKEL_Mannequin.
Clips the slots of DataAssets/Animation/DA_AnimSet_Survivor_Base and DA_AnimSet_Zombie_Base Clips on SKEL_Mannequin, played as dynamic montages. There is no montage asset to rebuild.
Locomotion Animations/Shared/BS_Survivor_Locomotion 27 samples: Direction on X, Speed on Y, the walk row on BP_Survivor.WalkSpeed, the jog row on RunSpeed.
Sockets of the body mesh as on Meshes/Characters/Body/SK_Character_Male WeaponSocket on the right hand; belt_l, belt_r, holster_r and back for the stowed weapons.
Physics asset as PA_Character_Male Bodies on the head, the neck and the feet at least, so the closest-bone lookup reaches every zone.
Wound zones BoneToPart on Blueprints/ActorComponents/AC_Wounds, and on the Wounds component of BP_Survivor 25 bone names mapped to the 17 body zones.
Zone vertex colour on the body mesh Red is the body zone, green the hiding sub-zone. Without it the clothes do not hide the skin, and the skin shows no blood or dirt.

On the same skeleton, the clips, the blend space, the sockets' bones and BoneToPart keep working as they are.

Steps

1. Paint the zones

Paint a colour attribute named Zone on your body. This step has not been played as written.

  • Red is the rank of the body zone under the vertex divided by 16, from 0 for the head to 16 for the lower torso. Add a piece of clothing has the table of the seventeen ranks.
  • Green is the number of the hiding sub-zone divided by 8: 1 and 2 for the top of the thighs, 4 and 5 for the bottom of the shins, 6 and 7 for the thighs down to a shorts hem.

2. Import the body

  1. Import your mesh into Content/ZombieSurvival/Meshes/Characters/Body/ as SK_Character_Athletic.
  2. In the import options, pick SKEL_Mannequin as the skeleton and set Vertex Color Import Option to Replace.
  3. Give its material slots Materials/Characters/M_Character_Skin, as on the shipped bodies. The game puts the skin tone on both material slots of the body.

An FBX brings the mesh, its skin weights and its colours, but not the sockets. This import was played with Manny's own mesh, exported and imported back: no body of another shape has been tried.

3. Add the physics asset and the sockets

  1. Create PA_Character_Athletic next to the mesh, with bodies on at least the head, the neck and the feet, and assign it to the mesh.
  2. Open SK_Character_Male and note where its sockets sit. Add WeaponSocket, belt_l, belt_r, holster_r and back to your mesh at the same places. Without WeaponSocket, the weapon in hand does not attach.

4. Offer the body at character creation

  1. Open Content/ZombieSurvival/DataAssets/Characters/Childs/DA_AppearanceOptions_Default.
  2. In Morphologies, add the key Athletic with Mesh = SK_Character_Athletic and PhysicsAsset = PA_Character_Athletic. The key is what the saves and the network carry.
  3. Open Content/ZombieSurvival/Localization/ST_Menus and add the entry Creation.Athletic = Athletic. The creation screen names each body by Creation.<key>: Creation.Male reads Manny.
  4. Save both.

The look of a survivor is a body and a skin tone. There are no hairstyles or beards.

5. Dress it

Each piece of clothing has one skeletal mesh per body, keyed in Meshes of its DA_Clothing_*. A body with no mesh under its key gets the mesh of the first key, made for another body.

  1. For each piece you want on the Athletic body, make a mesh on your body: SK_Cloth_<Id>_Athletic, in Meshes/Clothing/, on SKEL_Mannequin, with the same Zone colour. It follows the rules for clothing meshes.
  2. Add it under the key Athletic in Meshes of that piece.

The starting clothes come from the occupation or the outfit picked at creation. This step has not been played as written.

6. Put it on the zombies

  1. Open each archetype in Content/ZombieSurvival/DataAssets/Zombies/Childs/: DA_Zombie_Resident, DA_Zombie_Worker and the others.
  2. In BodyVariants, add an entry with Mesh = SK_Character_Athletic, and Materials/Characters/MI_Zombie_Skin in each slot of Materials.

The host draws one entry per zombie.

7. Try it

  1. Open Content/ZombieSurvival/Maps/L_Boot and press Play, then NEW GAME and START.
  2. On the first page of character creation, step the body row to Athletic, after Manny and Quinn, and pick a skin tone. The preview on the right shows your body in that tone, and turns when you drag it with the mouse.

    Character creation: the body row on Athletic, and its preview.

  3. PLAY. Walk, run (Left Shift) and aim (hold right mouse). The aim pose plays on the upper body while the legs walk, and the clothes hide the skin under them.

  4. Equip the baseball bat of the starting kit. It sits in the right hand.
  5. Stow a weapon from its item menu (right-click its row in the bag). It hangs at the socket of its position: belt_l, belt_r, holster_r or back. A long weapon goes on the back only with a backpack or a rifle sling.
  6. Let a zombie hit you, then open the health window (H). The wound shows on the zone that was hit. Wounds on a new body have not been tried.
  7. Look at the zombies: some wear your body.

If it does not work

  • The body row shows a key or nothing: the Creation.<key> entry is missing from ST_Menus.
  • The body is offered but a mannequin appears: the Morphologies entry names another mesh, or the asset was not saved.
  • The weapon floats or stays at the feet: WeaponSocket, or a belt or back socket, is missing or misplaced.
  • Skin shows through clothes, or no blood appears: the Zone colour is missing, or the import did not use Replace.
  • Wounds land on the wrong zone: the physics asset lacks bodies near those bones.
  • Clothes do not fit: the piece has no mesh under your key and falls back on the first key.

Remove Manny and Quinn

Once the Athletic body works:

  1. Remove the Male and Female keys from Morphologies, and set DefaultAppearances to your key. These are the looks given to survivors who never chose one.
  2. Give every clothing piece a mesh under your key. Survivors no longer read the meshes under Male and Female once no body uses those keys.
  3. Replace the Manny and Quinn entries of every BodyVariants, and the fallback BodyMesh and BodyMaterial of every archetype.

A saved or received look whose body key is unknown becomes the first default appearance. It is never refused. The skeleton is still SKEL_Mannequin, which is Epic's: read THIRD-PARTY.md before you redistribute.

Another skeleton

This route is not documented. Everything that plays on a character names SKEL_Mannequin: the two Animation Blueprints, the clips of the animation sets, the locomotion blend space and the clothing meshes. Either skin your character to SKEL_Mannequin, as above, or retarget the clips to your skeleton with Unreal Engine's IK Rig and IK Retargeter, then rebuild every part of the table in What a body must fit, and the aim poses.

To swap a clip without touching the skeleton, point its slot at your clip in the base set. Keep the hit reactions additive: they feed an Apply Additive node, so that a flinch plays over a walk.