The extra game modes now use the battle rating the matching server computed for the lineup also out of a squad, so the local service decides it and the client no longer recomputes the lineup's rank. The scoreboard flag fallback and the countdown button patch keep their behaviour; their comments now state what the stock code does, why the fallback is needed before the first spawn, and that the countdown flicker's trigger on the host is still to be found.
23 lines
787 B
JSON
23 lines
787 B
JSON
// Show the battle's configured countries as a team's flags on the scoreboard while none of its players has a vehicle.
|
|
// Why the client: scripts/statistics/mpStatistics.nut getCountriesByTeam derives flags only from the
|
|
// players' living vehicles, which nobody has before the first spawn (offline design: the live
|
|
// game's look during the countdown cannot be checked).
|
|
// Without it: no team flags during the start countdown.
|
|
{
|
|
"id": "battle/scoreboard-team-country-flags",
|
|
"title": "Fall back to the battle's countries for scoreboard flags before anyone spawns",
|
|
"file": "scripts/statistics/mpstatistics.nut",
|
|
"features": [
|
|
"K-计分板"
|
|
],
|
|
"verified_on": [
|
|
"2.61.0.37"
|
|
],
|
|
"edits": [
|
|
{
|
|
"find": "find.nut",
|
|
"replace": "replace.nut"
|
|
}
|
|
]
|
|
}
|