Difference between revisions of "Debug mode"

From RRU Knowledge Base
m
m
Line 43: Line 43:
|-
|-
| '''N'''
| '''N'''
| Toggles the viewpoint being locked at the current position and unlocked. Player movement is still possible while toggled to locked.
| Toggles the viewpoint being locked at the current position. Player movement is still possible while locked.
|-
|-
| '''P'''
| '''P'''
| Toggles the disappearance and appearance of scenery objects (on by default)
| Toggles scenery objects (plants and streetlights) on or off
|-
|-
| '''S'''
| '''S'''
| Toggles music (on by default). When toggling off, music stops automatically; when toggling on, entering or leaving a building is needed to re-enable.
| 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'''
| '''U'''

Revision as of 19:14, 14 August 2017

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

LEGO Island

Debug keys 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-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-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.
Number pad / 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.
Number pad * 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.

To do: Write something about +/- keys even though they aren't activated by ogel

LEGO Rock Raiders

Debug keys in the Windows version of LEGO Rock Raiders can be used during a level...

The quickest way to enable debug mode is to run the game using the -programmer parameter option. The -debug parameter only enables some - if any - of the debug keys (find out which).

Debug Mode can also be activated by editing the Lego.cfg file. This method reliable activates all available debug keys.

1. Extract LegoRR1.wad.

2. Open Lego.cfg.

3. Go to line 115.

4. Change AllowDebugKeys FALSE to AllowDebugKeys TRUE.

5. Save, and rebuild LegoRR1.wad.

Below is a list of Debug keys discovered by Rock Raiders United.

To do: Rewrite and verify this section

Key Effect
F6 Turns fall-in mode on/off. When off, landslides will only occur at areas specified in the fallin map
F11 Disable all building and vehicle prerequisites
F12 No NERPS (Disable Mission Objective)
Shift+A A Rock Raider will get a Sonic Blaster from the Tool Store and place it at mouse cursor (However, this creates a landslide.)
Left Ctrl+D Lose level
Left Ctrl+F Toggle frame rate monitor on or off
Left Ctrl+G Toggle memory monitor on or off
Left Ctrl+S Instantly win level. (However, it affects sound.)
Right Ctrl+S Lose level because "Too many Energy Crystals have been stolen for you to be able to complete this mission." (This also affects sound.)
Left Shift+U Triggers Advisor_Anim_Point_N. (Also See: The Advisor section of Lego.cfg)
Right Shift+U Will end a looping advisor animation if one is playing
Spacebar+Esc Quits the game when in a level
1 Selected Rock Raider goes to 1st person view. (Menu Doesn't Change.)
2 Selected Rock Raider goes to 2nd person view. (Menu Doesn't Change.)
3 Selected Rock Raider goes to 3nd person view. (Menu Doesn't Change.)
4 When a unit is selected, it will snap the radar to track it
5 Makes cursor light grow/shrink. 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 Affects the cursor light in some way. 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 Decrease 3D sound fall off
0 Add 3D sound fall off
A Creates a landslide at mousepoint. This key is also known to generate materials from the Cryore map. The modifier must switch between blocks very fast and tap "A" repeatedly. This also happens in front of a Crystal/Ore seam. (?)
B Pushes any Rock Raider or Monster at mousepoint left
E Makes a monster emerge from any wall at mousepoint except Solid Rock
F Take 40 points of health off any unit(s) selected
H Creates a spiderweb at mousepoint in a tunnel 1 tile wide
J Creates Electric Fence at mousepoint (same placement rules as normal Electric Fence)
L Instantly exit level
M Toggle music on or off
O Decrease oxygen level
R Makes cursor light "dance" with movement
S Toggle sound on or off
Y Triggers the CrystalFound InfoMessage, which's "Goto" button points to the far north-west area of map, although this does not create a crystal there, if at all
Z Makes selected Rock Raider eat in 1st person, shakes screen in 3rd person. If the Rock Raider is selected it will both shake the screen AND make him eat a sandwich
Num 3 Destroys any rock at mousepoint, except border rock. (NOTE: Some Laptops may not have this key)(Note, This seems to only remove the connections between rocks, and turns Solid Rock on the radar pink)
Num 7 Set game speed to maximum
Num 8 Decrease game speed
Num 9 Increase game speed
End Toggle power to the currently selected building on or off
Num Delete Destroys any rock at mousepoint except border rock. (This works correctly)
Non-Debug Keys
Esc Go to pause menu
P Go to pause menu
X Strafe right in 1st person. Also works in the Hover Scout, and not necessarily only in 1st person
Z Strafe left in 1st person. Except that if the debug keys are enabled your raider will eat a sandwich. (Not in vehicles)