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:
1 parent
646be7afb9
commit
f1ec034994
24 files changed
+240
-24
No files matched your search
@@ -58,11 +58,12 @@ char *local_mp_strdup(const char *s);
|
||||
const char *local_mp_unit_name(const uint8_t *unit);
|
||||
|
||||
/* Player state & slot tracking notifications shared with loadout module. */
|
||||
void local_mp_players_queue_spawn(int32_t slot_id, int32_t spare_type, int is_silent);
|
||||
void local_mp_players_queue_spawn(int32_t slot_id, int32_t spare_type, int32_t base_id, int is_silent);
|
||||
|
||||
/* Combat event reporting to the GUI scripts (local_mp_awards.c). */
|
||||
/* Local player events sent to the GUI scripts (local_mp_awards.c). */
|
||||
void local_mp_report_award_event(const LocalMpAwardEvent *ev);
|
||||
void local_mp_report_nuclear_strike(void);
|
||||
void local_mp_report_airfield_spawn(const char *unit_name, int32_t base_id);
|
||||
|
||||
/* A destroyed unit that is some player's mission support unit: its reference is freed once the
|
||||
* player has been given back control (local_mp_support.c). */
|
||||
|
||||
Reference in new issue
Block a user