Difference between revisions of "Key bindings"

From Wurmpedia
Jump to navigation Jump to search
(removed double listing)
(date added not important)
Line 14: Line 14:
 
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 in an [[inventory]] or highlighting an item on the [[ground]] (or a [[tile]] itself for other binds), and the <tt>TAKE</tt> bind key is pressed, that item will be taken. It is not necessary to left-click the mouse button in order to select an item first either; just hovering the mouse over something will allow the key bind to affect it.
 
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 in an [[inventory]] or highlighting an item on the [[ground]] (or a [[tile]] itself for other binds), and the <tt>TAKE</tt> bind key is pressed, that item will be taken. It is not necessary to left-click the mouse button in order to select an item first either; just hovering the mouse over something will allow the key bind to affect it.
  
<table width=100%>
+
===Table===
 +
<table width=50%>
 
<tr valign=top><td width=50%>
 
<tr valign=top><td width=50%>
 
===Date added===
 
Pre November 2007: <tt>NEXT_TAB, TOGGLE_CHAT, AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE</tt>
 
 
November 2007: <tt>[[fight|FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY]], [[climb|TOGGLE_CLIMB]], [[faith|TOGGLE_FAITHFUL]], [[lawful|TOGGLE_LAWFUL]], [[Toolbelt|ACTIVATE_TOOL1]], [[Toolbelt|ACTIVATE_TOOL2]], [[Toolbelt|ACTIVATE_TOOL3]], [[Toolbelt|ACTIVATE_TOOL4]], [[Toolbelt|ACTIVATE_TOOL5]]</tt> (there was no key option for [[spam mode]])
 
 
March 2008: <tt>[[Spam mode|TOGGLE_FIGHT_SPAM]], GLANCE_LEFT, GLANCE_RIGHT, NO_TARGET, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW, [[Examine|EXAMINE]], [[take|TAKE]], [[drop|DROP]]</tt>
 
 
August 2009 (client version 2.6.8-1658 [[unstable client]]): <tt>[[drag|DRAG, STOP_DRAGGING]], PUSH, [[repair|REPAIR]], TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, PULL, [[improve|IMPROVE]], [[dig|DIG, FLATTEN, PACK]], [[harvest|HARVEST, FARM]], [[cultivate|CULTIVATE]], [[mine|MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL]], [[prospect|PROSPECT]], [[pick|PICK_SPROUT]], [[prune|PRUNE]], [[cut|CUT_DOWN]], [[chop|CHOP_UP]]</tt>
 
 
October 2009 (2.6.8-1735 [[test client]]): <tt>ACTIVATE, [[tame|TAME]], [[Lead (action)|LEAD, STOP_LEADING]], [[track|TRACK]], [[feed|FEED]], [[target|TARGET]], [[absorb|ABSORB]], [[breed|BREED]], [[groom|GROOM]], [[dredge|DREDGE]], [[forage|FORAGE]], [[botanize|BOTANIZE]], [[pick|PICK_FLOWERS]]</tt>
 
 
December 2009 (2.6.8-1906,1908,1914 test): <tt>[[fish|FISH]], [[build|BUILD_HOUSE_WALL, BUILD_HOUSE_WINDOW, BUILD_HOUSE_DOOR, BUILD_STONE_WALL, BUILD_TALL_STONE_WALL, BUILD_PALISADE, BUILD_FENCE, BUILD_PALISADE_GATE, BUILD_FENCE_GATE]], [[finish|FINISH]], [[continue building|CONTINUE_BUILDING]]</tt>
 
 
January 2010 (2.7.0-2065): <tt>AIM_RIGHT, AIM_UPPER_LEFT, AIM_LEFT, AIM_MIDDLE, AIM_LOWER_MIDDLE, AIM_LOWER_RIGHT, AIM_LOWER_LEFT, AIM_UPPER_MIDDLE, AIM_UPPER_RIGHT, FOCUS, SHIELD_BASH, DEFEND_LEFT, DEFEND_RIGHT, DEFEND_LOWER, DEFEND_UPPER</tt>
 
 
</td>
 
<td width=2% bgcolor=#797b86></td>
 
<td>
 
 
===Table===
 
''(date-sorted by default but doesn't manually sort correctly so reload page)''
 
 
{| cellpadding=2 cellspacing=4 class=sortable
 
{| cellpadding=2 cellspacing=4 class=sortable
!Bind !!Category !!Date added
+
!Bind !!Category
 
|-
 
|-
|<tt>NEXT_TAB</tt> || [[Interface]] || Pre-November 2007
+
|<tt>NEXT_TAB</tt> || [[Interface]]
 
|-
 
|-
|<tt>TOGGLE_CHAT</tt> || [[Interface]] || Pre-November  2007
+
|<tt>TOGGLE_CHAT</tt> || [[Interface]]
 
|-
 
|-
|<tt>AUTORUN</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>AUTORUN</tt> || [[Player]] movement
 
|-
 
|-
|<tt>CENTER_VIEW</tt> || Camera || Pre-November  2007
+
|<tt>CENTER_VIEW</tt> || Camera
 
|-
 
|-
|<tt>TURN_DOWN</tt> || Camera || Pre-November  2007
+
|<tt>TURN_DOWN</tt> || Camera
 
|-
 
|-
|<tt>TURN_UP</tt> || Camera || Pre-November  2007
+
|<tt>TURN_UP</tt> || Camera
 
|-
 
|-
|<tt>TURN_LEFT</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>TURN_LEFT</tt> || [[Player]] movement
 
|-
 
|-
|<tt>TURN_RIGHT</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>TURN_RIGHT</tt> || [[Player]] movement
 
|-
 
|-
|<tt>MOVE_FORWARD</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>MOVE_FORWARD</tt> || [[Player]] movement
 
|-
 
|-
|<tt>MOVE_BACK</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>MOVE_BACK</tt> || [[Player]] movement
 
|-
 
|-
|<tt>MOVE_LEFT</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>MOVE_LEFT</tt> || [[Player]] movement
 
|-
 
|-
|<tt>MOVE_RIGHT</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>MOVE_RIGHT</tt> || [[Player]] movement
 
|-
 
|-
|<tt>STRAFE</tt> || [[Player]] movement || Pre-November  2007
+
|<tt>STRAFE</tt> || [[Player]] movement
 
|-
 
|-
|<tt>[[fight|FIGHT_DEFENSIVE]]</tt> || [[Fighting]] || November 2007
+
|<tt>[[fight|FIGHT_DEFENSIVE]]</tt> || [[Fighting]]
 
|-
 
|-
|<tt>[[fight|FIGHT_NORMAL]]</tt> || [[Fighting]] || November 2007
+
|<tt>[[fight|FIGHT_NORMAL]]</tt> || [[Fighting]]
 
|-
 
|-
|<tt>[[fight|FIGHT_AGGRESSIVELY]]</tt> || [[Fighting]] || November 2007
+
|<tt>[[fight|FIGHT_AGGRESSIVELY]]</tt> || [[Fighting]]
 
|-
 
|-
|<tt>[[climb|TOGGLE_CLIMB]]</tt> || [[Player]] movement || November 2007
+
|<tt>[[climb|TOGGLE_CLIMB]]</tt> || [[Player]] movement
 
|-
 
|-
|<tt>[[faith|TOGGLE_FAITHFUL]]</tt> || [[Religion]] || November 2007
+
|<tt>[[faith|TOGGLE_FAITHFUL]]</tt> || [[Religion]]
 
|-
 
|-
|<tt>[[lawful|TOGGLE_LAWFUL]]</tt> || Morality || November 2007
+
|<tt>[[lawful|TOGGLE_LAWFUL]]</tt> || Morality
 
|-
 
|-
|<tt>[[Toolbelt|ACTIVATE_TOOL1]]</tt> || [[Item]] movement/manipulation || November 2007
+
|<tt>[[Toolbelt|ACTIVATE_TOOL1]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[Toolbelt|ACTIVATE_TOOL2]]</tt> || [[Item]] movement/manipulation || November 2007
+
|<tt>[[Toolbelt|ACTIVATE_TOOL2]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[Toolbelt|ACTIVATE_TOOL3]]</tt> || [[Item]] movement/manipulation || November 2007
+
|<tt>[[Toolbelt|ACTIVATE_TOOL3]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[Toolbelt|ACTIVATE_TOOL4]]</tt> || [[Item]] movement/manipulation || November 2007
+
|<tt>[[Toolbelt|ACTIVATE_TOOL4]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[Toolbelt|ACTIVATE_TOOL5]]</tt> || [[Item]] movement/manipulation || November 2007
+
|<tt>[[Toolbelt|ACTIVATE_TOOL5]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[Spam mode|TOGGLE_FIGHT_SPAM]]</tt> || [[Fighting]] || March 2008
+
|<tt>[[Spam mode|TOGGLE_FIGHT_SPAM]]</tt> || [[Fighting]]
 
|-
 
|-
|<tt>GLANCE_LEFT</tt> || Camera || March 2008
+
|<tt>GLANCE_LEFT</tt> || Camera
 
|-
 
|-
|<tt>GLANCE_RIGHT</tt> || Camera || March 2008
+
|<tt>GLANCE_RIGHT</tt> || Camera
 
|-
 
|-
|<tt>NO_TARGET</tt> || [[Fighting]] || March 2008
+
|<tt>NO_TARGET</tt> || [[Fighting]]
 
|-
 
|-
|<tt>PREVIOUS_TAB</tt> || [[Interface]] || March 2008
+
|<tt>PREVIOUS_TAB</tt> || [[Interface]]
 
|-
 
|-
|<tt>NEXT_WINDOW</tt> || [[Interface]] || March 2008
+
|<tt>NEXT_WINDOW</tt> || [[Interface]]
 
|-
 
|-
|<tt>PREVIOUS_WINDOW</tt> || [[Interface]] || March 2008
+
|<tt>PREVIOUS_WINDOW</tt> || [[Interface]]
 
|-
 
|-
|<tt>[[Examine|EXAMINE]]</tt> || [[Item]] movement/manipulation || March 2008
+
|<tt>[[Examine|EXAMINE]]</tt> || [[Item]] movement/manipulation  
 
|-
 
|-
|<tt>[[take|TAKE]]</tt> || [[Item]] movement/manipulation || March 2008
+
|<tt>[[take|TAKE]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[drop|DROP]]</tt> || [[Item]] movement/manipulation || March 2008
+
|<tt>[[drop|DROP]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[drag|DRAG]]</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>[[drag|DRAG]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[drag|STOP_DRAGGING]]</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>[[drag|STOP_DRAGGING]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>PUSH</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>PUSH</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[repair|REPAIR]]</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>[[repair|REPAIR]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>TURN_CLOCKWISE</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>TURN_CLOCKWISE</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>TURN_COUNTERCLOCKWISE</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>TURN_COUNTERCLOCKWISE</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>PULL</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>PULL</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[improve|IMPROVE]]</tt> || [[Item]] movement/manipulation || August 2009
+
|<tt>[[improve|IMPROVE]]</tt> || [[Item]] movement/manipulation
 
|-
 
|-
|<tt>[[dig|DIG]]</tt> || [[Digging]] || August 2009
+
|<tt>[[dig|DIG]]</tt> || [[Digging]]
 
|-
 
|-
|<tt>[[flatten|FLATTEN]]</tt> || [[Digging]] || August 2009
+
|<tt>[[flatten|FLATTEN]]</tt> || [[Digging]]
 
|-
 
|-
|<tt>[[pack|PACK]]</tt> || [[Digging]] || August 2009
+
|<tt>[[pack|PACK]]</tt> || [[Digging]]
 
|-
 
|-
|<tt>[[harvest|HARVEST]]</tt> || [[Farming]] || August 2009
+
|<tt>[[harvest|HARVEST]]</tt> || [[Farming]]
 
|-
 
|-
|<tt>[[farm|FARM]]</tt> || [[Farming]] || August 2009
+
|<tt>[[farm|FARM]]</tt> || [[Farming]]
 
|-
 
|-
|<tt>[[cultivate|CULTIVATE]]</tt> || [[Digging]] || August 2009
+
|<tt>[[cultivate|CULTIVATE]]</tt> || [[Digging]]
 
|-
 
|-
|<tt>[[mine|MINE_FORWARD]]</tt> || [[Mining]] || August 2009
+
|<tt>[[mine|MINE_FORWARD]]</tt> || [[Mining]]
 
|-
 
|-
|<tt>[[mine|MINE_UP]]</tt> || [[Mining]] || August 2009
+
|<tt>[[mine|MINE_UP]]</tt> || [[Mining]]
 
|-
 
|-
|<tt>[[mine|MINE_DOWN]]</tt> || [[Mining]] || August 2009
+
|<tt>[[mine|MINE_DOWN]]</tt> || [[Mining]]
 
|-
 
|-
|<tt>[[mine|MINE_SURFACE]]</tt> || [[Mining]] || August 2009
+
|<tt>[[mine|MINE_SURFACE]]</tt> || [[Mining]]
 
|-
 
|-
|<tt>[[mine|MINE_TUNNEL]]</tt> || [[Mining]] || August 2009
+
|<tt>[[mine|MINE_TUNNEL]]</tt> || [[Mining]]
 
|-
 
|-
|<tt>[[prospect|PROSPECT]]</tt> || [[Mining]] || August 2009
+
|<tt>[[prospect|PROSPECT]]</tt> || [[Mining]]
 
|-
 
|-
|<tt>[[Pick sprout|PICK_SPROUT]]</tt> || [[Nature]] || August 2009
+
|<tt>[[Pick sprout|PICK_SPROUT]]</tt> || [[Nature]]
 
|-
 
|-
|<tt>[[prune|PRUNE]]</tt> || [[Nature]] || August 2009
+
|<tt>[[prune|PRUNE]]</tt> || [[Nature]]
 
|-
 
|-
|<tt>[[cut|CUT_DOWN]]</tt> || [[Woodcutting]] || August 2009
+
|<tt>[[cut|CUT_DOWN]]</tt> || [[Woodcutting]]
 
|-
 
|-
|<tt>[[chop|CHOP_UP]]</tt> || [[Woodcutting]] || August 2009
+
|<tt>[[chop|CHOP_UP]]</tt> || [[Woodcutting]]
 
|-
 
|-
|<tt>[[activate|ACTIVATE]]</tt> || [[Item ]] manipulation || October 2009
+
|<tt>[[activate|ACTIVATE]]</tt> || [[Item ]] manipulation
 
|-
 
|-
|<tt>[[tame|TAME]]</tt> || [[Animals]] || October 2009
+
|<tt>[[tame|TAME]]</tt> || [[Animals]]
 
|-
 
|-
|<tt>[[Lead (action)|LEAD]]</tt> || [[Animals]] || October 2009
+
|<tt>[[Lead (action)|LEAD]]</tt> || [[Animals]]
 
|-
 
|-
|<tt>[[Lead (action)|STOP_LEADING]]</tt> || [[Animals]] || October 2009
+
|<tt>[[Lead (action)|STOP_LEADING]]</tt> || [[Animals]]
 
|-
 
|-
|<tt>[[track|TRACK]]</tt> || [[Nature]] || October 2009
+
|<tt>[[track|TRACK]]</tt> || [[Nature]
 
|-
 
|-
|<tt>[[feed|FEED]]</tt> || [[Animals]] || October 2009
+
|<tt>[[feed|FEED]]</tt> || [[Animals]]
 
|-
 
|-
|<tt>[[target|TARGET]]</tt> || [[Fighting]] || October 2009
+
|<tt>[[target|TARGET]]</tt> || [[Fighting]]
 
|-
 
|-
|<tt>[[absorb|ABSORB]]</tt> || [[Healing]] || October 2009
+
|<tt>[[absorb|ABSORB]]</tt> || [[Healing]]
 
|-
 
|-
|<tt>[[breed|BREED]]</tt> || [[Animals]] || October 2009
+
|<tt>[[breed|BREED]]</tt> || [[Animals]]
 
|-
 
|-
|<tt>[[groom|GROOM]]</tt> || [[Animals]] || October 2009
+
|<tt>[[groom|GROOM]]</tt> || [[Animals]]
 
|-
 
|-
|<tt>[[dredge|DREDGE]]</tt> || [[Digging]] || October 2009
+
|<tt>[[dredge|DREDGE]]</tt> || [[Digging]]
 
|-
 
|-
|<tt>[[forage|FORAGE]]</tt> || [[Nature]] || October 2009
+
|<tt>[[forage|FORAGE]]</tt> || [[Nature]]
 
|-
 
|-
|<tt>[[botanize|BOTANIZE]]</tt> || [[Nature]] || October 2009
+
|<tt>[[botanize|BOTANIZE]]</tt> || [[Nature]]
 
|-
 
|-
|<tt>[[Pick flowers|PICK_FLOWERS]]</tt> || [[Nature]] || October 2009
+
|<tt>[[Pick flowers|PICK_FLOWERS]]</tt> || [[Nature]]
 
|}
 
|}
 
</td></tr>
 
</td></tr>

Revision as of 19:53, 9 January 2010

Main Page / Key bindings

Introduction

Key bindings are defined in the keybindings.txt file, which is automatically updated if you rebind keys while playing. Binds in autorun.txt will be executed on startup and these will overwrite any in keybindings.txt. These files can be found in the Wurm game directory under configs. e.g. C:\Games\Wurm\configs\default

Key binds

Key binds allow quick "hotkey" access to common commands and actions. The bind command requires special values as input.

<key> is based on Java key constants. Letters and numbers represent themselves. For other keys, if you can't guess the correct name search the full KeyEvent list. Meta keys can also be specified, e.g. shift-tab or ctrl-alt-w. Available meta keys are Ctrl, Shift, and Alt. The "Alt Gr" key is treated as Alt (if your keyboard has one). The non-meta key must always be the last key in the combination. It is not possible to bind only meta keys.

(The numpad keys can be tricky, as they duplicate other keys on the main keyboard. They are: numpad[0-9], add, subtract, multiply, divide and decimal.)

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 in an inventory or highlighting an item on the ground (or a tile itself for other binds), and the TAKE bind key is pressed, that item will be taken. It is not necessary to left-click the mouse button in order to select an item first either; just hovering the mouse over something will allow the key bind to affect it.

Table

Bind Category
NEXT_TAB Interface
TOGGLE_CHAT Interface
AUTORUN Player movement
CENTER_VIEW Camera
TURN_DOWN Camera
TURN_UP Camera
TURN_LEFT Player movement
TURN_RIGHT Player movement
MOVE_FORWARD Player movement
MOVE_BACK Player movement
MOVE_LEFT Player movement
MOVE_RIGHT Player movement
STRAFE Player movement
FIGHT_DEFENSIVE Fighting
FIGHT_NORMAL Fighting
FIGHT_AGGRESSIVELY Fighting
TOGGLE_CLIMB Player movement
TOGGLE_FAITHFUL Religion
TOGGLE_LAWFUL Morality
ACTIVATE_TOOL1 Item movement/manipulation
ACTIVATE_TOOL2 Item movement/manipulation
ACTIVATE_TOOL3 Item movement/manipulation
ACTIVATE_TOOL4 Item movement/manipulation
ACTIVATE_TOOL5 Item movement/manipulation
TOGGLE_FIGHT_SPAM Fighting
GLANCE_LEFT Camera
GLANCE_RIGHT Camera
NO_TARGET Fighting
PREVIOUS_TAB Interface
NEXT_WINDOW Interface
PREVIOUS_WINDOW Interface
EXAMINE Item movement/manipulation
TAKE Item movement/manipulation
DROP Item movement/manipulation
DRAG Item movement/manipulation
STOP_DRAGGING Item movement/manipulation
PUSH Item movement/manipulation
REPAIR Item movement/manipulation
TURN_CLOCKWISE Item movement/manipulation
TURN_COUNTERCLOCKWISE Item movement/manipulation
PULL Item movement/manipulation
IMPROVE Item movement/manipulation
DIG Digging
FLATTEN Digging
PACK Digging
HARVEST Farming
FARM Farming
CULTIVATE Digging
MINE_FORWARD Mining
MINE_UP Mining
MINE_DOWN Mining
MINE_SURFACE Mining
MINE_TUNNEL Mining
PROSPECT Mining
PICK_SPROUT Nature
PRUNE Nature
CUT_DOWN Woodcutting
CHOP_UP Woodcutting
ACTIVATE Item manipulation
TAME Animals
LEAD Animals
STOP_LEADING Animals
TRACK [[Nature]
FEED Animals
TARGET Fighting
ABSORB Healing
BREED Animals
GROOM Animals
DREDGE Digging
FORAGE Nature
BOTANIZE Nature
PICK_FLOWERS Nature

Examples

For an example of how key bindings can help you, see quickswitch hotkeys.

Additional autorun.txt uses

autorun.txt can be used in several other useful ways.

The following opens windows when the client loads:

toggle skills
toggle inventory
toggle stats

This stops kingdom chat from loading when the game starts, but sometimes someone gets in a message before it takes effect. Placing it at the top of the file may help.

say /kchat

You could add this to know how much sleep bonus you have when you log in. This works best at the bottom of the file.

say /sleep

You could add this to know how long the server has been up. This works best at the bottom of the file.

say /uptime

Defaults

If you want to reset your key bindings to their default state simply delete the keybindings file. A new one will be created with the default values.