Difference between revisions of "Key bindings"
m (http://forum.wurmonline.com/index.php?/topic/117459-change-keybind/#entry1200802) |
(→Default keybindings: Added select_button_*) |
||
Line 177: | Line 177: | ||
| ALIGN=CENTER | Bind | | ALIGN=CENTER | Bind | ||
| ALIGN=LEFT | Stops current [[action]] from [[Action_queue|queue]] or opens the in-game menu if empty | | ALIGN=LEFT | Stops current [[action]] from [[Action_queue|queue]] or opens the in-game menu if empty | ||
+ | |- | ||
+ | | HEIGHT=18 ALIGN=LEFT | HUD | ||
+ | | ALIGN=LEFT | Select bar slot # | ||
+ | | ALIGN=CENTER | {{key|1}} – {{key|8}} | ||
+ | | ALIGN=CENTER | [[Select bar]] | ||
+ | | ALIGN=LEFT | SELECT_BUTTON_# | ||
+ | | ALIGN=CENTER | Bind | ||
+ | | ALIGN=LEFT | Perform the action in slot # of the [[select bar]] | ||
|- | |- | ||
| HEIGHT=18 ALIGN=LEFT | HUD | | HEIGHT=18 ALIGN=LEFT | HUD |
Revision as of 22:13, 30 January 2015
Main Page / Key bindings
Contents
Introduction
Game actions, toggles and chat or console commands may be bound to certain keys on the keyboard or buttons of a mouse to allow quick access to actions or commands. These may be modified via the launcher settings under the Keybindings tab. This page provides an overview of what each command does along with its alias for when setting manually via the console or in the textfile. See the topic advanced binding below for more information on manual changes. It's advisable to always use the launcher settings for creating binds as a warning is presented when duplicate assignments are chosen so that none are unexpectedly overwritten, unless the action is not available in the settings.
Default keybindings
Tab | Command | Default | Category | Keybind | Type | Description |
---|---|---|---|---|---|---|
Movement | Move forwards |
W / UP |
Movement | MOVE_FORWARD | Bind | Moves the player/mount/vehicle forward |
Movement | Move backwards |
S / DOWN |
Movement | MOVE_BACK | Bind | Moves the player/mount/vehicle backwards |
Movement | Move left |
A |
Movement | MOVE_LEFT | Bind | Player strafe left or turn mount/vehicle left |
Movement | Move right |
D |
Movement | MOVE_RIGHT | Bind | Player strafe right or turn mount/vehicle right |
Movement | Turn left |
Q / LEFT |
Camera | TURN_LEFT | Bind | Turn the player and camera left |
Movement | Turn right |
E / RIGHT |
Camera | TURN_RIGHT | Bind | Turn the player and camera right |
Movement | Turn up |
PAGE_UP |
Camera | TURN_UP | Bind | Turn the camera up |
Movement | Turn down |
PAGE_DOWN |
Camera | TURN_DOWN | Bind | Turn the camera down |
Movement | Glance left | Camera | GLANCE_LEFT | Bind | Glance/lookspring left – returns to neutral on release | |
Movement | Glance right | Camera | GLANCE_RIGHT | Bind | Glance/lookspring right – returns to neutral on release | |
Movement | Autorun |
X |
Movement | AUTORUN | Bind | Automatically walks forward until pressed again |
Movement | Strafe |
INSERT |
Movement | STRAFE | Bind | Whilst held the TURN_ commands become MOVE_ |
Movement | Center view |
V |
Camera | CENTER_VIEW | Bind | Resets the camera vertically |
HUD | Toggle chat |
ENTER / T |
Interface | TOGGLE_CHAT | Bind | Enters the editbox for the focused chat window |
HUD | Next tab |
TAB |
Interface | NEXT_TAB | Bind | Switch to the next tab on the focused window |
HUD | Previous tab |
SHIFT+ TAB |
Interface | PREVIOUS_TAB | Bind | Switch to the previous tab on the focused window |
HUD | Next window |
CTRL+ TAB |
Interface | NEXT_WINDOW | Bind | Set the focus to the next window (chat/event) |
HUD | Previous window |
CTRL+ SHIFT+ TAB |
Interface | PREVIOUS_WINDOW | Bind | Set the focus to the previous window (chat/event) |
HUD | Main Menu |
O |
Interface | MAIN_MENU | Bind | Open the in-game menu |
HUD | Stop or Main Menu |
ESCAPE |
Action | STOP_OR_MAIN_MENU | Bind | Stops current action from queue or opens the in-game menu if empty |
HUD | Select bar slot # |
1 – 8 |
Select bar | SELECT_BUTTON_# | Bind | Perform the action in slot # of the select bar |
HUD | Activate toolbelt slot # |
1 – 5 |
Toolbelt | ACTIVATE_TOOL# | Bind | Switch to toolbelt configuration of number # |
HUD | Load toolbelt arrangement # | Toolbelt | LOAD_TOOLBELT# | Bind | Loads toolbelt arrangement # into active toolbelt | |
HUD | Save current toolbelt arrangement | Toolbelt | SAVE_TOOLBELT | Bind | Saves active toolbelt arrangement | |
HUD | Save toolbelt arrangement # | Toolbelt | SAVE_TOOLBELT# | Bind | Saves active toolbelt arrangement to # | |
HUD | Next toolbelt arrangement | Toolbelt | NEXT_TOOLBELT | Bind | Switch to next toolbelt arrangement | |
HUD | Previous toolbelt arrangement | Toolbelt | PREV_TOOLBELT | Bind | Switch to previous toolbelt arrangement | |
HUD | Toggle climb | Movement | TOGGLE_CLIMB | Bind | Toggles climbing mode | |
HUD | Toggle faithful | Religion | TOGGLE_FAITHFUL | Bind | Toggles faith mode | |
HUD | Toggle lawful | Reputation | TOGGLE_LAWFUL | Bind | Toggles lawful mode | |
HUD | Toggle fight spam | Interface | TOGGLE_FIGHT_SPAM | Bind | Toggles fighting spam text | |
HUD | Toggle character window | Interface | TOGGLE_CHARACTER_WINDOW | Bind | Toggles the the character display | |
HUD | Toggle character |
C / P / F9 |
Interface | TOGGLE_CHARACTER | Bind | Toggles the character equipment window |
HUD | Toggle map |
M |
Interface | TOGGLE_MAP | Bind | Toggles the world map |
HUD | Toggle crafting window |
B |
Interface | TOGGLE_CRAFTING | Bind | Toggles the crafting window |
HUD | Toggle crafting recipes |
N |
Interface | TOGGLE_CRAFTING_RECIPES | Bind | Toggles the crafting recipe window |
HUD | Toggle console |
F1 |
Interface | "toggle console" | Console | Toggles the console |
HUD | Toggle skills |
F2 |
Interface | "toggle skills" | Console | Toggles the skill window |
HUD | Toggle inventory |
F3 / I |
Interface | "toggle inventory" | Console | Toggles the inventory window |
HUD | Toggle stats |
F4 |
Interface | "toggle stats" | Console | Toggles the client statistics window |
HUD | Check sleep |
F5 |
Sleep bonus | "say /sleep" | Chat | Display sleep bonus information in event window |
HUD | Check time |
F6 |
Time | "say /time" | Chat | Display time information in event window |
HUD | Toggle mission |
F7 |
Interface | "say /mission" | Chat | Displays a window showing mission or tutorial information |
HUD | Toggle GUI |
F10 |
Interface | "toggle gui" | Console | Toggles the GUI on or off |
HUD | Screenshot |
F11 |
Interface | "screenshot" | Console | Takes a screenshot |
HUD | Quit |
F12 |
Interface | "quit" | Console | Displays the quit dialogue |
Action | Examine | Action | EXAMINE | Bind | Examines the highlighted item, object etc | |
Action | Equip | Action | EQUIP | Bind | Equips the highlighted item | |
Action | Equip left | Action | EQUIP_LEFT | Bind | Equips the highlighted item to the left side | |
Action | Equip right | Action | EQUIP_RIGHT | Bind | Equips the highlighted item to the right side | |
Action | Unequip | Action | UNEQUIP | Bind | Unequips the highlighted item | |
Action | First aid | Action | FIRSTAID | Bind | Aids the highlighted wound | |
Action | Treat | Action | TREAT | Bind | Treats the highlighted wound | |
Action | Absorb | Action | ABSORB | Bind | Absorbs the highlighted mycelium | |
Action | Climb up | Movement | CLIMB_UP | Bind | Climb up ladders | |
Action | Climb down | Movement | CLIMB_DOWN | Bind | Climb down ladders | |
Action | Track | Action | TRACK | Bind | Track on the highlighted tile | |
Action | Fish | Action | FISH | Bind | Fish on the highlighted tile | |
Action | Stop | Action | STOP | Bind | Stops current action from queue | |
Action | Sell | Action | SELL | Bind | Sells to the highlighted token or trader | |
Crafting | Add to crafting window | Crafting | ADD_TO_CRAFTING_WINDOW | Bind | Adds highlighted item to the crafting window | |
Crafting | Improve | Crafting | IMPROVE | Bind | Improves the highlighted item | |
Crafting | Repair | Crafting | REPAIR | Bind | Repairs the highlighted item | |
Crafting | Continue | Crafting | CONTINUE | Bind | Continues creating the highlighted item which require more attachments | |
Crafting | Finish | Crafting | FINISH | Bind | Finishes the highlighted item (unfinished items only) | |
Crafting | Plan building | Crafting | PLAN_BUILDING | Bind | Plan a building on the highlighted tile | |
Crafting | Finalize building | Crafting | FINALIZE_BUILDING | Bind | Finalizes a building on the highlighted tile | |
Item | Activate | Action | ACTIVATE | Bind | Activates the highlighted item | |
Item | Open | Action | OPEN | Bind | Opens the highlighted item | |
Item | Close | Action | CLOSE | Bind | Closes the highlighted item | |
Item | Take | Action | TAKE | Bind | Takes the highlighted item | |
Item | Drop | Action | DROP | Bind | Drops the highlighted item | |
Item | Combine | Action | COMBINE | Bind | Combines the selected items | |
Item | Lock | Action | LOCK | Bind | Locks the highlighted item | |
Item | Unlock | Action | UNLOCK | Bind | Unlocks the highlighted item | |
Item | Drag | Action | DRAG | Bind | Drags the highlighted item | |
Item | Stop dragging | Action | STOP_DRAGGING | Bind | Stops dragging the highlighted item | |
Item | Push | Action | PUSH | Bind | Pushes the highlighted item | |
Item | Pull | Action | PULL | Bind | Pulls the highlighted item | |
Item | Turn clockwise | Action | TURN_CLOCKWISE | Bind | Turns the highlighted item clockwise | |
Item | Turn counterclockwise | Action | TURN_COUNTERCLOCKWISE | Bind | Turns the highlighted item counter-clockwise | |
Creature | Lead | Action | LEAD | Bind | Leads the highlighted creature | |
Creature | Stop leading | Action | STOP_LEADING | Bind | Stops leading the highlighted creature | |
Creature | Tame | Action | TAME | Bind | Tames the highlighted creature | |
Creature | Feed | Action | FEED | Bind | Feeds the highlighted creature with the activated item | |
Creature | Breed | Action | BREED | Bind | Breeds the highlighted creature with the led creature | |
Creature | Groom | Action | GROOM | Bind | Grooms the highlighted creature | |
Creature | Butcher | Action | BUTCHER | Bind | Butchers the highlighted corpse | |
Creature | Bury | Action | BURY | Bind | Burys the highlighted creature | |
Creature | Shear | Action | SHEAR | Bind | Shear wool of sheeps | |
Terraform | Dig | Digging | DIG | Bind | Digs on the current corner player is standing | |
Terraform | Pack | Digging | PACK | Bind | Packs the highlighted tile | |
Terraform | Dredge | Digging | DREDGE | Bind | Dredges on the current corner player is standing | |
Terraform | Level | Digging | LEVEL | Bind | Levels the highlighted tile | |
Terraform | Flatten | Digging | FLATTEN | Bind | Flattens the highlighted tile | |
Terraform | Flatten border | Digging | FLATTEN_BORDER | Bind | Flattens the highlighted tile border | |
Terraform | Mine surface | Mining | MINE_SURFACE | Bind | Mines the surface of the current corner player is standing | |
Terraform | Tunnel | Mining | MINE_TUNNEL | Bind | Tunnels into the rock face highlighted | |
Terraform | Mine forward | Mining | MINE_FORWARD | Bind | Mines flat into the cave tile highlighted | |
Terraform | Mine down | Mining | MINE_DOWN | Bind | Mines down into the cave tile highlighted | |
Terraform | Mine up | Mining | MINE_UP | Bind | Mines up into the cave tile highlighted | |
Terraform | Prospect | Mining | PROSPECT | Bind | Prospects the highlighted tile | |
Terraform | Analyse | Mining | ANALYSE | Bind | Analyses the highlighted item | |
Nature | Harvest | Farming | HARVEST | Bind | Harvest the highlighted tile | |
Nature | Farm | Farming | FARM | Bind | Farm the highlighted tile | |
Nature | Sow | Farming | SOW | Bind | Sow the activated item in the highlighted tile | |
Nature | Cultivate | Farming | CULTIVATE | Bind | Cultivate the highlighted tile | |
Nature | Pick sprout | Forestry | PICK_SPROUT | Bind | Pick sprout from highlighted tree/plant | |
Nature | Prune | Forestry | PRUNE | Bind | Prune highlighted tree/plant | |
Nature | Cut down | Forestry | CUT_DOWN | Bind | Cut down highlighted tree/plant | |
Nature | Chop up | Forestry | CHOP_UP | Bind | Chop up highlighted felled tree | |
Nature | Forage | Nature | FORAGE | Bind | Forage on highlighted tile | |
Nature | Forage vegetable | Nature | FORAGE_VEG | Bind | Forage for vegetables on highlighted tile | |
Nature | Forage resource | Nature | FORAGE_RESOURCE | Bind | Forage for resources on highlighted tile | |
Nature | Forage berries | Nature | FORAGE_BERRIES | Bind | Forage for berries on highlighted tile | |
Nature | Botanize | Nature | BOTANIZE | Bind | Botanize on highlighted tile | |
Nature | Botanize seeds | Nature | BOTANIZE_SEEDS | Bind | Botanize for seeds on highlighted tile | |
Nature | Botanize herbs | Nature | BOTANIZE_HERBS | Bind | Botanize for herbs on highlighted tile | |
Nature | Botanize resource | Nature | BOTANIZE_RESOURCE | Bind | Botanize for resources on highlighted tile | |
Nature | Pick flower | Nature | PICK_FLOWERS | Bind | Pick flowers from highlighted tile | |
Nature | Plant | Nature | PLANT | Bind | Plant Sprouts naturally | |
Nature | Plant Center | Nature | PLANT_CENTER | Bind | Plant Sprouts in the center if tiles | |
N/A | Gather | Nature | GATHER | Bind | Gather grass | |
N/A | Trim | Nature | TRIM | Bind | Trim grass to lawn | |
Fighting | Target | Fighting | TARGET | Bind | Sets target as highlighted creature/player | |
Fighting | No target | Fighting | NO_TARGET | Bind | Removes any target | |
Fighting | Fight defensive | Fighting | FIGHT_DEFENSIVE | Bind | Fight defensively | |
Fighting | Fight normal | Fighting | FIGHT_NORMAL | Bind | Fight normally | |
Fighting | Fight aggressively | Fighting | FIGHT_AGGRESSIVELY | Bind | Fight aggressively | |
Fighting | Aim upper left |
NUMPAD7 |
Fighting | AIM_UPPER_LEFT | Bind | Aim for upper left part of creature/player |
Fighting | Aim upper middle |
NUMPAD8 |
Fighting | AIM_UPPER_MIDDLE | Bind | Aim for upper middle part of creature/player |
Fighting | Aim upper right |
NUMPAD9 |
Fighting | AIM_UPPER_RIGHT | Bind | Aim for upper right part of creature/player |
Fighting | Aim left |
NUMPAD4 |
Fighting | AIM_LEFT | Bind | Aim for left part of creature/player |
Fighting | Aim middle |
NUMPAD5 |
Fighting | AIM_MIDDLE | Bind | Aim for middle part of creature/player |
Fighting | Aim right |
NUMPAD6 |
Fighting | AIM_RIGHT | Bind | Aim for right part of creature/player |
Fighting | Aim lower left |
NUMPAD1 |
Fighting | AIM_LOWER_LEFT | Bind | Aim for lower left part of creature/player |
Fighting | Aim lower middle |
NUMPAD2 |
Fighting | AIM_LOWER_MIDDLE | Bind | Aim for lower middle part of creature/player |
Fighting | Aim lower right |
NUMPAD3 |
Fighting | AIM_LOWER_RIGHT | Bind | Aim for lower right part of creature/player |
Fighting | Defend left |
DIVIDE |
Fighting | DEFEND_LEFT | Bind | Defend your left parts |
Fighting | Defend right |
ADD |
Fighting | DEFEND_RIGHT | Bind | Defend your right parts |
Fighting | Defend upper |
MULTIPLY |
Fighting | DEFEND_UPPER | Bind | Defend your upper parts |
Fighting | Defend lower |
SUBTRACT |
Fighting | DEFEND_LOWER | Bind | Defend your lower parts |
Fighting | Focus |
NUMPAD0 |
Fighting | FOCUS | Bind | Focus your fighting |
Fighting | Shield bash |
DECIMAL |
Fighting | SHIELD_BASH | Bind | Use your shield to stun the target. |
Fighting | Special move # |
6 – 0 |
Fighting | SPECIAL_MOVE# | Bind | Perform special move number # |
Priest | Pray | Religion | PRAY | Bind | Pray at highlighted tile or item | |
Priest | Preach | Religion | PREACH | Bind | Preach at highlighted item or character | |
Priest | Listen | Religion | LISTEN | Bind | Listen to highlighted character | |
Priest | Link | Religion | LINK | Bind | Link to highlighted character |
These keybinds are set as default in the client but cannot be directly modified in the settings. Read the advanced section below for details on how to modify these.
Tab | Command | Default | Category | Keybind | Type | Description |
---|---|---|---|---|---|---|
N/A | Check focus level |
F8 |
Fighting | "say /fl" | Chat | Display focus level information in event window |
N/A | Toggle Wikisearch |
H |
Interface | "toggle wikisearch" | Console | Toggles the Wikisearch window |
Advanced key binding
There are more advanced methods to changing key binds and this section will attempt to explain these. Do not attempt to modify key bindings manually without an understanding of the pitfalls and advice below.
- Overwriting a key bind may be done unintentionally and there is no undo, the original will have to be re-added.
- Accidental binds on movement, camera or interface may cause undesired effects and could get the character into trouble, for example if movement keys are changed and they are attacked.
- If in doubt, back-up the keybindings.txt file before making any changes via the console or in the file itself.
Console
To access the console press the default keybind of F1 to open the window. From here the BIND command may be used to assign keys to actions, chat or console commands.
Usage: bind <key> [<action>|"<command>"]
There are three types of action or command which can be assigned to a key bind. Action, console and chat.
- Actions are the Bind type entries listed in the tables above, such as MINE_FORWARD or PRAY. These cannot be used stand-alone and normally reference right-click in-game context menu actions.
BIND UP MINE_FORWARD
- Console commands are Console type entries such as "toggle console" and "screenshot". These must be added to the bind with the double quotes (
") surrounding them. They may also be used stand-alone in the console without the quotations.
BIND F1 "toggle console"
- Chat commands are Chat type entries, "say /time" or "say /sleep". These must also be added to the bind with double quotes and can be used in the chat window without the quotes and without the prefix say.
BIND F5 "/say sleep"
In-game wiki
The in-game wiki is an important tool for new players so this section describes how to re-bind the key should it ever become unbound. Open the console using the default F1, if this has been unbound check in the keybindings setting. Now enter the following to have it re-bound to H.
bind h "toggle wikisearch"
Now when the player hits H the wiki box will appear so that in-game searches may be made.
keybindings.txt
Editing the keybindings.txt file in the location specified under Keybindings source in the Game tab of the launcher settings will allow players to manually change, delete or add in, line by line, a list of keybindings as already discussed. They are entered the in the same method as they would be typed into the console. It's advisable that a backup is taken before any changes are made.
Console EXEC
Key binds may also be combined with the Exec console command to enable a player to perform a wide range of tasks with only a few keys, swapping keybinds on the fly. See quickswitch hotkeys for more information and examples.
Special characters
Some keys cannot be entered as typed on a keyboard and must be refereed to by their Java reference.
Java name | On QWERTY | On QWERTZ |
---|---|---|
SLASH |
/ |
# |
APOSTROPHE |
' |
ä |
PERIOD |
. |
. |
SEMICOLON |
; |
ü |
EQUALS |
{{{1}}} |
* |
COMMA |
, |
, |
SUBTRACT |
- |
- |
PLUS |
+ |
; or NUMPAD + |
GRAVE |
` |
ö |
RBRACKET |
] |
´ |
LBRACKET |
[ |
ß |
BACKSLASH |
\ |
^ |
DECIMAL |
NUMPAD . |
NUMPAD , |
divide |
NUMPAD / |
NUMPAD / |
MULTIPLY |
NUMPAD * |
NUMPAD * |
MOUSE2 |
MMB |
MMB |
MOUSE3 |
MB4 |
MB4 |
MOUSE4 |
MB5 |
MB5 |
AT |
@ |
@ |
COLON |
: |
: |
CIRCUMFLEX |
^ |
^ |
Most mouse buttons will be detected by Java and the game may make them all available. Simply increment the number at the end of MOUSE to test if your buttons will accept binds. Java mouse button labels are: left, right, MOUSE2, MOUSE3, and MOUSE4. On windows this corresponds to buttons: left, right, middle or button3, button4, and button5.
Notes
- To reset key bindings to their default state delete the keybindings.txt file at the location specified under Keybindings source in the Game tab of the launcher settings. This will generate a new file on next load.
- To access the console, press
F1 (by default). It's also accessable via the Main Menu.
- Key modifiers may also be specified, e.g. SHIFT or CTRL+ALT. Add these before the key you with to bind, e.g. SHIFT+D. Available modifiers are:
- shift
- ctrl, ctrl+alt, ctrl+shift
- alt, alt+shift
- ctrl+alt+shift
- Numpad keys are not the same as the normal keys on the keyboard, ensure the correct assignment is used.
- It is possible to assign binds to mouse buttons, e.g. forward, back, middle-click.
- To see the current assignment via the console type bind <key>
- To remove a key bind assignment type bind <key> ""
- Chat messages may also be bound to keys:
bind <key> "say guards!" bind <key> "say /shout Hello kingdom people!" bind <key> "say /v Hello village people!" bind <key> "say /tell <name> Enemies in local run awayyyy!"
- All possible chat commands are available by typing /help in a chat box.
- To list all key binds in the console type dump binds in the console window.
- Keys bound to actions are sensitive to the mouse cursor's hover location/position and object highlight. So, if the cursor is hovering over an item or tile that will be the target of the action. Some actions require an activated item to be available.