play_solo.bat: open the mission menu (mech/map/options pickers)
play_solo hardcoded -egg ARENA1.EGG, bypassing the miniconsole front end that already carries the full pickers: SOLO/RAW-SOLO/HOST-LAN/JOIN-LAN modes, 8 maps, all 18 mechs, 4 experience levels, colours/badges/patches, drop zones, advanced damage, time-of-day, weather and mission length. The bat now launches zero-arg (BT_PLATFORM=glass -> the menu); the menu relaunches the exe with the generated egg and the cockpit/gauge env (BT_START_INSIDE/BT_DEV_GAUGES) inherits into the mission child. Menu-boot verified with the bat's exact env; the solo menu->mission->menu cycle was verified at FE landing. README + the btoperator generated-bat template updated to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
ec44bc5dfa
commit
aaa252a4a3
+3
-1
@@ -8,7 +8,9 @@ to the 'content' and 'build' folders.
|
||||
TO JOIN AN INTERNET GAME: double-click join.bat
|
||||
(waits for the operator's session if it's not up yet)
|
||||
TO JOIN A LAN GAME: double-click join_lan.bat (operator's LAN)
|
||||
SINGLE-PLAYER PRACTICE: double-click play_solo.bat (no network)
|
||||
SINGLE-PLAYER: double-click play_solo.bat -- opens the
|
||||
mission menu: pick your mech (all 18), map, experience level,
|
||||
colours, weather and mission length, then launch
|
||||
{STEAM}STEAM INTERNET PLAY: double-click play_steam.bat (EXPERIMENTAL --
|
||||
{STEAM} needs the Steam client running; host or join from the menu)
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
@echo off
|
||||
rem BT411 -- single-player practice (no network, no operator).
|
||||
rem Edit the -egg below for other maps (ARENA2/DBASE/FOGDAY/...).
|
||||
rem BT411 -- single-player play. Opens the MISSION MENU: pick your mech
|
||||
rem (all 18), map, experience level, colours, weather, mission length and
|
||||
rem more, then launch. SOLO MISSION = timed with scoring; RAW SOLO =
|
||||
rem endless practice. The menu returns after each mission.
|
||||
cd /d %~dp0
|
||||
rem ONE unified build (2026-07-21): the exe carries every layer; the GLASS
|
||||
rem platform env arms the desktop cockpit (clickable MFD buttons, trigger
|
||||
@@ -12,7 +14,7 @@ set BT_START_INSIDE=1
|
||||
set BT_DEV_GAUGES=1
|
||||
set BT_LOG=join.log
|
||||
cd content
|
||||
..\build\Release\btl4.exe -egg ARENA1.EGG
|
||||
..\build\Release\btl4.exe
|
||||
echo.
|
||||
echo The game has exited. If it closed unexpectedly,
|
||||
echo send the operator content\join.log.
|
||||
|
||||
+5
-5
@@ -852,13 +852,13 @@ class Operator(QMainWindow):
|
||||
with open(os.path.join(out_dir, "play_solo.bat"), "w",
|
||||
newline="\r\n") as f:
|
||||
f.write(guarded(
|
||||
"rem BT411 -- single-player practice (no network, no "
|
||||
"operator).\n"
|
||||
"rem Edit the -egg below for other maps "
|
||||
"(ARENA2/DBASE/FOGDAY/...).\n",
|
||||
"rem BT411 -- single-player play: opens the MISSION MENU (pick "
|
||||
"mech, map,\n"
|
||||
"rem experience, weather, length; the menu returns after each "
|
||||
"mission).\n",
|
||||
"set BT_START_INSIDE=1\nset BT_DEV_GAUGES=1\n"
|
||||
"set BT_LOG=join.log\n",
|
||||
"..\\build\\Release\\btl4.exe -egg ARENA1.EGG\n",
|
||||
"..\\build\\Release\\btl4.exe\n",
|
||||
"echo.\necho The game has exited. If it closed unexpectedly,\n"
|
||||
"echo send the operator content\\join.log.\npause\n"))
|
||||
self.log.appendPlainText(
|
||||
|
||||
Reference in New Issue
Block a user