feat(battle): wire Nuclear Escalation launch and airfield cooldowns

Connect Air Realistic sub-mode 103 (Nuclear Escalation) mission launch
settings and LocalMP respawn/airfield-cooldown handling:

- Server: support mode-level maxRespawns (UNLIMITED_RESPAWNS = -2) and
  per-mode missionRuleKeys so Nuclear Escalation forwards customHUD,
  stage thresholds, useSpawnDelay, afterRespawnDelaySec, and battle
  display flags from the stock missions; reject queues when no candidate
  mode is eligible for the lineup; disable spares and emit
  wtoUnlimitedRespawns for unlimited-respawn modes.
- Native: keep slots usable when wtoUnlimitedRespawns is set and emit
  wtoLocalMpAirfieldSpawn with the unit name and spawn base ID when the
  local player actually enters pilot control.
- GUI patches: track confirmed LocalMP airfield departures in
  scripts/respawn/respawnbases.nut and feed the computed per-base delays
  into scripts/respawn/respawn.nut slot countdowns and spawn checks.

Stage-unlocked dedicated event aircraft allocation by faction and room
BR is not yet wired and remains pending research. Verified with root and
launcher typechecks, check-patches and check-gui on 2.61.0.37 and
2.61.0.58, and native wto_ws.dll build; pending in-game verification.
This commit is contained in:
N0VAN0M4LY committed 2026-12-02 21:35:17 +08:00
1 parent 646be7afb9
commit f1ec034994
24 files changed
+240 -24

No files matched your search

+4 -3
View File
@@ -1,10 +1,11 @@
// In-battle award events (native/wto-net/src/local_mp_awards.c): the stock InBattleReward HUD event
// and the facts sent to the local server for awards.
// Without it: no reward banners and no battle awards in LocalMP battles.
// and the facts sent to the local server for awards. Also reports confirmed airfield departures
// for the LocalMP respawn UI, which otherwise expects the flight server to send cooldown records.
{
"module": "local_mp_awards",
"features": [
"L-Battle awards"
"L-Battle awards",
"K-Spawn score and respawns"
],
"requires": [
"local_mp_core"