docs(patches): describe 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).
This commit is contained in:
1 parent
503b73046e
commit
67c0189213
6 files changed
+45
-20
No files matched your search
@@ -1,9 +1,14 @@
|
||||
// Battle patch pending review in the LocalMP rework; its comment is rewritten when the review concludes.
|
||||
// Let BotSystem::changeUnit spawn the AI players' vehicles on a LocalMP host (0x11b2c3a: the g_multiplayer
|
||||
// null guard becomes a jump to the Unit::changeAircraft call at 0x11b314e).
|
||||
// Why the exe: the build drops the dedicated server's script spawn permission, so with a multiplayer
|
||||
// session the function only logs "spawn denied by scripts"; non-host sessions already return at its start.
|
||||
// Without it: no AI vehicle ever spawns in a LocalMP battle.
|
||||
// Kept from the baseline; not re-reviewed in the LocalMP rework.
|
||||
{
|
||||
"id": "battle/allow-local-host-bot-spawns",
|
||||
"title": "允许本地多人主机模式下 BotSystem 为双方 AI 槽位刷出载具",
|
||||
"title": "Let BotSystem spawn AI vehicles on a LocalMP host",
|
||||
"features": [
|
||||
"L-AI出车"
|
||||
"K-AI 对手与队友"
|
||||
],
|
||||
"requires": [],
|
||||
"verified_on": [
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
// Battle patch pending review in the LocalMP rework; its comment is rewritten when the review concludes.
|
||||
// Let the LocalMP host's player spawn in versus modes (GM_DOMINATION and others): the UnitRespawnRequest
|
||||
// (0xf02f) branch of Unit::onEvent takes the spawn path at 0x1044f03 for every game mode (0x1044ecc jb -> jmp).
|
||||
// Why the exe: the client keeps the spawn path only for GM_SINGLE_MISSION and GM_DYNAMIC; the versus modes'
|
||||
// branch belongs to the dedicated server, which the build drops, and nothing outside the function decides it.
|
||||
// Without it: after the "To Battle!" countdown the player falls back to vehicle selection.
|
||||
// Kept from the baseline; not re-reviewed in the LocalMP rework.
|
||||
{
|
||||
"id": "battle/allow-local-host-player-respawn",
|
||||
"title": "允许本地多人主机模式下人类玩家在对战模式(GM_DOMINATION 等)中正常刷出载具参战",
|
||||
"title": "Let the LocalMP host's player spawn in versus modes",
|
||||
"features": [
|
||||
"K-战局任务加载"
|
||||
"K-出生点数 / 重生"
|
||||
],
|
||||
"requires": [],
|
||||
"verified_on": [
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
// Battle patch pending review in the LocalMP rework; its comment is rewritten when the review concludes.
|
||||
// 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 missing LocalMP host spawn-point callbacks and preserve persistent costs",
|
||||
"title": "Register the LocalMP host's spawn score callbacks",
|
||||
"file": "scripts/respawn/respawnstate.nut",
|
||||
"features": [
|
||||
"K-战局任务加载"
|
||||
"K-出生点数 / 重生"
|
||||
],
|
||||
"verified_on": [
|
||||
"2.61.0.37"
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
// Battle patch pending review in the LocalMP rework; its comment is rewritten when the review concludes.
|
||||
// Leave a LocalMP battle from the respawn or spectator screen to the debriefing (quitMission in starthud.nut).
|
||||
// Why the client: quitMission calls leave_mp_session for every multiplayer session, and the native
|
||||
// leave_mp_session (0x17909a0) returns at once on a host.
|
||||
// Without it: "Return to hangar" on the respawn or spectator screen does nothing.
|
||||
// Kept from the baseline; not re-reviewed in the LocalMP rework.
|
||||
{
|
||||
"id": "battle/quit-local-host-spectator-to-debriefing",
|
||||
"title": "重生与观战界面在本地多人主机模式下退出任务时直接进入战后结算",
|
||||
"title": "Quit a LocalMP battle from the respawn screen to the debriefing",
|
||||
"file": "scripts/hud/starthud.nut",
|
||||
"features": [
|
||||
"K-战局任务加载",
|
||||
"M-战后结算"
|
||||
"L-结算页"
|
||||
],
|
||||
"verified_on": [
|
||||
"2.61.0.37"
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
// Battle patch pending review in the LocalMP rework; its comment is rewritten when the review concludes.
|
||||
// In a LocalMP random battle show the normal quit confirmation (crews left, early leave) instead of the
|
||||
// custom-room host warning, and quit to the debriefing on confirm (flightmenu.nut).
|
||||
// Why the client: the flight menu tests is_mplayer_host before GM_DOMINATION, and the native
|
||||
// leave_mp_session (0x17909a0) returns at once on a host.
|
||||
// Without it: Esc -> Return to hangar shows the host warning and cannot leave the battle.
|
||||
// Kept from the baseline; not re-reviewed in the LocalMP rework.
|
||||
{
|
||||
"id": "battle/quit-local-host-to-debriefing",
|
||||
"title": "局内菜单在本地多人主机模式下显示常规随机战退局提示并直接进入战后结算",
|
||||
"title": "Quit a LocalMP battle from the flight menu to the debriefing",
|
||||
"file": "scripts/flightmenu/flightmenu.nut",
|
||||
"features": [
|
||||
"K-战局任务加载",
|
||||
"M-战后结算"
|
||||
"L-结算页"
|
||||
],
|
||||
"verified_on": [
|
||||
"2.61.0.37"
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
// Battle patch pending review in the LocalMP rework; its comment is rewritten when the review concludes.
|
||||
// Mark the economic state ready on a LocalMP host and re-check the spawn bases, so the respawn screen opens.
|
||||
// Why the client: misloadingstate.nut waits for on_update_es_from_host, which only the battle server's sync
|
||||
// packet raises; a LocalMP host sends no such packet to itself.
|
||||
// Without it: the battle stays on "Waiting for the server..." and the crew list never appears.
|
||||
// Kept from the baseline; not re-reviewed in the LocalMP rework.
|
||||
{
|
||||
"id": "battle/ready-local-host-respawn",
|
||||
"title": "本地多人主机模式下自动置位战局经济与出生点就绪状态以打开乘员组重生面板",
|
||||
"title": "Open the respawn screen on a LocalMP host",
|
||||
"file": "scripts/respawn/misloadingstate.nut",
|
||||
"features": [
|
||||
"K-战局任务加载"
|
||||
"K-出生点数 / 重生"
|
||||
],
|
||||
"verified_on": [
|
||||
"2.61.0.37"
|
||||
|
||||
Reference in new issue
Block a user