Skip to content

Air war v5: squadrons, missions, scramble AI, BDA and pilot stakes - #3

Open
CarlBarl wants to merge 1 commit into
feature/intel-warfare-v3from
feature/air-war-v5
Open

Air war v5: squadrons, missions, scramble AI, BDA and pilot stakes#3
CarlBarl wants to merge 1 commit into
feature/intel-warfare-v3from
feature/air-war-v5

Conversation

@CarlBarl

Copy link
Copy Markdown
Owner

What

  • Functional air war: squadrons live as pools on the carrier and airbases (real CVW-9 composition, Iranian F-14/MiG-29/Su-24/Su-35 wings), flights launch as real map units on three mission types — CAP stations that auto-intercept hostile aircraft, strike packages that transit, release and return, and AEW orbits that extend the sensor/datalink picture.
  • Sortie economy on CMO's published numbers: 90-min CAP quick-turns, 6 h/20 h strike turnarounds, 30% maintenance stand-down at start, a SURGE OPS lever (96 h of halved ready times), extended-range missions taxing buddy-tanker sorties, and a 2-6 h strike planning delay.
  • Iran plays scramble-only: interceptors launch against detected USA flights, the Su-35s only defend Tehran, and parked airframes die on the ramp when bases are hit — satellite passes now report ramp counts as the BDA channel for enemy air strength.
  • Pilot stakes: lost flights roll KIA/rescued/POW, drain war support accordingly, and surface in the OSINT feed.
  • New AIR OPERATIONS panel (readiness, active missions, mission composer) + map glyphs for stations and strike runs.

Why

The game had AWACS and SAMs but no flyable aircraft — the biggest gameplay hole in the roadmap (Wave C). This is the smallest air model the genre evidence says is actually fun: missions, never per-airframe micromanagement.

Verification

  • 697 tests green (56 new: lifecycle, intercepts, BDA math, pilot-fate drains, scramble AI, mid-mission save/load), tsc clean.
  • Playwright smoke passes end to end on the production build.
  • Review-loop: this PR goes through automated review → fix → re-review until clean (new per-feature process).

…t stakes

Engine (air-ops.ts): full lifecycle on the frozen scaffold contracts.
Launches deduct squadron pools (planning delay gates strikes, extended
range costs buddy-tanking sorties), flights spawn as real aircraft
units; CAP holds a racetrack and auto-intercepts hostile aircraft
contacts with the A2A pK model (stealth defends at half pK, mutual
exchanges pair-deduped per interval); strikes transit, release the
full magazine through launchMissile with fire-control quality, and
RTB; AEW orbits feed the existing sensor network; RTB is derived from
state each pass so saves resume mid-mission; recovery restores pools
on CMO turnaround clocks (surge ops halves them for 96 h). Iranian
scramble AI launches interceptor CAPs against detected USA flights
(2 concurrent, Su-35s defend Tehran only). SEAD escort ships the
ELINT-reveal slice; the SAM pk reduction is documented BACKLOG.

BDA (air-bda.ts): airbase/carrier damage destroys parked airframes
(shelter factor 0.5), host destruction wipes the deck; satellite
passes now caption ramp airframe counts — the only legal channel for
enemy pool intel. Pilot fates drain war support (KIA -2, POW -4,
rescued -1) and feed the OSINT spotter/aggregator accounts.

UI: AIR OPERATIONS panel (squadron readiness, active missions with
cancel, mission composer with kind/squadron/size/target/station,
SEAD + extended-range options, SURGE OPS toggle), AIR button + SURGE
chip in the TopBar, station racetracks and strike target lines on the
map.

697 tests green (56 new), tsc clean, smoke passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ashfall-command Ready Ready Preview, Comment Jun 11, 2026 8:30pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant