Registries¶
The game finds most of its content through lists. The save file stores an item as a text id
(ItemSaveId) and finds it again through the item registry on load, and the host refuses an action
or a recipe that is not in its list. A new asset that works in a quick test can therefore fail later:
on load, in co-op, or in a window that lists only what it was told about.
The how-to guides give the steps for each kind of asset.
The main registries¶
All paths are under Content/ZombieSurvival/DataAssets/.
| Registry | Holds | If you forget it |
|---|---|---|
Items/Childs/DA_ItemRegistry_Default |
every PDA_ItemDef |
The item works in play but vanishes on save and load. The load writes one line per lost id in the Output Log: Item id '…' read from a save is not in the item registry. |
Recipes/Childs/DA_RecipeBook_Default |
every PDA_RecipeDef |
The recipe never appears in the crafting window, and the host refuses it ("Unknown recipe"). |
Building/Childs/DA_BuildBook_Default |
every PDA_BuildableDef in Buildables, every barricade kind in Barricades |
The piece is never listed in the build window. The barricade kind is never offered on an opening, and a saved one does not come back. |
Furniture/Childs/DA_FurnitureRegistry |
every PDA_FurnitureDef in All, and the furniture of each mesh in ByMesh |
A piece of furniture created during play is not rebuilt on load. A container or a map mesh missing from ByMesh stays plain, with no furniture behind it. |
Actions/Childs/DA_ActionRegistry_Default |
every PDA_ActionDef a player may ask for |
The host refuses the action, and a button or a menu entry that asks for it finds nothing. |
Status/Childs/DA_StatusSet_Default |
every PDA_StatusDef, in Statuses, in the order of the status column |
The status is never read: no icon, no effect. |
Loot/Childs/DA_LootSettings_Default |
every PDA_LootTable, in Tables |
The table is never rolled, and what only it lists is never found on Pine Hollow. |
Zombies/Childs/DA_ZombieRegistry_Default |
every PDA_ZombieDef, in ZombieDefs |
A saved zombie of that kind is not rebuilt on load. |
The spawn plan of the map's BP_Spawner (Spawns/Childs/DA_SpawnPlan_WorldStart on Pine Hollow) |
the starting kit, and on a small map of your own its zombies and containers | Nothing of yours is spawned. |
A spawn plan lists what a map spawns, and it is read only when
the map's BP_Spawner names it. On a World Partition map, the placed BP_ZoneManager may also list
plans in SpawnPlans. Pine Hollow lists none: its zombies come from population volumes, and the
district plans DA_SpawnPlan_WorldNorth, _WorldSouth, _WorldCentre and _WorldForest stay in
Spawns/Childs/ as examples.
Other lists a new asset must join¶
| New asset | Add it to | Where |
|---|---|---|
| a skill, a trait or an occupation | its array | Progression/Childs/DA_ProgressionSettings_Default |
a skill book (PDA_BookDef) |
Books |
Progression/Childs/DA_ProgressionSettings_Default |
a repair item (PDA_RestoreDef) |
Restores |
Recipes/Childs/DA_CraftingSettings_Default |
an outfit (PDA_OutfitDef) |
Outfits |
Characters/Childs/DA_AppearanceOptions_Default |
| a body or a skin tone | Morphologies or SkinTones |
Characters/Childs/DA_AppearanceOptions_Default |
a map definition (PDA_MapDef) |
Maps, in the Class Defaults |
Blueprints/Core/BP_ZSGameInstance |
| a game option | a row | Sandbox/Childs/DA_SandboxCatalog_Default |
an ammunition magazine (PDA_MagazineDef) |
the weapon's CompatibleMagazines |
the DA_Weapon_* |
a vehicle model (PDA_VehicleDef) |
VehicleDefs of a placed BP_VehicleSpawnPoint |
the map |
| a quick command | a row | UI/Childs/DA_RadialMenu_QuickActions |
The level of a map must also be in the maps to cook (MapsToCook in Config/DefaultGame.ini, or
Edit > Project Settings > Packaging), or it is not in a packaged game.
A way to be found¶
A registered item is not in the world yet. It also needs one of these:
- a
BP_ItemPickupplaced in the map, withItemandCountset; - a line in the
Contentsof a container in a spawn plan; - on Pine Hollow, an entry in a loot table. Every shipped item is in at least one, except the ones
that
ExcludedItemsofDA_LootSettings_Defaultkeeps out.
A recipe that is not known from the start needs a way to be learned: the TeachesRecipes of a
magazine, or the GrantedRecipes of an occupation or a trait.
Found without a list¶
A few kinds of content need no list. Calibres are found through their items and weapons. A new
firearm needs only its item in DA_ItemRegistry_Default: the interface, the save and co-op read the
fields of the weapon. Animation sets are found at start by the Asset Manager, which scans
DataAssets/Animation/ and DemoContent/Epic/DataAssets/ (the PDA_AnimSet_C entry of
Edit > Project Settings > Asset Manager).