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
@@ -189,7 +189,7 @@ static void __fastcall hook_sem_change_aircraft_send(
|
||||
mplayer[LMP_MP_OFF_GUI_STATE] != LMP_GUI_STATE_CA_READY)
|
||||
g_lmp_set_player_gui_state((int32_t)mplayer[LMP_MP_OFF_PID], LMP_GUI_STATE_CA_READY);
|
||||
|
||||
local_mp_players_queue_spawn(req_slot_id, req_spare_type, is_silent);
|
||||
local_mp_players_queue_spawn(req_slot_id, req_spare_type, req_base_id, is_silent);
|
||||
log_line("local_mp: configured unit='%s' weapon='%s' slot=%d silent=%d",
|
||||
unit_name ? unit_name : "", weapon_name ? weapon_name : "", (int)req_slot_id, is_silent);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user