19,496
edits
(converted keystrokes in Hotkeys table to use KeySmall template; look ma, we're like a professional wiki now!) |
m (more KeySmalls, and minor wording tweaks) |
||
Line 133: | Line 133: | ||
===Enter the cheat code=== | ===Enter the cheat code=== | ||
Enter the [[Data Comlink]] (default | Enter the [[Data Comlink]] ({{KeySmall|F1}} by default) and look for a confirmation message after typing the Developer Mode cheat '''thedayismine''' (or '''killmequick''' if you followed the DIY tutorial above). You can also just type '''x''' when the Daodan DLL or Mac Intel build is being used. | ||
==Using the console== | ==Using the console== | ||
Line 167: | Line 167: | ||
===Hotkeys=== | ===Hotkeys=== | ||
Below are Oni's hardcoded mappings for Developer Mode functions. | Below are Oni's hardcoded mappings for Developer Mode functions. Wherever you see {{KeySmall|Ctrl}}, {{KeySmall|Alt}} ({{KeySmall|Option}} on Macs) can be used instead. | ||
The "U.S. QWERTY" column gives the standard hotkeys (the keys intended by the American developers to be pressed). In the "German QWERTZ" and "French AZERTY" columns, the hotkeys differing from U.S. QWERTY are shown. If you have another type of keyboard that you would like to have incorporated into the table, feel free to add a column (or ask for it on the talk page). | The "U.S. QWERTY" column gives the standard hotkeys (the keys intended by the American developers to be pressed). In the "German QWERTZ" and "French AZERTY" columns, the hotkeys differing from U.S. QWERTY are shown. If you have another type of keyboard that you would like to have incorporated into the table, feel free to add a column (or ask for it on the talk page). | ||
Line 501: | Line 501: | ||
'''(4)''' Please see {{SectionLink|Talk:Developer Mode|Insert key on Macs}}. | '''(4)''' Please see {{SectionLink|Talk:Developer Mode|Insert key on Macs}}. | ||
'''(5)''' The profiler is an external library that may be placed next to Oni.exe: vtuneapi.dll in Windows, Metrowerks' Profiler Carbon.lib on Classic Macs. | '''(5)''' The profiler is an external library that may be placed next to Oni.exe: Intel's vtuneapi.dll in Windows, Metrowerks' Profiler Carbon.lib on Classic Macs. | ||
'''(6)''' "Animation freezing" operates upon the main character and means two things: | '''(6)''' "Animation freezing" operates upon the main character and means two things: | ||
Line 513: | Line 513: | ||
:If one does not set <tt>chr_pin_character=1</tt>, then the frame-freezing functionality does not allow one to study animations, and instead provides a powerful (and risky) teleporting gimmick. | :If one does not set <tt>chr_pin_character=1</tt>, then the frame-freezing functionality does not allow one to study animations, and instead provides a powerful (and risky) teleporting gimmick. | ||
'''(7)''' The bindings for Secret X/Y conflict with the | '''(7)''' The bindings for Secret X/Y conflict with the binding for the performance display, but this doesn't matter because the Secret X/Y/Z keys are either not implemented in Oni or were removed during development. | ||
===Camera controls=== | ===Camera controls=== | ||
Note that the camera controls have default mappings, given below, but unlike the developer hotkeys, they are '''custom-bindable'''. In fact, on Macs, the default numpad bindings ''need'' to be customized or they won't work at all. See note [[Customizing/Binding#Detached camera controls|HERE]] about how to bind these keys and fix the Mac numpad controls. Also, the definitions of panning left and right are reversed, as NumPad4 will turn the camera to the left, but its action is called "man_cam_pan_right", and vice versa for NumPad6.... | Note that the camera controls have default mappings, given below, but unlike the developer hotkeys, they are '''custom-bindable'''. In fact, on Macs, the default numpad bindings ''need'' to be customized or they won't work at all. See note [[Customizing/Binding#Detached camera controls|HERE]] about how to bind these keys and fix the Mac numpad controls. Also, the definitions of panning left and right are reversed, as NumPad4 will turn the camera to the left, but its action is called "man_cam_pan_right", and vice versa for NumPad6.... | ||
After detaching the camera with Enter and flying it away from Konoko, | After detaching the camera with {{KeySmall|Enter}} and flying it away from Konoko, {{KeySmall|End}} teleports Konoko to the camera position and attaches the camera to her position again. If you turn off collision with "chr_nocollision 0 1" before teleporting, Konoko will not fall out of the air when teleported to the camera position (just don't jump with collision off...). | ||
{|class="wikitable" style="margin-left:auto; margin-right:auto;" | {|class="wikitable" style="margin-left:auto; margin-right:auto;" | ||
|align="center"|'''Windows''' | |align="center"|'''Windows''' | ||
Line 565: | Line 565: | ||
Almost anything that you can write in a [[BSL]] script you can enter at runtime with the console. One major thing you can't do is register new variables and functions. You can only call existing functions and get/set the values of existing variables. "Existing" means either built-in ones (see [[BSL:Functions]] and [[BSL:Variables]]), or ones found in the level scripts, or ones defined by scripts you may have added to the current level or to [[IGMD/global]]. You can also run an external file of BSL commands by entering "+" and then the path to a file (relative or absolute). | Almost anything that you can write in a [[BSL]] script you can enter at runtime with the console. One major thing you can't do is register new variables and functions. You can only call existing functions and get/set the values of existing variables. "Existing" means either built-in ones (see [[BSL:Functions]] and [[BSL:Variables]]), or ones found in the level scripts, or ones defined by scripts you may have added to the current level or to [[IGMD/global]]. You can also run an external file of BSL commands by entering "+" and then the path to a file (relative or absolute). | ||
While typing on the console line, you'll see a suggested autocompletion for the command you're typing; Tab accepts the autocomplete, and then Tab or Shift-Tab will cycle forward/backward through adjacent commands in ASCIIbetical order (A…Z comes before a…z). Previous commands from the current session can be retrieved with the up/down arrows. You can't insert/delete text in the middle of a command; you have to | While typing on the console line, you'll see a suggested autocompletion for the command you're typing; {{KeySmall|Tab}} accepts the autocomplete, and then {{KeySmall|Tab}} or {{KeySmall|Shift}}-{{KeySmall|Tab}} will cycle forward/backward through adjacent commands in ASCIIbetical order (A…Z comes before a…z). Previous commands from the current session can be retrieved with the up/down arrows. You can't insert/delete text in the middle of a command; you have to backspace to the point you want to change. Copy and paste functions are not available either. | ||
If you press an illegal key during console input (such as F1), the input display will freeze; hit Tab a few times to fix. | If you press an illegal key during console input (such as F1), the input display will freeze; hit Tab a few times to fix. |