The battle awards (streaks) of unlocks.blk are now judged by the local service from the battle's facts: the player's combat events, each life and whether it ended in death, the HUD kill log and the final scoreboard. The record patch also sends each fact live over the matching connection (wto_battle.fact); the awards it completes come back and are shown with the stock award banner and kill log entry. After the battle the awards become EULT_NEW_STREAK logs, which the stock debriefing lists on its left, and their Silver Lions are paid and shown in the Unlocks row. Modes whose facts are not reported, and best-player awards limited by battle rating, are never given.
27 lines
1010 B
JSON
27 lines
1010 B
JSON
// Record the local player's lives, combat events and the battle's kill log in a LocalMP battle,
|
|
// show the reward banner, and pass each fact to the local service live to show the battle awards
|
|
// (streaks) it completes.
|
|
// Why the client: online the battle server prices each event, judges the awards and sends both
|
|
// banners (packet 0xb03d, streak messages); a LocalMP host has no battle server, so the native
|
|
// bridge reports the facts as the HUD event "wtoLocalMpExpEvent" and only the client sees spawns,
|
|
// deaths and the kill log.
|
|
// Without it: no reward or award banners in battle and nothing to settle after it.
|
|
{
|
|
"id": "battle/record-local-battle-awards",
|
|
"title": "Record LocalMP battle facts and show their reward and award banners",
|
|
"file": "scripts/hud/hudrewardmessage.nut",
|
|
"features": [
|
|
"K-击杀、助攻、占点计分",
|
|
"L-战斗奖章"
|
|
],
|
|
"verified_on": [
|
|
"2.61.0.37"
|
|
],
|
|
"edits": [
|
|
{
|
|
"find": "find.nut",
|
|
"replace": "replace.nut"
|
|
}
|
|
]
|
|
}
|