Developer Mode: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(→‎Hotkeys: updating with test results in Windows; hey, did someone change the camera key bindings between PC and Mac? to be continued...)
(→‎Usage: merging what I can from the German table)
Line 151: Line 151:
===Usage===
===Usage===
====Hotkeys====
====Hotkeys====
Below are Oni's hardcoded mappings for Developer Mode functions. The Alt key (Option key on Macs) can be used in placed of Ctrl. Alternate mappings are welcome if you have another version of Oni that you would like to have listed below.
The QWERTY column is for the English release of Oni, for U.S. QWERTY keyboards. The QWERTZ column is for German Oni and only lists the hotkeys that are different from QWERTY on German QWERTZ keyboards; note that on German keyboards, the "Ctrl" key is named "Strg".
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
!Hotkey (can use Alt for Ctrl)
!Hotkey (QWERTY)
!Hotkey (QWERTZ)
!Description
!Description
!Windows
!width=75|Windows
!Mac
!width=75|Mac
|-
|-
|Cntl+Shift+o
|Cntl+Shift+o
|
|Draw No-Occlusion Quads (only makes console screens disappear)
|Draw No-Occlusion Quads (only makes console screens disappear)
|
|
Line 163: Line 169:
|-
|-
|Cntl+Shift+i
|Cntl+Shift+i
|
|Draw Invisible Quads
|Draw Invisible Quads
|
|
Line 168: Line 175:
|-
|-
|Cntl+Shift+y
|Cntl+Shift+y
|Cntl+Shift+z
|Performance Display (includes FPS)
|Performance Display (includes FPS)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 173: Line 181:
|-
|-
|Cntl+Shift+t
|Cntl+Shift+t
|
|Draw Character Collision
|Draw Character Collision
|
|
Line 178: Line 187:
|-
|-
|Cntl+Shift+r
|Cntl+Shift+r
|
|Draw Object Collision
|Draw Object Collision
|
|
Line 183: Line 193:
|-
|-
|Cntl+Shift+f
|Cntl+Shift+f
|
|Fast Mode (runs Oni at up to 24x)
|Fast Mode (runs Oni at up to 24x)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 188: Line 199:
|-
|-
|Cntl+Shift+g
|Cntl+Shift+g
|
|Draw every frame
|Draw every frame
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 193: Line 205:
|-
|-
|Cntl+Shift+x
|Cntl+Shift+x
|
|Secret X / (Mac only) Show trigger volumes
|Secret X / (Mac only) Show trigger volumes
|
|
Line 198: Line 211:
|-
|-
|Cntl+Shift+y
|Cntl+Shift+y
|
|Secret Y
|Secret Y
|
|
Line 203: Line 217:
|-
|-
|Cntl+Shift+z
|Cntl+Shift+z
|
|Secret Z
|Secret Z
|
|
Line 208: Line 223:
|-
|-
|Cntl+Shift+Ins
|Cntl+Shift+Ins
|
|Add Flag
|Add Flag
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 213: Line 229:
|-
|-
|Cntl+Shift+Del
|Cntl+Shift+Del
|
|Delete Flag
|Delete Flag
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 218: Line 235:
|-
|-
|Cntl+Shift+u
|Cntl+Shift+u
|
|Unstick player
|Unstick player
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 223: Line 241:
|-
|-
|Cntl+Shift+n
|Cntl+Shift+n
|
|Camera Record
|Camera Record
|
|
Line 228: Line 247:
|-
|-
|Cntl+Shift+m
|Cntl+Shift+m
|
|Camera Stop
|Camera Stop
|
|
Line 233: Line 253:
|-
|-
|Cntl+Shift+,
|Cntl+Shift+,
|
|Camera Playback
|Camera Playback
|
|
Line 238: Line 259:
|-
|-
|?
|?
|
|Place Quad
|Place Quad
|<center>?</center>
|<center>?</center>
Line 243: Line 265:
|-
|-
|?
|?
|
|Place Quad Mode
|Place Quad Mode
|<center>?</center>
|<center>?</center>
Line 248: Line 271:
|-
|-
|Ctrl+Shift+\
|Ctrl+Shift+\
|Ctrl+Shift+#
|Profile Toggle
|Profile Toggle
|<center>?</center>
|<center>?</center>
Line 253: Line 277:
|-
|-
|Cntl+Shift+l
|Cntl+Shift+l
|
|Dumps a screenshot every frame
|Dumps a screenshot every frame
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 258: Line 283:
|-
|-
|Ctrl+Shift+1
|Ctrl+Shift+1
|
|Test One
|Test One
|
|
Line 263: Line 289:
|-
|-
|Ctrl+Shift+2
|Ctrl+Shift+2
|
|Test Two
|Test Two
|
|
Line 268: Line 295:
|-
|-
|Ctrl+Shift+3
|Ctrl+Shift+3
|
|Test Three
|Test Three
|
|
Line 273: Line 301:
|-
|-
|Ctrl+Shift+4
|Ctrl+Shift+4
|
|Test Four
|Test Four
|
|
Line 278: Line 307:
|-
|-
|. (period)
|. (period)
|
|Single Step Mode
|Single Step Mode
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 283: Line 313:
|-
|-
|/
|/
|
|Single Step (when in Single Step Mode)
|Single Step (when in Single Step Mode)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 288: Line 319:
|-
|-
|Cntl+Shift+Home
|Cntl+Shift+Home
|
|Change Active Camera
|Change Active Camera
|
|
Line 293: Line 325:
|-
|-
|End
|End
|
|Warp to camera
|Warp to camera
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 298: Line 331:
|-
|-
|Cntl+Shift+k
|Cntl+Shift+k
|
|Kill Particles
|Kill Particles
|
|
Line 303: Line 337:
|-
|-
|Backspace
|Backspace
|
|Enter AI Debugger
|Enter AI Debugger
|
|
Line 308: Line 343:
|-
|-
|7
|7
|
|Explode One
|Explode One
|
|
Line 313: Line 349:
|-
|-
|8
|8
|
|Explode Two
|Explode Two
|
|
Line 318: Line 355:
|-
|-
|9
|9
|
|Explode Three
|Explode Three
|
|
Line 323: Line 361:
|-
|-
|0
|0
|
|Explode Four
|Explode Four
|
|
Line 328: Line 367:
|-
|-
|Cntl+Shift+j
|Cntl+Shift+j
|
|Reset Particles
|Reset Particles
|
|
Line 333: Line 373:
|-
|-
|Cntl+Shift+w
|Cntl+Shift+w
|
|Drop Flag and Add Waypoint
|Drop Flag and Add Waypoint
|
|
Line 338: Line 379:
|-
|-
|Cntl+Shift+b
|Cntl+Shift+b
|
|Shows current opponent's logic
|Shows current opponent's logic
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 343: Line 385:
|-
|-
|]
|]
|
|Freeze (now causes camera drift while on;<br>stopping Freeze mode teleports to camera location)
|Freeze (now causes camera drift while on;<br>stopping Freeze mode teleports to camera location)
|
|
Line 348: Line 391:
|-
|-
|[
|[
|
|Frame Advance (now renders Konoko at camera location)
|Frame Advance (now renders Konoko at camera location)
|
|
Line 353: Line 397:
|-
|-
|Cntl+Shift+s
|Cntl+Shift+s
|
|Highlight furniture (turns their textures red)
|Highlight furniture (turns their textures red)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 358: Line 403:
|-
|-
|F8, Shift+F8
|F8, Shift+F8
|
|Cycle characters
|Cycle characters
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 363: Line 409:
|-
|-
|Cntl+Shift+p
|Cntl+Shift+p
|
|Perf Particle
|Perf Particle
|
|
Line 368: Line 415:
|-
|-
|Cntl+Shift+;
|Cntl+Shift+;
|
|Perf Particle Lock
|Perf Particle Lock
|
|
Line 373: Line 421:
|-
|-
|=
|=
|
|Screenshot
|Screenshot
|<center>?</center>
|<center>?</center>
Line 378: Line 427:
|-
|-
|F2
|F2
|
|Cutscene 1
|Cutscene 1
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 383: Line 433:
|-
|-
|F3
|F3
|
|Cutscene 2
|Cutscene 2
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 388: Line 439:
|-
|-
|F6
|F6
|Kill All AI
|
|Kill All AIs
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|-
|-
|Ctrl+F7
|Ctrl+F7
|
|Play dead
|Play dead
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|
|
|-
|-
|Fkey7, Shift+Fkey7
|F7, Shift+F7
|
|Cycle weapons (holster to get second weapon)
|Cycle weapons (holster to get second weapon)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|-
|-
|Fkey9
|F9
|
|Start recording
|Start recording
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|-
|-
|Fkey10
|F10
|
|Stop recording
|Stop recording
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|-
|-
|Fkey11
|F11
|
|Playback recording
|Playback recording
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 418: Line 475:
|-
|-
|` (grave accent)
|` (grave accent)
|
|Displays console
|Displays console
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 423: Line 481:
|-
|-
|Return/Enter
|Return/Enter
|
|Cycle Camera Modes:<br>
|Cycle Camera Modes:<br>
Normal<br>
Normal<br>
Line 431: Line 490:
|-
|-
|<ul><li>NumPad1</li></ul>
|<ul><li>NumPad1</li></ul>
|
|Move camera left
|Move camera left
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 436: Line 496:
|-
|-
|<ul><li>NumPad3</li></ul>
|<ul><li>NumPad3</li></ul>
|
|Move camera right
|Move camera right
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 441: Line 502:
|-
|-
|<ul><li>NumPad8</li></ul>
|<ul><li>NumPad8</li></ul>
|
|Move camera forward
|Move camera forward
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 446: Line 508:
|-
|-
|<ul><li>NumPad5</li></ul>
|<ul><li>NumPad5</li></ul>
|
|Move camera backward
|Move camera backward
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 451: Line 514:
|-
|-
|<ul><li>NumPad-</li></ul>
|<ul><li>NumPad-</li></ul>
|
|Move camera up
|Move camera up
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 456: Line 520:
|-
|-
|<ul><li>NumPad+</li></ul>
|<ul><li>NumPad+</li></ul>
|
|Move camera down
|Move camera down
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 461: Line 526:
|-
|-
|<ul><li>NumPad6</li></ul>
|<ul><li>NumPad6</li></ul>
|
|Pan camera left
|Pan camera left
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 466: Line 532:
|-
|-
|<ul><li>NumPad4</li></ul>
|<ul><li>NumPad4</li></ul>
|
|Pan camera right
|Pan camera right
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 471: Line 538:
|-
|-
|<ul><li>Up Arrow</li></ul>
|<ul><li>Up Arrow</li></ul>
|
|Pan camera up
|Pan camera up
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 476: Line 544:
|-
|-
|<ul><li>Down Arrow</li></ul>
|<ul><li>Down Arrow</li></ul>
|
|Pan camera down
|Pan camera down
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 486: Line 555:


====German hotkeys====
====German hotkeys====
"Cntl" = "Strg"
German Windows version uses ^ by default for console access. On Windows with window mode on you should use rightalt as alternative console binding because leftalt has a special function: it's used to show extra options of windows/programs, in this case it will steal Oni's mouse controls until you make a click.
German Windows version uses ^ by default for console access. On Windows with window mode on you should use rightalt as alternative console binding because leftalt has a special function: it's used to show extra options of windows/programs, in this case it will steal Oni's mouse controls until you make a click.


Line 509: Line 576:
| Cntl+Shift+.+-  
| Cntl+Shift+.+-  
| Exit Single Step Mode
| Exit Single Step Mode
|<center>{{ckblue}}</center>
|-
| Cntl+Shift+#
| Profile Toggle (whatever that is ...)
|<center>{{ckblue}}</center>
|-
| Cntl+Shift+b
| Shows current opponent's logic<br>[N] - move's probability to get picked up?
| <center>{{ckblue}}</center>
|-
| Cntl+Shift+f
| Toggle fastmode
|<center>{{ckblue}}</center>
|-
|Cntl+Shift+l
|Screenshot per frame
|<center>{{ckblue}}</center>
|-
|Cntl+Shift+s
|Furnitures' textures (turns red)
|<center>{{ckblue}}</center>
|-
|Cntl+Shift+u
|Unstick player
|<center>{{ckblue}}</center>
|-
| Cntl+Shift+z
| Frames Per Second
|<center>{{ckblue}}</center>
|-
| Enter
|Cycle Camera Modes:
Normal<br>
Detached 1-mouse controls aim<br>
Detached 2-mouse controls camera<br>
(When activated the following applies)
|<center>{{ckblue}}</center>
|-
|End
|Warp player to camera
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad1</li></ul>
|Move camera left
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad3</li></ul>
|Move camera right
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad4</li></ul>
|Pan camera left
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad5</li></ul>
|Move camera backward
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad6</li></ul>
|Pan camera right
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad8</li></ul>
|Move camera forward
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad-</li></ul>
|Move camera up
|<center>{{ckblue}}</center>
|-
|<ul><li>NumPad+</li></ul>
|Move camera down
|<center>{{ckblue}}</center>
|-
|<ul><li>Up Arrow</li></ul>
|Pan camera up
|<center>{{ckblue}}</center>
|-
|<ul><li>Down Arrow</li></ul>
|Pan camera down
|<center>{{ckblue}}</center>
|-
|F6
|Kill All AI
|<center>{{ckblue}}</center>
|-
| Cntl+F7
| Play dead
|<center>{{ckblue}}</center>
|-
|F7, Shift+F7
|Cycle weapons (holster to get second weapon)
|<center>{{ckblue}}</center>
|-
|F9
|Start recording
|<center>{{ckblue}}</center>
|-
|F10
|Stop recording
|<center>{{ckblue}}</center>
|-
|F11
|Playback recording
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|}
|}

Revision as of 22:24, 6 May 2013

Found on a crate in
Syndicate Warehouse

Developer Mode is a bundle of features created by Bungie West to help them develop Oni -- a console, camera controls, and various debugging features -- that was associated with the cheat code thedayismine (see picture above for related Easter egg). This cheat code did not work upon Oni's release, and it was long believed that Developer Mode had been cut from retail versions of Oni; it had only been observed to work in the Mac beta that was leaked during Oni's beta testing. However, this mode is actually present in all available versions of Oni (except PS2). It just needs to be unlocked, as the community learned back in 2006.

Below you will find download links, unlocking instructions, and finally an overview of the Developer Mode's features.

Getting it to work

Download it...

In Windows, you can install the Daodan DLL to unlock Developer Mode. On the Mac, the Intel build already has Dev Mode unlocked; it can be found HERE.

Using it

First check

Cheats are normally unlocked when you finish the full version of the game. For unlocking cheats "manually" (especially necessary with the demos), see HERE

Let's say cheats are enabled and Developer Mode has been made available via the thedayismine cheatcode (or simply x with Daodan DLL or Mac Intel build).

Just type the Developer Mode cheat and watch for the confirmation message. However, you may not notice anything special when you get back to the game (although there should be occasional console messages appearing at the bottom-left).

The quickest way to tell whether Dev Mode definitely works, right after you get the confirmation message, is to exit the Diary screen and to press End. That should teleport you to where the camera is (usually back and up, possibly through walls and ceilings).

Here's another quick test, meant to see if the Control and Alt keys work fine (on Mac, use the Option key instead of Alt): Ctrl+Shift+U and Ctrl+Alt+U should both perform the "unstick" action; Konoko will shift forward by a small amount.

Console output

In Developer Mode, Oni prints debug messages about in-game events along the bottom-left of the screen. Past messages scroll up across the screen and fade. In some situations, messages don't fade (e.g. if character debugging is enabled or you are currently using the console line).

The easiest way to check whether that output works at all is to press F8: the character class change is acknowledged with a console message.

If you don't see anything, that means console output is unfortunately disabled in your version of Oni. If you're on PC retail, you may have applied Ian's patch (aka XP patch), which disables console output. On PC demo, both console output and console input are invisible (i.e. you can enter script commands, but you're "blindfolded").

Console input

By default, Oni auto-binds the "console" toggle to the key which on U.S. keyboards has a grave accent, `, in the lowercase position and a tilde, ~, in the uppercase position. It is usually called the "tilde key" by users, and perhaps even elsewhere on this wiki; however, you would have to hold Shift to type a tilde, and the console is activated by just pressing the key without Shift, thus it is actually the "grave accent key" which activates the console. On non-U.S. keyboards, that key may not be recognized. Just add a line like "bind leftalt to console" to key_config.txt in your Oni folder and you'll be able to open the console with that key. In some cases, this bound key will not close the console; however, pressing the grave accent key, oddly enough, may work.


Usage

Hotkeys

Below are Oni's hardcoded mappings for Developer Mode functions. The Alt key (Option key on Macs) can be used in placed of Ctrl. Alternate mappings are welcome if you have another version of Oni that you would like to have listed below.

The QWERTY column is for the English release of Oni, for U.S. QWERTY keyboards. The QWERTZ column is for German Oni and only lists the hotkeys that are different from QWERTY on German QWERTZ keyboards; note that on German keyboards, the "Ctrl" key is named "Strg".

Hotkey (QWERTY) Hotkey (QWERTZ) Description Windows Mac
Cntl+Shift+o Draw No-Occlusion Quads (only makes console screens disappear)
Cntl+Shift+i Draw Invisible Quads
Cntl+Shift+y Cntl+Shift+z Performance Display (includes FPS)
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+t Draw Character Collision
Cntl+Shift+r Draw Object Collision
Cntl+Shift+f Fast Mode (runs Oni at up to 24x)
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+g Draw every frame
Checkmark 16px blue.png
*
Cntl+Shift+x Secret X / (Mac only) Show trigger volumes
Checkmark 16px blue.png
Cntl+Shift+y Secret Y
Cntl+Shift+z Secret Z
Cntl+Shift+Ins Add Flag
Checkmark 16px blue.png
Cntl+Shift+Del Delete Flag
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+u Unstick player
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+n Camera Record
Cntl+Shift+m Camera Stop
Cntl+Shift+, Camera Playback
? Place Quad
?
?
? Place Quad Mode
?
?
Ctrl+Shift+\ Ctrl+Shift+# Profile Toggle
?
Cntl+Shift+l Dumps a screenshot every frame
Checkmark 16px blue.png
Checkmark 16px blue.png
Ctrl+Shift+1 Test One
Ctrl+Shift+2 Test Two
Ctrl+Shift+3 Test Three
Ctrl+Shift+4 Test Four
. (period) Single Step Mode
Checkmark 16px blue.png
Checkmark 16px blue.png
/ Single Step (when in Single Step Mode)
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+Home Change Active Camera
End Warp to camera
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+k Kill Particles
Backspace Enter AI Debugger
7 Explode One
8 Explode Two
9 Explode Three
0 Explode Four
Cntl+Shift+j Reset Particles
Cntl+Shift+w Drop Flag and Add Waypoint
Cntl+Shift+b Shows current opponent's logic
Checkmark 16px blue.png
Checkmark 16px blue.png
] Freeze (now causes camera drift while on;
stopping Freeze mode teleports to camera location)
?
[ Frame Advance (now renders Konoko at camera location)
?
Cntl+Shift+s Highlight furniture (turns their textures red)
Checkmark 16px blue.png
?
F8, Shift+F8 Cycle characters
Checkmark 16px blue.png
Checkmark 16px blue.png
Cntl+Shift+p Perf Particle
?
Cntl+Shift+; Perf Particle Lock
?
= Screenshot
?
?
F2 Cutscene 1
Checkmark 16px blue.png
F3 Cutscene 2
Checkmark 16px blue.png
F6 Kill All AIs
Checkmark 16px blue.png
Checkmark 16px blue.png
Ctrl+F7 Play dead
Checkmark 16px blue.png
F7, Shift+F7 Cycle weapons (holster to get second weapon)
Checkmark 16px blue.png
Checkmark 16px blue.png
F9 Start recording
Checkmark 16px blue.png
Checkmark 16px blue.png
F10 Stop recording
Checkmark 16px blue.png
Checkmark 16px blue.png
F11 Playback recording
Checkmark 16px blue.png
Checkmark 16px blue.png
` (grave accent) Displays console
Checkmark 16px blue.png
Checkmark 16px blue.png
Return/Enter Cycle Camera Modes:

Normal
Detached 1-mouse controls aim
Detached 2-mouse controls camera
When in a detached mode, the following keys move the camera:

Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad1
Move camera left
Checkmark 16px blue.png
  • NumPad3
Move camera right
Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad8
Move camera forward
Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad5
Move camera backward
Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad-
Move camera up
Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad+
Move camera down
Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad6
Pan camera left
Checkmark 16px blue.png
Checkmark 16px blue.png
  • NumPad4
Pan camera right
Checkmark 16px blue.png
Checkmark 16px blue.png
  • Up Arrow
Pan camera up
Checkmark 16px blue.png
Checkmark 16px blue.png
  • Down Arrow
Pan camera down
Checkmark 16px blue.png
Checkmark 16px blue.png

(1) On Macs, Draw Every Frame mode speeds up the game almost to the extent of Fast mode, but with glitchy animations.

(2) On Macs, these keys will not work without custom key bindings. See note HERE about how to bind these keys.

German hotkeys

German Windows version uses ^ by default for console access. On Windows with window mode on you should use rightalt as alternative console binding because leftalt has a special function: it's used to show extra options of windows/programs, in this case it will steal Oni's mouse controls until you make a click.

Hotkey (can use Alt for Cntl) Description Windows
. (period) Enter Single Step Mode
Checkmark 16px blue.png
- Single Step (when in Single Step Mode)
Checkmark 16px blue.png
Cntl+. Freeze game
Checkmark 16px blue.png
Cntl+Shift+.+- Exit Single Step Mode
Checkmark 16px blue.png


Runtime scripting

Basic idea

(Almost) anything you write in scripts you can enter at runtime with the console. The only thing you can't do is register new variables and functions.

You can call existing functions, check on the values of existing variables. "Existing" means either built-in ones, or part of the original level logic, or part of your own scripts for the given level.

If a function/variable was succesfully registered by Oni during level load, you will be able to refer to them from the console.

You will even be able to browse the registered variables/functions with the Tab key, while typing at the console. Tab autocompletes the command being typed, then cycles through all available commands in (hex)alphabetical order (A...Z come before a...z). Shift+Tab lets you go back.

Previous commands can be navigated with up and down arrows. You can't insert/delete text in the middle of a command : you have to use Backspace.

The only keys that have an effect while the console is active are : Escape, Enter, Backspace, (Shift+)Tab, ASCII character keys and the arrow keys.

If you press an illegal key during console input (such as F1), the input display will freeze : hit Tab a few times to fix.

Limitations

Obviously, if you have no console output, it's a bit frustrating. Even more so if console input is invisible : you're in for some blindfolded scripting then. Still there are a few commands which you can type in as complements to regular cheats :

chr_nocollision 0 1 and chr_nocollision 0 0 enable/disable no-clipping. When in no-clipping, you can't fall down : jumping makes you flail in midair, and eventually you die (so be careful about that)
give_powerup shield gives you a force shield (which you can't have with fatloot)
dump_docs prints all the registered commands/variables to a file in your Oni folder (so you know just what you can type)
other stuff...

Also, the available scripting commands may be limited in your version. The most commands are on PC retail, or on beta 4 and earlier. On Mac, the functionality is much more limited (see HERE for details).