Expand debug system pages and add noclip exploration
This commit is contained in:
1 parent
b915a2c2e4
commit
d7838980fd
20 files changed
+628
-47
No files matched your search
@@ -41,6 +41,31 @@ menu.Toggle(65);
|
||||
Require(menu.SceneTask == 65, "Reopening refreshes live task state");
|
||||
Console.WriteLine("PASS debug navigation, input repeat, staged tasks, scene/start selection and view");
|
||||
|
||||
menu.Key(43);
|
||||
Require(menu.Page == 1 && menu.Selected == 0 && menu.Key(40) == DebugAction.Noclip, "Tab reaches player tools and noclip");
|
||||
menu.Key(43, true); Require(menu.Page == 1, "Tab repeat cannot change pages");
|
||||
menu.Key(81); menu.Key(79);
|
||||
Require(menu.FlySpeed == 1200 && menu.Key(40) == DebugAction.NoclipSpeed, "Fly speed is bounded and staged");
|
||||
for (var i = 0; i < 6; i++) menu.Key(81);
|
||||
menu.Key(79); Require(menu.JetpackState == 4, "Jetpack ownership/availability editor includes disabled state");
|
||||
menu.Key(81); Require(menu.Key(40) == DebugAction.ApplyJetpackState, "Availability requires explicit apply");
|
||||
menu.Key(43);
|
||||
Require(menu.Page == 2 && menu.Selected == 0 && menu.Key(40) == DebugAction.CameraObstruction, "Systems page exposes existing static ray");
|
||||
for (var i = 0; i < 6; i++) menu.Key(81);
|
||||
Require(menu.Key(40) == DebugAction.SaveCheckpoint, "Systems checkpoint save action");
|
||||
menu.Key(81); Require(menu.Key(40) == DebugAction.LoadCheckpoint, "Systems checkpoint load action");
|
||||
for (var page = 0; page < 3; page++)
|
||||
{
|
||||
var pageView = menu.View(new("LV1B", "STARTEXP", Vector3.Zero, 0, 0, true, 20, 0, 30, "NONE", true, 0, 10000, false));
|
||||
Require(pageView.Lines.Length <= 32 && pageView.SelectedLine >= 0 && pageView.SelectedLine < pageView.Lines.Length,
|
||||
"Every menu page fits the fixed widescreen-aware overlay");
|
||||
menu.Key(43);
|
||||
}
|
||||
menu.Key(43); // Return from systems to general.
|
||||
Require(menu.Page == 0, "Tab cycles all three pages");
|
||||
Require(menu.FindScene("VR04")?.LevelFile == "VR04.gam" && menu.FindScene("MISSING") == null, "Checkpoint resolution only uses prepared catalog");
|
||||
Console.WriteLine("PASS paged player/systems tools, noclip, staged settings and bounded overlay views");
|
||||
|
||||
var original = Path.GetFullPath(args.Length == 1 ? args[0] : "../Original");
|
||||
var catalog = DebugMenu.AvailableScenes(original, Path.GetFullPath("artifacts/extracted"));
|
||||
Require(catalog.Length == 33 && catalog.All(s => s.Starts.Length > 0), "Only33 supplied scenes with prepared geometry are offered");
|
||||
|
||||
Reference in new issue
Block a user