Customizing/Binding: Difference between revisions

From OniGalore
Jump to navigation Jump to search
Line 17: Line 17:
!Key description
!Key description
!Syntax
!Syntax
|-
|0 ... 9, A ... Z
|0 ... 9, a ... z (lowercase)
|-
|F1 ... F12 ... F15
|fkey1 ... fkey12 ... fkey15
|-
|-
|Up/Down/Left/Right Arrow
|Up/Down/Left/Right Arrow
|uparrow, downarrow, leftarrow, rightarrow
|uparrow, downarrow, leftarrow, rightarrow
|-
|-
|F1, F2, ... , F12
|Space, Backspace, Tab, Enter
|fkey1, fkey2, ... , fkey12
|space, backspace, tab, enter
|-
|Num Pad #<br>(where # is a number from 0 to 9)
|numpad#
|-
|-
|Num Pad * / + -
|Num Pad 0 ... Num Pad 9
|multiply, divide, add, substract
|numpad0 ... numpad9
|-
|-
|Num Pad =
|Num Pad '''* / + - .'''
|numpadequals
|multiply, divide, add, substract, decimal
|-
|-
|Num Pad Delete
|Num Pad Enter, Num Pad =
|decimal
|numpadenter, numpadequals
|-
|-
|Num Pad Enter
|Print Screen, Pause, Insert, Delete
|numpadenter
|printscreen, pause, insert, delete
|-
|-
|Page Up/Down, Home, End
|Page Up/Down, Home, End
|pageup, pagedown, home, end
|pageup, pagedown, home, end
|-
|-
|Caps Lock, Num Lock
|Caps Lock, Num Lock, Scroll Lock
|capslock, numlock
|capslock, numlock, scrolllock
|-
|,
|comma
|-
|.
|period
|-
|'
|apostrophe
|-
|;
|semicolon
|-
|[ ]
|rightbracket, leftbracket
|-
|/ \
|slash, backslash
|-
|Tab
|tab
|-
|Space, Backspace
|space, backspace
|-
|Enter
|enter
|-
|-
|Shift
|<tt>, . ; '</tt>
|shift/leftshift/rightshift
|comma, period, semicolon, apostrophe
|-
|-
|Caps Lock
|[ ] / \
|capslock
|rightbracket, leftbracket, slash, backslash
|-
|-
|Control
|Left/Right Shift
|control/leftcontrol/rightcontrol
|leftshift/rightshift
|-
|-
|(Mac only) Command, Option
|Left/Right Control
|command, option
|leftcontrol/rightcontrol
|-
|-
|Alt
|Left/Right Alt
|alt
|leftalt/rightalt
|-
|-
|A-Z
|(Mac only) Left/Right Option
|a-z (LOWERCASE!)
|leftoption/rightoption
|-
|-
|0-9
|(PC only) Left/Right Windows
|0-9
|leftwindows/rightwindows
|}
|}



Revision as of 22:59, 11 November 2005

How to bind (from OniCentral)

When you want to add your own controls, make sure you do it underneath the heading "unbindall" and above "# default controls" in "key_config.txt".

You can delete binds from "# default controls", but make sure the bind is in the "unbindall" area. Edit the controls in "# misc" freely.

The bind command is structured the following way:

bind *key* to *action*

So if you would want to bind "kick" to / you would type:

bind slash to kick

N.B. Bindings that can't be changed are F8 (bound to shapeshifter) and Esc (exits to Main Menu and resumes).

Bindable keys

Bindable keys
Key description Syntax
0 ... 9, A ... Z 0 ... 9, a ... z (lowercase)
F1 ... F12 ... F15 fkey1 ... fkey12 ... fkey15
Up/Down/Left/Right Arrow uparrow, downarrow, leftarrow, rightarrow
Space, Backspace, Tab, Enter space, backspace, tab, enter
Num Pad 0 ... Num Pad 9 numpad0 ... numpad9
Num Pad * / + - . multiply, divide, add, substract, decimal
Num Pad Enter, Num Pad = numpadenter, numpadequals
Print Screen, Pause, Insert, Delete printscreen, pause, insert, delete
Page Up/Down, Home, End pageup, pagedown, home, end
Caps Lock, Num Lock, Scroll Lock capslock, numlock, scrolllock
, . ; ' comma, period, semicolon, apostrophe
[ ] / \ rightbracket, leftbracket, slash, backslash
Left/Right Shift leftshift/rightshift
Left/Right Control leftcontrol/rightcontrol
Left/Right Alt leftalt/rightalt
(Mac only) Left/Right Option leftoption/rightoption
(PC only) Left/Right Windows leftwindows/rightwindows

Bindable events

Bindable events
Event description Syntax
Forward forward
Left stepleft
Backward backward
Right right
weapon/holster/pick up) swap
Drop weapon drop
Jump jump
Punch punch
Kick kick
Crouch crouch
Walk walk
Hypo hypo
Reload reload
Custom Key 1 cutscene_1
Custom Key 2 cutscene_2

This is very incomplete. Filling in slowly...

Related issues