Skip to content

Shelved PR 289 downed pilot rescue race

rayswaynl edited this page Jul 3, 2026 · 1 revision

Shelved: PR #289 — Downed-pilot rescue/capture race

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

WHAT

Turns every AI aircraft shoot-down into a 5-minute race. When an AI-crewed aircraft is destroyed, a downed pilot parachutes from the crash and a fuzzy map marker (offset ~400 m from the true position) goes up for all sides. The first side to get a live man within 20 m of the actual pilot captures him and earns funds. If nobody reaches him, the pilot auto-dies and the marker clears after the timeout. A cap on simultaneous downed pilots prevents FPS spikes. It gives infantry a reason to race into what is normally an air-vs-air exchange.

WHERE

  • PR: #289 — "[fable] Downed-pilot rescue/capture race (flag, default 0)".
  • Branch / head commit: fable/downed-pilot-race @ 74a5504157ba79f7bac1d664d19139b494108d0d.
  • Flag (if any): WFBE_C_PILOT_RACE = 0 in Init_CommonConstants.sqf (master switch). Tunables: WFBE_C_PILOT_CAPTURE_REWARD = 500 (funds via ChangeSideSupply), WFBE_C_PILOT_TTL = 300 (seconds to auto-kill + clear), WFBE_C_PILOT_MAX_LIVE = 2 (global concurrent-pilot cap).
  • Files touched: Server/Server_PilotRace.sqf (new, ~217 lines — attaches a killed-EH to AI-crewed air hulls, ejects the pilot under a chute, posts the fuzzy marker, polls for a 20 m capture, handles TTL/cleanup and round-end cleanup), Server/Init/Init_Server.sqf (flag-gated execVM hook), and Common/Init/Init_CommonConstants.sqf (4 flag seeds). Mirrored to Takistan (and Zargabad). AI-pilot-only: isPlayer (driver _v) hulls are skipped at both EH-attach and kill time; civilian hulls excluded.

WHY SHELVED

Ray's reason (2026-07-03): "no" — declined.

HOW TO REVIVE

  • Recover from fable/downed-pilot-race @ 74a5504157ba79f7bac1d664d19139b494108d0d. Server-only; no client pbo filename bump required.
  • Set WFBE_C_PILOT_RACE = 1 (or expose as a lobby param) to enable; tune reward / TTL / live-cap as needed.
  • The change is fully self-contained (one new server script + hook + flags) with no AI-team or spawn-file edits, so a straight rebase onto Build 88+ should apply cleanly — re-verify the Init_Server.sqf hook insertion point.

Sidebar

Clone this wiki locally