Skip to content

Base building

Survivors build walls, doors, floors, stairs, fences and furniture, barricade any window or door, weld metal, and take it all down again. The host checks every placement, and everything built is saved with the world.

The build window: categories, pieces, cost and Place.

In the game

Placing a piece

Press B, or pick Build in the radial menu. The Building window lists the pieces you know by category, with their cost against what your bag holds, and greys a category you know nothing in. The detail of a piece shows the solidity it would have if you built it, and Place, greyed with its reason when you cannot build it.

Place puts the piece in front of you as a ghost, on the 300 uu grid for a structure piece and on a 50 uu grid for furniture. X (or RB) turns it a quarter, a left click places it, and a right click, Esc or B leaves placement. A prompt above the targeted cell reads Place Wooden Wall in green, or the reason in red.

A spot takes one piece. A wall takes an edge and a floor a cell, so a wall on the edge of a floor is fine and a second wall on the same edge is not. A map wall, another piece or a piece of furniture in the way gives "Space occupied", and a survivor or a zombie "Someone is in the way". The piece must also rest on the ground, a built floor or the top of a staircase, under its centre, its corners and its edges, or you read "No support". A storey goes up that way: stairs, then a floor at 300 uu resting on their top, then a wall on that floor.

The host applies the same rules, and can also answer "Unknown piece", "Skill too low", "Too far", "Tool needed" or "Missing materials". Placing takes 4 s, spends the cost from your bag and wears the tools. Two players who place the same wall at the same moment get one wall and one "Space occupied".

Solidity

A piece takes a number of zombie hits before it breaks, up to twice as many when its builder has level 10 in Carpentry (wood) or Mechanics (metal). The host's Construction strength game option scales that number. It is 1.0 in Standard, 1.5 in Easygoing and 0.75 in Unforgiving, and goes from 0.25 to 2. The solidity is set once, when the piece is placed.

The exact formula

A piece takes its MaxHits in zombie hits, times the builder's skill (x1 at level 0, x2 at level 10), times the Construction strength game option.

Zombies strike the built walls, frames, fences, doors and gates that stand between them and you, never a piece of furniture. A built piece is never repaired. It only loses hits.

A built wall blocks movement and sight, and a vision zone never hides it when you step inside.

Frames and upgrades

A wall frame stops movement but not sight. Right-click it for Upgrade to Wooden Wall, Upgrade to Wooden Door Frame or Upgrade to Wooden Window Frame. Right-click a door frame for the door. An upgrade has its own cost, given in the table of pieces below, and is refused while someone stands in the piece.

Doors, fences and furniture

The door and the two gates open and close like the doors of the map, are never locked, and zombies break a closed one.

The low fence can be climbed over like the fences of the map. The high one cannot.

Built furniture is furniture like that of the map, and the plank bed offers Sleep. The water collector does nothing yet, and its description says so.

Barricades

A barricade closes a window or a door in layers. Any opening takes one, those of the map and the ones you build. Right-click it for Barricade (Planks), Barricade (Metal sheet) or Barricade (Metal bars).

Kind Each layer Tools Skill Time Layers × hits What gets through
Planks (DA_Barricade_Default) 1 plank, 2 nails hammer 3 s, on Carpentry 4 × 20 nothing
Metal sheet (DA_Barricade_MetalSheet) 1 sheet metal blowtorch (10 charge), welding mask Mechanics 1 8 s, on Mechanics 1 × 300 nothing
Metal bars (DA_Barricade_MetalBars) 3 metal bars blowtorch (15), welding mask Mechanics 2 10 s, on Mechanics 1 × 400 sight and shots, not people

As long as one layer holds, the opening stays shut to zombies, who strike the barricade to get in. The planks are drawn one per layer, so you see how much is left. An opening takes one kind at a time: planks on a metal sheet are refused with "Remove the existing barricade first".

Remove barricade takes 3 s and the kind's tool. It takes a layer off and gives part of it back: one plank per layer with a hammer, and with the blowtorch the sheet, or two of the three bars.

A new barricade goes on the side of the survivor who puts it. One put on a built door or window frame stays where it is when that piece is dismantled or demolished.

Each house of Pine Hollow has an empty barricade placed on one window. Interact reinforces it where it stands, which is the only way to barricade on a controller.

Welding

The two metal barricades, the two metal pieces and the four metal recipes are welded. A weld needs the welding mask in the bag, where it does not wear, and takes charge from the blowtorch, which holds 100. A propane tank refills it, from the Repair category of the crafting window.

A barricade is refused with "Tool needed: Welding Mask" without the mask, "Tool needed: Blowtorch" with an empty blowtorch, and "Skill too low" below its Mechanics level. A recipe says "Missing components or tool". Welding a barricade gives 6 or 8 Mechanics points and makes the welding noise.

Scrap metal is found through the hardware loot table and comes back from dismantling metal furniture with the blowtorch. At a workbench it becomes bars and sheets.

Dismantling

Right-click a built piece, a built door or gate, or a piece of furniture, and pick Dismantle. E never dismantles. Wood takes a hammer ("Tool needed: Hammer" without one) and metal the blowtorch.

Dismantling can fail, 30 % of the time at level 0 of Carpentry (wood) or Mechanics (metal) and never at level 10. A failure gives "Dismantling failed" and nothing back. Otherwise part of the cost comes back, more of it at a higher level. A piece of furniture gives back its own materials the same way, and the contents of a container fall to the floor around it. Either way the skill gains experience.

The exact formula

Each stack of the cost comes back as its quantity × RefundRatio × the yield curve (x0.6 at level 0, x1.4 at level 10), rounded down. A piece of furniture gives its DismantleYield times the same curve.

Demolition

With a sledgehammer in the bag, Demolish destroys a built piece or a built door or gate outright, with nothing back, and costs the sledgehammer a point of condition. Without one you read "Sledgehammer needed". A door of the map is broken, never removed.

Whatever stood on the piece and has lost its support falls too, again with nothing back: knock the stairs out, and the floor at 300 uu and the wall on it come down.

The host can forbid demolition with the Demolition game option, which is on in all three presets. You then read "Demolition is disabled by the host.".

The assets

Twenty pieces ship, the nineteen of the table below and the campfire. Each is a PDA_BuildableDef in Content/ZombieSurvival/DataAssets/Building/Childs/, listed in DA_BuildBook_Default in the same folder. The three barricade kinds are children of PDA_BarricadeSettings in DataAssets/Barricade/Childs/. Every weld runs through the action DA_Action_Weld. The ghost is drawn with Materials/Shared/MI_Ghost_Valid and MI_Ghost_Blocked.

Piece Category Cost Tools Skill Hits Notes
Wall frame (DA_Buildable_WallFrame) Structure 2 planks, 3 nails hammer Carpentry 0 25 sight passes; becomes a wall, a door frame or a window frame
Wall (DA_Buildable_Wall) Structure 4 planks, 6 nails; from a frame 2 and 3 hammer Carpentry 0 60
Door frame (DA_Buildable_DoorFrame) Structure 3 planks, 4 nails; from a frame 1 and 1 hammer Carpentry 1 50 becomes a door
Door (DA_Buildable_Door) Openings from a door frame only: 4 planks, 4 nails hammer Carpentry 1 50 opens and closes
Window frame (DA_Buildable_WindowFrame) Structure 3 planks, 4 nails; from a frame 1 and 1 hammer Carpentry 1 45 no pane; can be barricaded
Floor (DA_Buildable_Floor) Structure 3 planks, 4 nails hammer Carpentry 0 40 one cell
Stairs (DA_Buildable_Stairs) Structure 6 planks, 10 nails hammer Carpentry 2 45 two cells, up to 300 uu
Low fence (DA_Buildable_LowFence) Fences 2 planks, 2 nails hammer Carpentry 0 30 can be climbed over
High fence (DA_Buildable_HighFence) Fences 4 planks, 6 nails hammer Carpentry 2 60
Low gate (DA_Buildable_LowGate) Openings 3 planks, 4 nails hammer Carpentry 1 30 opens and closes
High gate (DA_Buildable_HighGate) Openings 5 planks, 8 nails hammer Carpentry 3 60 opens and closes
Crate (DA_Buildable_Crate) Furniture 3 planks, 4 nails hammer Carpentry 1 container
Plank shelf (DA_Buildable_Shelf) Furniture 4 planks, 6 screws screwdriver Carpentry 2 container; Furniture From Scrap Wood
Plank bed (DA_Buildable_Bed) Furniture 6 planks, 8 nails, 2 rags hammer Carpentry 3 Furniture From Scrap Wood
Workbench (DA_Buildable_Workbench) Furniture 6 planks, 10 nails hammer, saw Carpentry 2 carpentry workbench
Water collector (DA_Buildable_WaterCollector) Furniture 4 planks, 4 nails, 1 sheet metal hammer Carpentry 2 Furniture From Scrap Wood
Sign (DA_Buildable_Sign) Furniture 2 planks, 2 nails hammer Carpentry 0
Metal wall (DA_Buildable_MetalWall) Metal 2 sheet metal, 2 metal bars blowtorch (20 charge), welding mask Mechanics 3 200 Weld It Right
Metal fence (DA_Buildable_MetalFence) Metal 3 metal bars blowtorch (15), welding mask Mechanics 2 120 sight passes; Shop Floor Basics

A name in italics is the magazine that teaches the piece. The twentieth piece is the campfire, DA_Buildable_Campfire.

Where each value is set:

Asset Property Default What it does
DA_Buildable_* Cost, Tools, SkillTag, MinLevel see the table above what a piece takes
DA_Buildable_* MaxHits see the table above zombie hits before skill and option
DA_Buildable_* XP 15 Carpentry points for wood, Mechanics points for metal
DA_Buildable_* GridSnap 300 uu, 50 uu for furniture placement grid
DA_Buildable_* RefundRatio, DismantleTool per piece what dismantling can give back, and with which tool
DA_Buildable_* UpgradeCost see the table above on the target piece, what an upgrade to it costs
DA_Buildable_* bBlocksVision, bVaultable per piece whether it stops sight (off on the wall frame), and whether it can be climbed over (the low fence)
DA_Buildable_*, DA_Barricade_* ChargeUse of the blowtorch see the two tables the charge a weld takes from the blowtorch
the blowtorch item ChargeMax 100 the charge a full blowtorch holds
Blueprints/ActorComponents/AC_Building OverlapMargin, FloorClearance, SupportDepth 25, 25, 30 uu the space and support test: the box of the piece is shrunk by the first and lifted by the second, so that kerbs and pavements do not count
AC_Building CascadeRadius, CascadePasses 600 uu, 5 how far and how often the host looks for unsupported pieces after a demolition
AC_Building DemolishToolUse the sledgehammer, wear 1 the demolition tool and its wear
DA_Barricade_* layers, hits per layer, Tools, SkillTag, MinLevel see the barricade table each barricade kind
DA_Barricade_* FaceOffset, LayerOffset 8 uu; (0, 0, 120) for the planks, (0, 0, 90) for the metal meshes where the layers sit in the opening
DA_Barricade_MetalSheet, DA_Barricade_MetalBars ActionSeconds, XP 8 s and 6 points; 10 s and 8 points the time of the weld, and the Mechanics points it gives
DA_Action_BuildPlace, DA_Action_BarricadeReinforce, DA_Action_BuildDismantle BaseDuration 4 s, 3 s, 3 s on Carpentry, twice as fast at level 10
DA_Action_BarricadeRemove BaseDuration 3 s taking a layer off a barricade
DA_Action_BuildUpgrade BaseDuration, XPAmount 3 s, 8 Carpentry points upgrading a frame
DA_Action_DismantleMetal BaseDuration, XPAmount 4 s, 5 Mechanics points dismantling metal
DA_Action_Demolish BaseDuration 8 s demolition, 4 Strength points
DataAssets/Progression/Childs/DA_SkillEffects_Default Stat.Build.Durability.*, Stat.Dismantle.FailChance.*, Stat.Dismantle.Yield.* x1 to x2; 0.30 to 0; x0.6 to x1.4 the skill curves of solidity and dismantling
DataAssets/Noise/Childs/DA_NoiseSettings_Default placing, reinforcing, dismantling, demolishing 0.9, 0.9, 0.8, 2.5 how far zombies hear the work

Change the survivor's copy of AC_Building

BP_Survivor carries its own Building component, and that copy is the one the game reads. Change OverlapMargin, CascadeRadius and the other AC_Building values on it, not only on the class.

Change it

  • To tune a piece, edit its DA_Buildable_*: cost, tools, skill, hits, time, refund, upgrade targets and costs.
  • To add a piece, add a PDA_BuildableDef to Buildables in DA_BuildBook_Default, as Add a buildable piece and the tutorial of the same name show.
  • To add a barricade kind, add a child of PDA_BarricadeSettings to Barricades in DA_BuildBook_Default. Every window and door then offers it.
  • To place a barricade that Interact reinforces, put a BP_Barricade on the inner face of a window, the face the camera sees, FaceOffset from the middle of the wall on the side of the room.
  • To make a piece learned instead of known, put it in a magazine's TeachesPieces, or in the GrantedPieces of an occupation or a trait.
  • To change solidity for one world, set its Construction strength option. To forbid demolition in it, turn Demolition off.