Furniture¶
Every cupboard, bed, chair and crate of Pine Hollow is a piece of furniture with its own Data Asset. Some hold loot, some are workbenches or beds, and eighteen can be picked up and put down somewhere else.
In the game¶
Right-click a piece you can move and choose Pick up. It takes 2 s, and the piece goes into your bag as an item, up to 4 of the same piece in a stack. The game refuses with "Cannot be moved", "Empty it first", "Tool needed: …", "Skill too low" or "Too heavy".
To put it down, left-click it in your bag. A ghost follows the mouse on a 50 uu grid, X turns it a quarter, and a left click places it. It needs the same free space and support as a built piece.
Eighteen pieces can be carried, from the chairs and the crate to the television and the plank bed.
The plank shelf also asks for a screwdriver. bMovable on each definition says which pieces move.
The generator moves the same way.
What else a piece does depends on its definition:
- A container is looted like any other. Dismantle it and its contents fall to the floor.
- A workbench lets you craft the recipes that ask for its station.
- A bed or a sofa offers Sleep.
- A fridge keeps food longer while it has power.
- A piece that can be dismantled follows the rules of a built piece: a tool, a chance to fail, and part of its materials back.
Zombies never strike furniture. A piece you take from the map does not come back in that world. If two players lift the same piece at once, one gets it and the other reads "The target is gone".
The assets¶
A piece is a PDA_FurnitureDef in Content/ZombieSurvival/DataAssets/Furniture/Childs/.
DA_FurnitureRegistry, in the same folder, lists every definition in All and says in ByMesh
which definition goes with which mesh. In a map, a piece that holds things is a BP_Container, and
any other piece a BP_Furniture.
Pine Hollow has 254 pieces. 97 of them are containers.
| Asset | Property | Default | What it does |
|---|---|---|---|
DA_Furniture_* |
bMovable, MoveTool, MoveSkill, MoveMinLevel |
per piece | whether it can be picked up, and what that takes |
DA_Furniture_* |
CarriedItem, PlaceDef |
per piece | the bag item, and the hidden piece that sets it down |
DA_Furniture_* |
bDismantlable, DismantleTool, Material, DismantleYield |
per piece | dismantling |
DA_Furniture_* |
ContainerKind, Workstation, FootprintExtent |
per piece | container, bench, the space it takes |
DA_Item_Furniture_<Id> |
MaxStack |
4 | how many carried pieces stack |
DA_Buildable_Move_<Id> |
GridSnap |
50 uu | grid of the placement ghost |
DataAssets/Actions/Childs/DA_Action_FurniturePickUp, DA_Action_FurniturePlace |
BaseDuration |
2 s each | time to pick up and to set down |
DataAssets/Noise/Childs/DA_NoiseSettings_Default |
moving furniture | 0.4 | how far zombies hear it |
Picking up a piece also earns 1 point of Strength.
Change it¶
- To make a piece movable or not, set
bMovable, then what moving it takes. - To add a piece, follow Add furniture.
- To turn the meshes of your own map into furniture, run Convert Level or Convert Selected in
Blueprints/Editor/EUB_FurnitureTool, as Build a house shows. A mesh with no row inByMeshstays plain scenery. - To let players build a piece, add an entry to
DA_BuildBook_DefaultwhoseFurnitureDefpoints at it.