Replacing the content¶
The template's art and sounds are placeholders, and every reference to them is by asset. When you reimport your own file over a shipped asset, everything that used it uses yours, and nothing else needs touching.
No source art is included: no .blend, no .png, no .wav. Every mesh, texture and sound is an
imported Unreal asset.
Sounds¶
The ninety-two SW_* sound waves in Audios/ are all made from public-domain recordings (CC0: no
attribution required, each source credited anyway in THIRD-PARTY.md 5.1).
Replace one by reimporting over the asset, or by pointing the
Data Asset field that plays it at your own sound. An empty field is silent and
harmless. Give a sound of your own the Sound Class of its bus, so that it follows the volume of that
bus: SCL_Effects for the world, SCL_UI for the interface, SCL_Ambience or SCL_Music.
There is no death sound for a survivor, and the music has three beds and no stingers.
Meshes¶
Every static mesh is flat-shaded, built on the 300 uu grid, with UBX_ and UCX_ collision. The
flashlight's collision is a simple box set in Unreal. Replace a mesh by reimporting over the asset,
and keep the 300 uu grid if you want your piece to sit with the rest of the kit.
The clothes are skeletal meshes in Meshes/Clothing, one per piece and body, made on the two
mannequin bodies. Add a piece of clothing shows how to make your own.
Materials¶
Materials/Environments/M_Building is the master of nearly every surface. It exposes a Tint
parameter and a dithered cutaway around the survivor, which CutawayEnabled
turns on per instance: walls, roofs, vegetation and cars have it.
The MI_* instances next to it are one per surface, so you re-tint the whole neighbourhood by
editing instances. Eleven colour variants are children of an instance, such as MI_Siding_Sage and
MI_Brick_Brown, in the same folder.
The outdoor brick, siding, roof, sidewalk and road instances turn on UseDetailTexture: a colour
pattern sampled in world space (DetailTexture, DetailSize in cm per tile, DetailStrength), so
bricks, boards and shingles line up across modules whatever their UVs. The patterns are
Textures/Environments/T_Detail_*. The streets draw their sealed cracks, slab joints and pothole
bottoms with MI_Asphalt_Sealant, MI_Concrete_Joint and MI_Gravel_Pothole, set to the colour of
the surface around them. Darken those three for a more worn town.
The ground is MI_Grass, an instance of M_Grass. Its blades come from
Textures/Vegetation/T_Grass_Detail: replace it with your own grass detail (grey, around mid-grey,
tileable) or set BladeStrength to 0. The bodies use Materials/Characters/M_Character_Skin, and
the clothes Materials/Clothing/M_Garment.
Keep the Highlight parameter
The proximity highlight writes a Highlight scalar parameter, and a material that does not
declare it is never highlighted. Add a Highlight scalar to your material, or keep it an
instance of M_Building.
Wetness, snow and wind only reach instances of M_Building whose WetMask, SnowMask and
WindMask are above 0. A mesh with a material of your own stays dry and still.
The character¶
Every character uses one skeleton, Meshes/Characters/SKEL_Mannequin: Epic's SK_Mannequin from
the Third Person template, 161 bones. The two bodies, the clothes and bags, and every character clip
are on it. The weapons have skeletons of their own (Meshes/Weapons/SKEL_Weapon_*), and so do the
vehicles (SKEL_Vehicle).
The two bodies, SK_Character_Male and SK_Character_Female under Meshes/Characters/Body/, are
Epic's meshes from the same template. So are twenty-seven clips of Animations/Characters/: one
idle, eight walk and eight jog directions, three melee attacks, three hit reactions and four
directional deaths. The rifle reload comes from Lyra and lives in DemoContent/Epic/Animations/.
The other clips were made for this template.
The zombies wear the same two bodies with a zombie skin, listed per archetype in
PDA_ZombieDef.BodyVariants (BodyMesh and BodyMaterial when the list is empty). A new zombie
model is an edit of the archetype's Data Asset.
Epic's files are not covered by the template's licence
The bodies, the skeleton and the Epic clips are Epic Games content: those of the Third Person
template under the Unreal Engine EULA, the Lyra clip under its Fab listing. Read
THIRD-PARTY.md and Licence and third-party content, which lists them, before
you redistribute anything that contains them.
Seven things that follow a new character¶
Replacing the character with your own is the cleanest route. Replace the characters walks through it. Seven things need to follow:
- The sockets of the body:
WeaponSocketon the right hand, or the equipped weapon will not attach, andbelt_l,belt_r,holster_randback, where the stowed weapons hang. - The bone table of the wounds:
BoneToPartinAC_Wounds, and on theWoundscomponent ofBP_Survivor, maps 25 bone names to the 17 body zones. - The physics asset, with bodies on the head, the neck and the feet, so that the closest-bone lookup reaches every zone.
- The locomotion Blend Space,
Animations/Shared/BS_Survivor_Locomotion. Put your idle, walk and jog clips in its 27 samples and keep its layout: Direction on X, Speed on Y, the walk row onBP_Survivor.WalkSpeedand the jog row onRunSpeed. - The clips, which are slots of
DA_AnimSet_Survivor_BaseandDA_AnimSet_Zombie_Base. - The aim poses, one per weapon pose category (
Anim.Survivor.Pose.Aim.*), whichABP_Survivorblends over the upper body fromspine_01. - The
Zonevertex colour of the body meshes: red is the body zone, green the hiding sub-zone. Without it, the clothes do not hide the skin under them, and the skin shows no blood or dirt.
There is no montage asset to rebuild: point the slots at your clips. The
Blueprints only name the slots. On BP_Survivor they are AttackSlots, DeathSlots (in the order
front, back, left, right), HitFrontSlot, HitBackSlot and ShoveSlot. On BP_Zombie they are
DeathSlots, HitFrontSlot, HitBackSlot and KnockdownSlot. Keep the hit reactions additive, so
that a flinch plays over a walk instead of freezing it. A slot with no clip falls back on its
family, and the action still fires on its own timing.
The font¶
The interface uses Roboto from your own Unreal Engine install, /Engine/EngineFonts/Roboto. No font
file ships: Content/ZombieSurvival/ contains no .ttf, no .otf and no font asset.
Every widget reads the Fonts table of DataAssets/UI/DA_UIStyle, and each entry of that table
names its own font. A new typeface is one change per entry, as
Restyle the interface shows. If you import your own font files
and ship them, check the licence of the copy you used:
Licence and third-party content says why.
Engine content¶
The template references a handful of engine assets: material functions, a noise texture, the sky in
the menu map, the Roboto font read by the interface style. None is in the package: they resolve
against your own engine install. THIRD-PARTY.md says where each one is referenced and how to
replace it.