Files
WT-Offline/gui-patches/battle/local-host-spawn-score/patch.jsonc
T

23 lines
826 B
JSON

// Supply the missing get_max_spawn_score and get_unit_spawn_score callbacks from the battle launch plan.
// Fixed support costs (customSpawnScore/persistent_costs) ignore the current weapon multiplier.
// Why the client: on a dedicated server these callbacks are server scripts; a LocalMP host has none.
// Without it: LocalMP ground realistic starts with zero points and has no base vehicle costs.
// aces.exe 2.61.0.37: initSpawnScoreFunction at 0x2e4559, getSpawnScoreFunction at 0x2e2463.
{
"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"
}
]
}