Engine:Keyboard and mouse

From AddOn Studio
Revision as of 04:49, 18 November 2023 by Bear (talk | contribs) (→‎Notes)
Jump to navigation Jump to search
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
  • Shift or Caps Lock on, will cause the movement keys to apply to the 'self-entity'. Shift moves entity, not shift moves camera. So setting caps-lock for example drives the entity, even if the camera is not attached.

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