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.
20 lines
813 B
JSON
20 lines
813 B
JSON
// Feed LocalMP airfield delays into the stock slot countdown and base lock refresh.
|
|
// The local matching service does not receive the flight server's per-slot delay snapshots.
|
|
// The spawn button and base list need the host departure times to apply the same delay.
|
|
{
|
|
"id": "battle/use-local-airfield-respawn-delay",
|
|
"title": "Use LocalMP airfield delays in the respawn screen",
|
|
"features": ["K-Spawn score and respawns"],
|
|
"variants": [
|
|
{
|
|
"written_for": "2.61.0.58",
|
|
"file": "scripts/respawn/respawn.nut",
|
|
"edits": [
|
|
{ "find": "find-spawn-check.nut", "replace": "replace-spawn-check.nut" },
|
|
{ "find": "find-slot-delay.nut", "replace": "replace-slot-delay.nut" },
|
|
{ "find": "find-base-refresh.nut", "replace": "replace-base-refresh.nut" }
|
|
]
|
|
}
|
|
]
|
|
}
|