← ClaudeAtlas

dayz-basebuildinglisted

Author, extend and debug DayZ buildable structures on BaseBuildingBase: fences, watchtowers, gates, walls, shelters, tents, flag poles and barbed wire. Covers kit recipe/deploy/hologram flow, Construction{} fields, BaseBuildingBase/Construction/ConstructionPart/ConstructionActionData, required/conflicted parts, build/dismantle/destroy actions, synced-bitmask persistence, damage-zone mapping and the Fence gate state machine. Use for "base won't save", parts reset/disappear after restart, construction part or action missing, CanBuild/CanBuildPart, RegisterPartForSync, blocked dismantle, missing collision or hologram placement. Always invoke before authoring/debugging a buildable structure or its persistence. Delegate geometry to dayz-model-pipeline, script APIs to enforce-script-reference, persistence audit to rigorous-data-audit and packaging to dayz-pbo-build. Also 1.30: ConstructionBase/Rebuilding, BuildPartServerEx, bricks/mortar, fence code lock. Not terrain holes: dayz-underground.
willy92wins/DayZ-Modding-Knowledge-Pack · ★ 25 · API & Backend · score 78
Install: claude install-skill willy92wins/DayZ-Modding-Knowledge-Pack
# DayZ Base Building Buildable player structures in DayZ — fences, watchtowers, gates, shelters, flag poles — are built by **extending the vanilla `BaseBuildingBase` chain**, not from `EntityAI`. Inheriting `BaseBuildingBase` gives you the whole system for free: the per-part build/dismantle/destroy action set, the synced-bitmask persistence, the hologram deploy flow, and the damage-driven part destruction. The only things you author are a `.p3d` with the right selections + memory points and a config `Construction{}` block that declares each buildable part. This skill owns the base-building-specific layer. Generic geometry, config-script mechanics, packaging and data-critical audit are delegated to the skills in the table below. The whole system is ~6 script files + 1 config block. All `path:line` citations here point at real vanilla source under `P:\scripts\` (= `<dayz-projects>\scripts\`) and `DZ\gear\camping\config.cpp`. Verify against those before writing any class name or field. (until 1.29: that ~6-file count). (since 1.30: `ConstructionBasic` in `3_Game`, `ConstructionBase` / `Construction` / `Rebuilding` in `4_World`, plus `ConstructionPartTypeData` on `EntityType`. Full map in `references/dayz-1-30-construction-rebuilding.md`.) ## THE MODEL — kit → deploy → build → upgrade → dismantle The four-class quartet and who owns what: | Class | Role | Where | |---|---|---| | `BaseBuildingBase: ItemBase` | the persisted world entity; owns one `ref Construction`, the sync