mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-18 10:00:21 +02:00
chore(vr): do not ship the test harness switched on
The config that goes out had cheats enabled, every weapon handed to the player a second after spawn, and a map loaded straight past the menu. That is a harness for tuning weapon alignment without replaying a level each build, and it has no business being the way anyone is handed the game. cheats, vr_testStart and vr_startMap are now empty, with the working values kept in a comment next to the explanation of why each one needs its own timing - autoexec runs before there is a map, and a map loaded from autoexec is torn back down by the game's own startup. vr_captureEye off and vr_traceFrame back on, which are the normal values for both. vr_weaponAdjust keeps the value being tuned; it is a correction the weapon genuinely needs, not a testing shortcut. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
013b2f5bbf
commit
6e86e55c08
1 file changed
+18
-5
@@ -42,9 +42,9 @@ set vr_reloadTapMs 400
|
||||
// The per frame timing report is three lines a second, which rolls anything
|
||||
// useful out of logcat within a minute or two. Off while hunting anything that
|
||||
// prints once.
|
||||
set vr_traceFrame 0
|
||||
set vr_traceFrame 1
|
||||
|
||||
set vr_captureEye 1
|
||||
set vr_captureEye 0
|
||||
|
||||
// --- weapon test harness ---
|
||||
//
|
||||
@@ -55,8 +55,21 @@ set vr_captureEye 1
|
||||
//
|
||||
// vr_testStart is run once, a second and a half after the player is actually in
|
||||
// the world. Clear it to play normally.
|
||||
set cheats 1
|
||||
set vr_testStart "give all"
|
||||
// Both empty on purpose. Filled in, these skip the game: cheats on, every
|
||||
// weapon handed over, and a map loaded straight past the menu. That is a
|
||||
// testing harness, not how anyone should be handed the game.
|
||||
//
|
||||
// set cheats 1
|
||||
// set vr_testStart "give all"
|
||||
// set vr_startMap ""
|
||||
//
|
||||
// vr_testStart runs once, a second and a half after the player is actually in
|
||||
// the world - autoexec is far too early, there is no map yet, let alone a
|
||||
// player to give anything to. vr_startMap waits until the client is idle at the
|
||||
// menu, because a map loaded from autoexec is torn down again by the game's own
|
||||
// startup.
|
||||
set cheats 0
|
||||
set vr_testStart ""
|
||||
|
||||
// Drop straight into a map on launch. Clear it to get the menu instead.
|
||||
//
|
||||
@@ -64,4 +77,4 @@ set vr_testStart "give all"
|
||||
// startup - the intro stages, then the menu - comes afterwards and tears any
|
||||
// map loaded here straight back down. This waits until the client is sitting
|
||||
// idle at the menu and then loads it.
|
||||
set vr_startMap "m1l1"
|
||||
set vr_startMap ""
|
||||
Reference in new issue
Block a user