Archived in favor of total rewrite from the ground up with noticably more human involvement, details from this will be reused however this repo will not be.
This repository has been archived on 2026-11-23. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • GDScript 94.4%
  • Python 5.2%
  • GAP 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-16 21:36:19 +00:00
.forgejo/workflows Wire grip_driver_check into CI (was run only ad hoc) 2026-11-16 18:48:09 +00:00
addons DA Mod Editor: rebuild the dock — single pane, Inspector-style (issue #47 Phase 3) 2026-11-16 18:48:09 +00:00
data Phase 4: migrate gameplay rules to inline module file and update tooling 2026-11-06 02:33:47 +00:00
docs Fix the generic-gun-models fallout (issue #35) 2026-11-10 05:32:03 +00:00
examples/example_module Item format v2 (issue #47) 2026-11-16 18:48:08 +00:00
loader modtool_meta.json is editor-only: ignored by the item scan and the runtime loader 2026-11-16 18:48:08 +00:00
modules Item: carry model_path into the item definition 2026-11-16 18:48:09 +00:00
tests Grip data fixes for the rebuild: tertiary tier maps to GENERAL; handgun carries one property tree 2026-11-16 18:48:09 +00:00
tools Phase 0 dead sweep: remove dead ammo/weapon/rule/code 2026-11-09 22:27:19 +00:00
.gitignore Replace Test Gun with Generic Gun Model 2026-11-09 20:57:05 -08:00
CHANGELOG.md Phase 6: cleanup, final grep pass and version tag 2026-11-06 02:33:47 +00:00
LICENSE Initial commit 2026-10-20 19:57:41 +00:00
mechanics.json Fix the generic-gun-models fallout (issue #35) 2026-11-10 05:32:03 +00:00
MECHANICS.md Fix the generic-gun-models fallout (issue #35) 2026-11-10 05:32:03 +00:00
openxr_action_map.tres Fix Hand tracking 2026-10-25 07:21:43 -07:00
project.godot Editor addon Phase A: staging scene, markers, rails (issue #35) 2026-11-10 00:54:09 +00:00
README.md Phase 5: docs, example module, pack tooling and static checks 2026-11-06 02:33:47 +00:00

DEAD AIR — game

A Godot project for DEAD AIR, Zach's open-source VR survival game. (Engine history: built on Redot LTS 26.2 through 2026-10-21; migrated to Godot — see docs/engine-migration.md for the decision record and the one-time cache-wipe step every existing checkout needs.) Started as a framework skeleton (directory layout, class names, signals, stubs); real systems land via design issues in dead-air/game-planning.

Status

Basic menu flow is in. The game boots into the Sandbox level's menu area: a persistent Game root owns the player rig and loads levels underneath it, and the same physical area serves as main menu, new-game starting area, and sandbox — modes redress it (MenuContent / StoryContent / SandboxContent groups). Menu is a world-space laser-pointer panel (mouse works too, in flat/desktop mode). Continue is present but disabled until save/load lands; locomotion is provisional (left-stick smooth + snap turn) pending the #19 locomotion decisions.

Headless check: tests/smoke_menu.gd (run with godot --headless --path . --script res://tests/smoke_menu.gd).

Pins

  • Engine: Godot 4.6.3, standard build (NOT the .NET build) — pinned; upgrade only deliberately, after the test suites + a headset pass on the new version. No .NET SDK is required to open, run, or test this project. (Was Redot LTS 26.2 until the 2026-10-21 migration — docs/engine-migration.md.)
  • Blender LTS 5.2.2 — for asset work.

Starting in VR

OpenXR starts only when asked: the editor's Play button passes --xr-mode on (Project Settings → Editor → Run → Main Run Args), and exported builds turn it on through xr/openxr/enabled.template. A plain command-line run (godot --path .) starts flat — add --xr-mode on for the headset. Why: Godot crashes inside the engine when a windowless (--headless) run starts OpenXR while a runtime such as SteamVR is open, and tools that build/check the project run that way. Flat runs also never parse the action map, so tools on older Godot versions don't trip over 4.6-only bindings.

Scripting rule

GDScript only. The project contains no C# and uses the standard Godot build. Adopting .NET is a project-wide switch (editor build, SDK, MSBuild, export templates — paid by every contributor for a subsystem-local benefit), so it requires a specific justification: a profiled compute-bound subsystem that lives in .NET data and crosses to the engine in bulk, or a named load-bearing NuGet library with no adequate GDScript/GDExtension alternative. Native hot kernels go to GDExtension, which works in the standard build.

Design source

The design record lives in dead-air/game-planning issues:

  • #19 — base-layer primitives (Item → Health & Damage → Interaction → Inventory → Player Avatar → Health Display)
  • #24 — development milestones / systems roadmap (render → movement → interactions → inventory → advanced movement → advanced interactions)
  • #28 — save data format: versioned registry, uniform item tree, full snapshots, containers-as-items

Packs and modules

DEAD AIR's content packages are called packs (not mods): the system is built for adding new content first; alteration is allowed but extension is the intent. Packs are .pck files mounted at startup that can shadow any base file at the same res:// path — the official release's licensed asset pack ships this way. The player model works the same: base arms are CC0 (modules/deadair/assets/player/arms/player_arms.glb), replaceable by a pack exported from Godot. Full details: docs/packs.md.

Everything is a module (Fabric-loader style): the base game is the deadair module (modules/deadair/module.json), and modules add items, tuning, levels, creatures, loot, missions, traders, dialogue and text through type-folder files and code entrypoints, with dependencies and version ranges instead of a load order. Modder guide: docs/modding.md. Example module: examples/example_module/. The loader core in loader/ has no game classes, so other Godot projects can reuse it.

Layout

  • modules/deadair/src/core/ — item registry, save game, module helpers
  • modules/deadair/src/items/ — item definitions and runtime instances
  • modules/deadair/src/health/ — health component, damage info
  • modules/deadair/src/interaction/ — grab points, grabbable, ranged grab
  • modules/deadair/src/inventory/ — container volumes, snappers
  • modules/deadair/src/player/ — XR rig, arms view model, stamina
  • modules/deadair/src/ui/ — displays
  • modules/deadair/src/input/ — controller backends and rig input
  • modules/deadair/src/rig/ — rig chain discovery
  • modules/deadair/types/ — element type scripts (item, level, rules, ...)
  • modules/deadair/items/ / levels/ / rules/ / ... — base content elements
  • loader/ — game-agnostic module loader core
  • addons/ — Godot editor plugins (godot-xr-tools, da_debug_bridge). Not to be confused with game packs (content packs) — see docs/packs.md.
  • examples/example_module/ — modder template (not loaded in a shipped game)
  • data/levels/ / data/rules/ — kept as .gitkeep; content moved to modules/deadair/