Files
WT-Offline/apps/server/tuning/battle.jsonc
T
N0VAN0M4LY d0e4797fe7 feat(battle): add Nuclear Escalation tactical and strategic nuclear carriers
Connect stage-unlocked nuclear carriers to Air Realistic sub-mode 103
(Nuclear Escalation) and expose a player toggle for stage-3 megaton
strategic bombers:

- Dataset & profile grants: extract tactical killstreak nuclear carriers
  (5 kt / 30 kt Nuclear Escalation presets) and megaton strategic bombers
  (nt_b_52h / nt_tu_95m) from wpcost.blk in battle-spawn-rules (v4), and
  grant their required weapon/modification records in
  support-plane-modifications.ts.
- Server slot selection & tuning: add nuclearEscalationStrategicBombers
  (default true) in tuning/battle.jsonc, battle-tuning.ts, and
  launcher-tuning.ts; add one nation-matched tactical carrier per session
  rank bracket (with allowedWeapons limited to its Nuclear Escalation
  presets) and, when enabled, one stage-3 strategic bomber to
  extraBattleSlots; include modeTag in battle launch notifications.
- GUI patch & launcher UI: add battle/filter-extra-slot-weapons on
  scripts/weaponry/weaponryinfo.nut to filter extra-slot presets by
  allowedWeapons (hiding Ground RB zero-yield presets at stage 0) and to
  fall back to LocalMP launch metadata for GameModeRestrictions; expose
  the strategic bomber toggle in the launcher Battle tuning section.

Verified with root and launcher typechecks, launcher build, full
check-gui on 2.61.0.37 and 2.61.0.58 (49 patches across 37 .nut files),
and slot selection check across all 10 nations on 2.61.0.58 stock data;
pending in-game verification.
2026-12-02 23:03:15 +08:00

57 lines
2.6 KiB
JSON

// Offline battle session capacity, AI bot pool rules, nation coalitions, and post-battle multipliers.
{
// Offline multipliers on every battle reward, Silver Lions and Research Points (1.0 = the rates of
// tuning/battle-economy.jsonc and the game files).
"rewardMultiplierSilverLions": 1.0,
"rewardMultiplierResearchPoints": 1.0,
// LocalMP session capacity (16v16 = 32 total slots: 1 local player + up to 31 AI bots).
"maxPlayers": 32,
"maxBots": 31,
// Reduced LocalMP session capacity when Tactical Skies (`small_teams_`) is selected (8v8 = 16).
"smallTeamsMaxPlayers": 16,
// Chance (0..1) of rolling an enabled sub-mode (Night Battles, Tactical Skies, Bullet Hell,
// Nuclear Escalation, Naval EC) when queued alongside the classic mode; 1.0 when classic is off.
"subModeChance": 0.5,
// Matchmaking economic-rank spread around the player's lineup mrank (3 steps = +/- 1.0 BR).
"brSpreadMrank": 3,
// Offline ceiling for classic Air RB missions with fixed airfields and no stock rank ranges.
// The default reaches the end of the stock mid-rank airfield band (BR 6.7).
"fixedAirRealisticMaxMrank": 17,
// Maximum vehicles per unit category (tanks, aircraft, ships) emitted into customBots.
"botPoolLimitPerType": 80,
// Realistic Battles multi-nation coalition size bounds and mixed-battle probabilities.
"rbCoalitionMinCountries": 2,
"rbCoalitionMaxCountries": 5,
"rbGroundMixedChance": 0.08,
"rbAirMixedChance": 0.25,
"rbNavalMixedChance": 0.70,
// Simulator Battles Cold War / modern bloc cutoff mrank (18 = BR 7.0).
"simColdWarMinMrank": 18,
// Strike UCAV extra slot (char.vromfs.bin config/wpcost.blk ucav_*_killstreak, one per country).
// The game files have no rule for when it is offered or what it costs (online the battle server
// decides). Offer rule, offline design: in these game modes, when the session's top rank is at
// least the UCAV's own rank minus the allowance (0 = the UCAV's BR fits the session). Spawn cost:
// 750, as the live game shows for the MQ-1 in a Ground RB 12.7 lineup (screenshot of the live game).
"strikeUcavModes": ["tank_event_in_random_battles_historical"],
"strikeUcavSessionMrankAllowance": 0,
"strikeUcavSpawnScore": 750,
// AI bot respawn limits per battle in multi-slot versus modes.
"tankBotRespawns": 3,
"airBotRespawns": 2,
// Offer a stage-3 megaton strategic bomber (B-52H / Tu-95M) alongside the tactical nuclear
// carrier in Air RB Nuclear Escalation (sub-mode 103). Disable to use tactical 5 kt / 30 kt
// carriers only, matching the regular live rotation.
"nuclearEscalationStrategicBombers": true
}