Customizing/Binding: Difference between revisions
mNo edit summary |
m (→Bindable keys) |
||
| Line 36: | Line 36: | ||
|numpadenter | |numpadenter | ||
|- | |- | ||
|Page Up/ | |Page Up/Down, Home, End | ||
|pageup, pagedown | |pageup, pagedown, home, end | ||
|- | |- | ||
| | |Caps Lock, Num Lock | ||
|capslock, numlock | |||
|numlock | |||
|- | |- | ||
|, | |, | ||
| Line 60: | Line 54: | ||
|semicolon | |semicolon | ||
|- | |- | ||
|] | |[ ] | ||
|rightbracket | |rightbracket, leftbracket | ||
|- | |- | ||
|\ | |/ \ | ||
|backslash | |slash, backslash | ||
|- | |- | ||
|Tab | |Tab | ||
|tab | |tab | ||
|- | |- | ||
|Backspace | |Space, Backspace | ||
|backspace | |space, backspace | ||
|- | |- | ||
|Enter | |Enter | ||
| Line 90: | Line 78: | ||
|control/leftcontrol/rightcontrol | |control/leftcontrol/rightcontrol | ||
|- | |- | ||
| | |(Mac only) Command, Option | ||
|command | |command, option | ||
|- | |- | ||
|Alt | |Alt | ||
|alt | |alt | ||
|- | |- | ||
|F# (with #= 1, 2, 3...) | |F# (with #= 1, 2, 3...) | ||
Revision as of 16:40, 10 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
| Key description | Syntax |
|---|---|
| Up/Down/Left/Right Arrow | uparrow, downarrow, leftarrow, righarrow |
| Num Pad # (where # is a number from 0 to 9) |
numpad# |
| Num Pad * / + - | multiply, divide, add, substract |
| Num Pad = | numpadequals |
| Num Pad Delete | decimal |
| Num Pad Enter | numpadenter |
| Page Up/Down, Home, End | pageup, pagedown, home, end |
| Caps Lock, Num Lock | capslock, numlock |
| , | comma |
| . | period |
| ' | apostrophe |
| ; | semicolon |
| [ ] | rightbracket, leftbracket |
| / \ | slash, backslash |
| Tab | tab |
| Space, Backspace | space, backspace |
| Enter | enter |
| Shift | shift/leftshift/rightshift |
| Caps Lock | capslock |
| Control | control/leftcontrol/rightcontrol |
| (Mac only) Command, Option | command, option |
| Alt | alt |
| F# (with #= 1, 2, 3...) | fkey# |
| A-Z | a-z (LOWERCASE!) |
| 0-9 | 0-9 |
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 |
This is very incomplete. Filling in slowly...
Related issues
- the lock_keys scripting command.