dayz-aviationlisted
Install: claude install-skill willy92wins/DayZ-Modding-Knowledge-Pack
# DayZ Aviation Modding
**DayZ has no built-in aviation class.** The proven pattern (validated in LM_Planes by Llama + Itspete-Here): hack `CarScript` as the aviation base, override its physics inside scripts, and use `class Buoyancy` for seaplane behavior. Don't try to make planes work from `EntityAI` or `Inventory_Base` — `CarScript` gives you wheels, seats, sound integration, and damage system for free.
This skill compiles patterns extracted from LM_Planes (Workshop ID `3730564764`) — the only real deployable aviation mod in Llama's catalog, with 8 aircraft + 1 amphibious car (Patty_Wagon) sharing one base class `LlamaPlaneScript`.
## Preflight invariants (check before first boot) (added 2026-07-10, LFHeli phase-1)
- **`EOnSimulate` does NOT fire on a CarScript child by default.** Vanilla `CarScript` registers only
`POSTSIMULATE`/`POSTFRAME` (`P:\scripts\4_world\entities\vehicles\carscript.c:207-208`, verified
2026-07-10). Any aviation flight loop living in `EOnSimulate` must add
`SetEventMask(EntityEvent.SIMULATE)` in the class ctor — RFFS does exactly this (`RFFSHeli_Core.c:180-181`).
(up to 1.29: `carscript.c:325-326`.) (since 1.30: `CarScript.c:207-208`. Re-open `exp\scripts\scripts\4_World\Entities\Vehicles\CarScript.c`. Detail: `references/dayz-1-30-aviation.md`.)
Symptom if missed: mod compiles, spawns, idles normally — and the flight model silently never runs.
- **`super.EOnSimulate` is an EMPTY STUB — CarScript's real per-tick work lives in `EOnPostS