Difference between revisions of "Debug mode"

From RRU Knowledge Base
Line 178: Line 178:
|-
|-
| {{center|{{Key|F10}}}}
| {{center|{{Key|F10}}}}
| Might do something lighting related, or might just be dgvoodoo{{Verify}}
| Inverts lighting.
|-
|-
| {{center|{{Key|F11}}}}
| {{center|{{Key|F11}}}}

Revision as of 14:32, 31 March 2018

Debug keys are special keyboard shortcuts in video games that allow the game programmers to test things quickly in-game for debugging purposes.

All lists of debug keys below are for the Windows versions of their respective games.

LEGO Island

Debug mode in LEGO Island can be activated by typing ogel during gameplay. Once activated, you can press the keys below to use debugging features:

Key Effect
A
Plays the diving cutscene from the second floor of the Information Center elevator
C+00 to 69
Moves the viewpoint to a scene for a single frame (unless in an interaction that locks the camera). For a complete list of scenes, see here.
D
Temporarily lowers the viewpoint; walking into any barriers will reset the viewpoint level
F
Switches model quality to low
G+1
  • If this debug key is used before the Brickster has escaped, the game will crash.
  • If used after the Brickster has escaped but before the ambulance chase, the music cuts off and a skateboard will spawn at scene 50. The player must get to the skateboard quickly (somewhere between 16 and 23 seconds) or else the game will crash.
    During this time the player gains the ability to fly and pass through walls. Pressing J and K tilts the camera along the X-axis, while I and M tilts the camera along the Y-axis.
    Once the player has gotten on the skateboard, the island resets back to normal. However, getting off the skateboard prevents the player from moving, and attempting to accept any missions will crash the game.
  • If used during the ambulance chase, the same as above will happen, except the skateboard will spawn in front of the post office, where it first spawns during normal gameplay before the player first uses it.
  • If used during the brick hunt, the game will crash.
  • If used during the helicopter chase, the skateboard spawns at scene 50 and the player again gains flight intangibility; however, the game will not crash after any length of time until the player attempts to get on the skateboard.
G+2 to 5
Skips the game's current act to a point within the Brickster quest:
  • 2: Brickster escape
  • 3: Helicopter chase
  • 4: Good ending
  • 5: Bad ending
H
Switches model quality to high
L+0 or 1
Changes lighting based on current camera orientation
N
Toggles the viewpoint being locked at the current position. Player movement is still possible while locked.
P
Toggles scenery objects (plants and streetlights) on or off
S
Toggles music on or off. When toggling off, music stops automatically; when toggling on, entering or leaving a building is needed to re-enable.
U
Temporarily raises the viewpoint; walking into any barriers will reset the viewpoint level
V+A
Automatically moves the player to and plays each interaction in an act or location in a pre-defined order
X
Switches model quality to normal
Tab ↹
Shows the game's frame rate.
Numpad /
Switches the players character to the Brickster. Clicking on scenery objects and non-enterable buildings causes them to deconstruct. Clicking on the pizzeria will crash the game. Note that this will persist in the save file it's used on.
Numpad *
Switches the player to the next playable character from the one they were playing as. In order: Pepper, Mama, Papa, Laura, Nick, and then back to Pepper.
The following keys work without the "ogel" cheat
Numpad +
or
Numpad -
Pressing these keys cycles up or down through a list of characters, causing any loaded characters that get selected to appear in front of the player (flashing for a frame if they're active in the world, or staying frozen in the air in their last position if inactive). If the character being played as is selected, the viewpoint will move forward and up to that point. The player's actual location remains the same, and they can move around and make the viewpoint move linked to them but in its new location; however, like with the D and U debug keys, running into a barrier will reset the viewpoint.

The following is a list of characters assigned to each slot:
  1. The Infomaniac
  2. Laura Brick
  3. Nick Brick
  4. Papa Brickolini
  5. Mama Brickolini
  6. Pepper Roni
  7. ??
  8. Bumpy Kindergreen (shark-riding)
  9. ??
  10. ??
  11. ??
  12. ??
  13. ??
  14. ??
  15. ??
  16. ??
  17. ??
  18. ??
  19. ??
  20. Ghost moaning sound (follows ghost in racetrack dome, no character model)
  21. ??
  22. ??
  23. ??
  24. ??
  25. Unnamed maintenance man with sunglasses
  26. Unnamed maintenance man with blue visor
  27. ??
  28. Unnamed surfer man with black hair
  29. Bumpy Kindergreen
  30. Dorothy Funberg
  31. Glen Funberg
  32. Shiney Dorris
  33. Bradford Brickford
  34. Poly Gone
  35. Red Greenbase
  36. Gideon Worse
  37. Unnamed woman in swimsuit with flower hair (found in jetski track and helicopter chase
  38. ??
  39. Ghost (found wandering in racetrack dome)
  40. ??
  41. ??
  42. Unnamed Flying Legando "?" 1
  43. Unnamed Flying Legando "L"
  44. Unnamed Flying Legando "E"
  45. Unnamed Flying Legando "G"
  46. Jack O'Trades
  47. Unnamed Flying Legando "?" 2
  48. Bill Ding (from building the Jetski)
  49. Bill Ding (from building the Buggy)
  50. Bill Ding (from building the Helicopter)
  51. Bill Ding (from building the Race car)
  52. Captain D. Rom
  53. Return
  54. Enter
  55. Doctor Clickitt
  56. Nancy Nubbins
  57. Nubby Stevens
  58. Ed Mail
  59. Buck Pounds
  60. Maggie Post
  61. Unnamed maintenance woman (found waving flag at the racetrack[verify])
  62. Snap Lockit
  63. Valerie Stubbins
  64. Rhoda Hogg
  65. Studd Lincoln
  66. The Brickster

LEGO Rock Raiders

In LEGO Rock Raiders, the quickest way to enable debug mode is to run the game using the -programmer parameter option (despite its name, the -debug parameter does not enable any of the debug keys).

Debug mode can also be activated by editing Lego.cfg. This method reliable activates all available debug keys:

  1. Extract LegoRR1.wad.
  2. Open Lego.cfg.
  3. Find the AllowDebugKeys property, by default at line 115
  4. Change the property value from FALSE to TRUE
  5. Save, and rebuild LegoRR1.wad
Key Effect
F6 
Toggles fallin mode on or off. When off, landslides will only occur at areas specified in the fallin map
F10
Inverts lighting.
F11
Disables all building and vehicle prerequisites
F12
Disables all NERPS functions, such as mission objectives, tutorial scripts, and Slimy Slug emerges.
⇧ Shift+A
Tells a Rock Raider to get get a Sonic Blaster from the Tool Store and place it at mousepoint (triggers landslide at mousepoint)
Left Ctrl+D
Instantly fails the current level
Left Ctrl+F
Toggles frame rate monitor on or off
Left Ctrl+G
Toggles memory monitor on or off
Left Ctrl+S
Instantly completes the current level (toggles sound)
Right Ctrl+S
Instantly failsthe current level with the unused crystal failure reason "Too many Energy Crystals have been stolen for you to be able to complete this mission." (toggles sound)
Left ⇧ Shift+U
Triggers Advisor_Anim_Point_N
Right ⇧ Shift+U
Will end a looping advisor animation if one is playing
Spacebar+Esc
Quits the game when in a level
1
Primary selected Rock Raider goes to eye view (menu doesn't change)
2
Primary selected Rock Raider goes to shoulder view (menu doesn't change)
3
Primary selected Rock Raider goes to top view (menu doesn't change)
4
Primary selected unit will be selected by the radar for tracking
5
Makes cursor light shrink and grow starting from its default state. May grow to a much larger radius if used after exiting and then entering a level after prior use.
If a unit that changes its model when upgraded selected, it will change the first number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
6
Makes cursor light grow and shrink starting from a separate counter than the normal cursor light uses. May grow to a much larger radius if used after exiting and then entering a level after prior use.
If a unit that changes its model when upgraded selected, it will change the second number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
7
If a unit that changes its model when upgraded selected, it will change the third number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
8
If a unit that changes its model when upgraded selected, it will change the fourth number in the upgrade code. This will change the model, but it does not appear to grant it that upgrade.
9
Decreases 3D sound fall off
0
Increases 3D sound fall off
A
Creates a landslide at mousepoint. Any materials designated at the selected block in the CryOre map will also be generated if A is tapped twice in a row, and will repeat generation for every time tapped after that until all current landslides end.
B
Pushes any Rock Raider or Monster at mousepoint east-northeast (one half-tile to the map's absolute top per every one tile to the absolute right)
E
Makes a monster emerge from any wall at mousepoint except Solid Rock
F
Take 40 health points off all units selected
H
Creates a spider web at mousepoint on any single tile with two walls non-diagonally adjacent to it and across from each other
J
Creates an Electric Fence at mousepoint (same placement rules as normal Electric Fences)
L
Instantly exits the level to the results screen
M
Toggles music on or off
O
Decreases oxygen level. Using this key to completely deplete the oxygen during Chief's briefing will softlock the game.
R
Rotates the cursor light
S
Toggles sound on or off
U
Ends Advisor_Anim_Point_N
Y
Triggers the CrystalFound InfoMessage; clicking this message's go to button points to the northwest corner of the map at (5,5), although no crystal has actually been created
Z
Shakes the screen like when dynamite explodes when in top view.
Makes the primary selected Rock Raider eat while in any view.
End
Toggles power to the currently selected building on or off. Using this on a Tool Store or Power Station toggles the "Turn Power Off/On" button from being grey and unusable to being usable, as these buildings normally can't be turned off.
Numpad3
Destroys connections between any walls at mousepoint, except border rock. Walls exposed this way show as shades of pink on the radar instead of purple.
Numpad 7
Sets game speed to the maximum of 300% (note that changing the game speed through the menu only allows up to 250% speed to be set)
Numpad 8
Decreases game speed
Numpad 9
Increases game speed
Numpad Del
Destroys any walls at mousepoint, except border rock
Non-Debug Keys
Esc
Brings up pause menu
P
Brings up the pause menu
X
Strafes right in eye or shoulder view of any unit that can strafe
Z
Strafes left in eye or shoulder view of any unit that can strafe (if debug keys are enabled, a Rock Raider will eat instead)