Files
WT-Offline/gui-patches/battle/local-host-spawn-score/patch.jsonc
T
N0VAN0M4LY ff755ce551 Replace placeholder headers of six baseline battle patches
Two exe patches (allow-local-host-bot-spawns, allow-local-host-player-respawn) and
four GUI patches (local-host-spawn-score, quit-local-host-to-debriefing,
quit-local-host-spectator-to-debriefing, ready-local-host-respawn) still carried
the migration placeholder comment and partly non-English titles. Each now has the
three header lines (what it changes, why the client, what happens without it), an
English title, feature tags that name existing feature inventory rows, and a note
that it is kept from the baseline without a re-review in the LocalMP rework.
No patch content changes.

Checked: check-patches (12 ready), check-gui (35 patches compile).
2026-11-28 13:02:07 +08:00

23 lines
820 B
JSON

// Register the host callbacks get_max_spawn_score and get_unit_spawn_score that the client scripts lack, and
// keep the mission's persistent spawn costs (customSpawnScore/persistent_costs) from being scaled by weapons.
// Why the client: on a dedicated server these callbacks are server scripts; a LocalMP host has none.
// Without it: spawn points are always 0 in modes with spawn scores (ground realistic and others).
// Kept from the baseline; not re-reviewed in the LocalMP rework.
{
"id": "battle/local-host-spawn-score",
"title": "Register the LocalMP host's spawn score callbacks",
"file": "scripts/respawn/respawnstate.nut",
"features": [
"K-出生点数 / 重生"
],
"verified_on": [
"2.61.0.37"
],
"edits": [
{
"find": "find.nut",
"replace": "replace.nut"
}
]
}