Developer Mode: Difference between revisions

→‎Hotkeys: table fixes, more Mac test results, and they *did* change the cam controls!; breaking those out into better format of table
(→‎Hotkeys: I don't think those camera keys are right for Macs, but let's just do this for now)
(→‎Hotkeys: table fixes, more Mac test results, and they *did* change the cam controls!; breaking those out into better format of table)
Line 166: Line 166:
|Ctrl+Shift+o
|Ctrl+Shift+o
|
|
|Draw No-Occlusion Quads (only makes console screens disappear)
|Draw no-occlusion quads (only makes console screens disappear)
|
|
|
|
Line 172: Line 172:
|Ctrl+Shift+i
|Ctrl+Shift+i
|
|
|Draw Invisible Quads
|Draw invisible quads
|
|
|
|
Line 178: Line 178:
|Ctrl+Shift+y
|Ctrl+Shift+y
|Ctrl+Shift+z
|Ctrl+Shift+z
|Performance Display (includes FPS)
|Performance display (includes FPS)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 184: Line 184:
|Ctrl+Shift+t
|Ctrl+Shift+t
|
|
|Draw Character Collision
|Draw character collision
|
|
|
|
Line 190: Line 190:
|Ctrl+Shift+r
|Ctrl+Shift+r
|
|
|Draw Object Collision
|Draw object collision
|
|
|
|
Line 202: Line 202:
|Ctrl+Shift+g
|Ctrl+Shift+g
|
|
|Draw every frame
|Draw Every Frame Mode
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>'''(1)'''</center>
|<center>'''(1)'''</center>
Line 226: Line 226:
|Ctrl+Shift+Ins
|Ctrl+Shift+Ins
|
|
|Add Flag
|Add flag
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|
|<center>'''(2)'''</center>
|-
|-
|Ctrl+Shift+Del
|Ctrl+Shift+Del
|
|
|Delete Flag
|Delete flag
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 244: Line 244:
|Ctrl+Shift+n
|Ctrl+Shift+n
|
|
|Camera Record
|Camera recording start
|
|
|
|
Line 250: Line 250:
|Ctrl+Shift+m
|Ctrl+Shift+m
|
|
|Camera Stop
|Camera recording stop
|
|
|
|
Line 256: Line 256:
|Ctrl+Shift+,
|Ctrl+Shift+,
|
|
|Camera Playback
|Camera recording playback
|
|
|
|
Line 262: Line 262:
|?
|?
|
|
|Place Quad
|Place quad
|<center>?</center>
|<center>?</center>
|<center>?</center>
|<center>?</center>
Line 268: Line 268:
|?
|?
|
|
|Place Quad Mode
|Place quad mode
|<center>?</center>
|<center>?</center>
|<center>?</center>
|<center>?</center>
Line 274: Line 274:
|Ctrl+Shift+\
|Ctrl+Shift+\
|Ctrl+Shift+#
|Ctrl+Shift+#
|Profile Toggle (doesn't seem to have any effect)
|Profile toggle (doesn't seem to have any effect)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|
|
Line 316: Line 316:
|/
|/
| -
| -
|Single Step (when in Single Step Mode)
|Advance one step (when in Single Step Mode)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|-
|-
|.+/
|.+-
|Exit Single Step Mode (press keys simultaneously)
|<center>{{ckblue}}</center>
|
|
| Ctrl+Shift+.+-
| Exit Single Step Mode
|<center>{{ckblue}}</center>
|-
|-
|Ctrl+Shift+Home
|Ctrl+Shift+Home
|
|
|Change Active Camera
|Cycle active camera
|
|
|
|
Line 339: Line 340:
|Ctrl+Shift+k
|Ctrl+Shift+k
|
|
|Kill Particles
|Kill particles
|
|
|
|
Line 345: Line 346:
|Backspace
|Backspace
|
|
|Enter AI Debugger
|Enter AI debugger
|
|
|
|
Line 375: Line 376:
|Ctrl+Shift+j
|Ctrl+Shift+j
|
|
|Reset Particles
|Reset particles
|
|
|
|
Line 381: Line 382:
|Ctrl+Shift+w
|Ctrl+Shift+w
|
|
|Drop Flag and Add Waypoint
|Drop flag and add waypoint
|
|
|
|
Line 394: Line 395:
|
|
|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)
|
|<center>{{ckblue}}</center>
|<center>?</center>
|<center>{{ckblue}}</center>
|-
|-
|[
|[
|
|
|Frame Advance (now renders Konoko at camera location)
|Frame Advance (now renders Konoko at camera location)
|
|<center>{{ckblue}}</center>
|<center>?</center>
|<center>{{ckblue}}</center>
|-
|-
|Ctrl+Shift+s
|Ctrl+Shift+s
Line 407: Line 408:
|Highlight furniture (turns their textures red)
|Highlight furniture (turns their textures red)
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>?</center>
|
|-
|-
|F8, Shift+F8
|F8, Shift+F8
Line 417: Line 418:
|Ctrl+Shift+p
|Ctrl+Shift+p
|
|
|Perf Particle
|Display particle performance
|
|
|
|<center>?</center>
|-
|-
|Ctrl+Shift+;
|Ctrl+Shift+;
|
|
|Perf Particle Lock
|Lock particle performance display
|
|
|
|<center>?</center>
|-
|-
|=
|=
Line 431: Line 432:
|Screenshot
|Screenshot
|<center>?</center>
|<center>?</center>
|<center>?</center>
|
|-
|-
|F2
|F2
Line 447: Line 448:
|F6
|F6
|
|
|Kill All AIs
|Kill all AIs
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
Line 489: Line 490:
|Return/Enter
|Return/Enter
|
|
|Cycle Camera Modes:<br>
|Cycle camera modes (see table below for camera controls):<br>1. Normal<br>2. Detached A - mouse still controls character aim<br>3. Detached B - mouse aims camera
Normal<br>
Detached 1-mouse controls aim<br>
Detached 2-mouse controls camera<br>When in a detached mode, the following keys move the camera:
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|}
'''(1)''' On Macs, Draw Every Frame Mode speeds up the game almost to the extent of Fast Mode, but with glitchy animations.
'''(2)''' Please see talk page section "Insert key on Macs".
====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 seem to be reversed, as NumPad4 will simulate the act of turning your head to the left, but its action is called "man_cam_pan_right", and vice versa for NumPad6....
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
|align="center"|'''Windows'''
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
!Key
!Result
|-
|-
|<ul><li>NumPad1</li></ul>
|NumPad 1/3
|
|Move camera left/right
|Move camera left
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>NumPad3</li></ul>
|NumPad 8/5
|
|Move camera forward/backward
|Move camera right
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>NumPad8</li></ul>
|NumPad -/+
|
|Move camera up/down
|Move camera forward
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>NumPad5</li></ul>
|NumPad 6/4
|
|Pan camera left/right
|Move camera backward
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>NumPad-</li></ul>
|Up/Down Arrow
|
|Pan camera up/down
|Move camera up
|}
|<center>{{ckblue}}</center>
|align="center"|'''Mac'''
|<center>'''(2)'''</center>
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
!Key
!Result
|-
|-
|<ul><li>NumPad+</li></ul>
|Left/Right Arrow
|
|Move camera left/right
|Move camera down
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>NumPad6</li></ul>
|Up/Down Arrow
|
|Move camera forward/backward
|Pan camera left
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>NumPad4</li></ul>
|Page Up/Down
|
|Move camera up/down
|Pan camera right
|<center>{{ckblue}}</center>
|<center>'''(2)'''</center>
|-
|-
|<ul><li>Up Arrow</li></ul>
|NumPad 6/4
|
|Pan camera left/right
|Pan camera up
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|-
|-
|<ul><li>Down Arrow</li></ul>
|NumPad 8/2
|
|Pan camera up/down
|Pan camera down
|}
|<center>{{ckblue}}</center>
|<center>{{ckblue}}</center>
|}
|}
'''(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 [[Customizing/Binding#Detached camera controls|HERE]] about how to bind these keys.


====Runtime scripting====
====Runtime scripting====