Engine:Keyboard and mouse: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
Line 10: Line 10:
; Basic
; Basic
* <code>`~</code> - open console
* <code>`~</code> - open console
* <code>Esc</code> - cancel editor selection, close console, close engine
* <code>Esc</code> - cancel edit selection, close console, close engine


; Console
; Console
Line 51: Line 51:
* <code>F11</code> - disable trace
* <code>F11</code> - disable trace
* <code>F12</code>,<code>O</code> - screenshot
* <code>F12</code>,<code>O</code> - screenshot
; Action
* <code>[</code> - previous item
* <code>]</code> - next item
* <code>Enter</code>,<code>Left Mouse</code> - action
; Non-camera move


=== Mouse ===
=== Mouse ===

Revision as of 04:44, 18 November 2023

Engine development

This is a reference for default mouse and keyboard commands in Engine.

Notes

  • This is the general default key and mouse setup used for testing
  • In text/console mode the keyboard and mouse behave differently

Reference

Keyboard

Basic
  • `~ - open console
  • Esc - cancel edit selection, close console, close engine
Console
  • Enter - execute text in console text box
  • Shift-Enter - create new line in console text box
Display toggles
  • P - toggle show framerate
  • L - toggle show log text
  • T - toggle show test 1 (C draw lines)
  • I - toggle show test 2 (Script draw lines)
Move
  • W,Up - forward
  • S,Down - backward
  • Q,, - strafe left
  • E,. - strafe right
  • A,Left - rotate left
  • D,Right - rotate right
Special move
  • Space - up, jump
  • C - down, crouch
  • N - roll left
  • W - roll right
Special camera
  • Left Ctrl - double camera control speed
  • Right Ctrl - halve camera control speed
  • F1 - toggle attach camera to self, first person
  • F2 - toggle attach camera to self, third person
  • F3 - save camera position
  • F4 - set camera to saved position
Special function
  • F5 - enable world ai
  • F6 - disable world ai
  • F10 - enable trace
  • F11 - disable trace
  • F12,O - screenshot
Action
  • [ - previous item
  • ] - next item
  • Enter,Left Mouse - action
Non-camera move

Mouse

Basic buttons
  • Right - hold to rotate left right
  • Left - action
  • Wheel - scroll text, zoom in out