Skip to content

Shelved PR 315 avenger sam ambush

rayswaynl edited this page Jul 3, 2026 · 1 revision

Shelved: PR #315 — Avenger SAM ambush (WEST air-denial)

State: Ray-shelved 2026-07-03 (Build 89 pick round). PR #315 was closed without merging; nothing from it is in Build 88/89.

WHAT

Adds a default-off WEST-side mirror of the existing GUER air-defense loop. When enabled, enemy EAST/GUER aircraft flying over an active WEST-held town can trigger one crewed Avenger AA vehicle (HMMWV_Avenger_DES_EP1) to spawn nearby, defend for a short window, and then self-clean player-safely (a player who boards it keeps it). It has its own spawn cap, quiet-despawn timer, and lifetime cap.

WHERE

  • PR: #315 — "Add Avenger SAM ambush hook".
  • Branch / head commit: codex/43-avenger-sam-ambush @ c05bc1319632019d2df821e0c350144552fd108d.
  • Flag (if any): WFBE_C_AVENGER_SAM_AMBUSH = 0 (master switch, default OFF). Tunables: ..._CHANCE = 1, ..._MAX = 2 (global alive cap), ..._LIFETIME = 600, ..._QUIET_DESPAWN = 180, ..._RANGE = 900, ..._CLASS = "HMMWV_Avenger_DES_EP1".
  • Files touched: Server/Server_GuerAirDef.sqf (a separate WEST Avenger registry added into the existing maintain loop: prune/self-clean block + spawn block); Common/Init/Init_CommonConstants.sqf (7 constants). Mirrored Chernarus + Takistan.

WHY SHELVED

Ray was offered two Avenger/SAM air-denial approaches — the Iron-Dome wildcard (#357) and this Avenger SAM ambush (#315) — and on 2026-07-03 picked NEITHER ("neither Avenger path"). Both siblings are shelved together. The feature was default-off and never live, so nothing needs reverting.

HOW TO REVIVE

  • Recover from branch codex/43-avenger-sam-ambush @ c05bc1319632019d2df821e0c350144552fd108d; the WEST Avenger registry is bolted onto Server_GuerAirDef.sqf and gated by WFBE_C_AVENGER_SAM_AMBUSH, so it can return default-off.
  • Ray declined both Avenger paths this round — a revival should present a single chosen air-denial design (not both #315 and #357).
  • Validate in-engine: confirm the Avenger only spawns for genuine enemy-air incursions over active WEST towns, respects the alive cap (_samMax), despawns on quiet/lifetime, and that the player-safe teardown never deletes a vehicle a player has boarded.
  • Watch group budget: each ambush spawns a crewed vehicle + group; verify it prunes reliably so it can't accumulate under sustained air pressure.

Sidebar

Clone this wiki locally