Difference between revisions of "Key bindings"

From Wurmpedia
Jump to navigation Jump to search
(fighting stance keybinds)
Line 61: Line 61:
  
 
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>
 
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>
 
<td width=2% bgcolor=#797b86></td>
 
<td width=2% bgcolor=#797b86></td>

Revision as of 17:19, 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.

Category

(incomplete and needs cleaning up)

* UI CONTROL: NEXT_TAB, TOGGLE_CHAT, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW

* Movement/Control: AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE, GLANCE_LEFT, GLANCE_RIGHT

* FIGHTING/COMBAT: FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY, TOGGLE_FIGHT_SPAM, NO_TARGET, TARGET, 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

* STATUS TOGGLES: TOGGLE_CLIMB, TOGGLE_FAITHFUL, TOGGLE_LAWFUL

* ITEM MOVEMENT/MANIPULATION: DRAG, STOP_DRAGGING, PUSH, PULL, TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, ACTIVATE_TOOL1, ACTIVATE_TOOL2, ACTIVATE_TOOL3, ACTIVATE_TOOL4, ACTIVATE_TOOL5, TAKE, DROP, EXAMINE

* MINING/DIGGING: DIG, FLATTEN, PACK, MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL, PROSPECT, DREDGE

* NATURE/FARMING/GROOMING: FORAGE, BOTANIZE, PICK_FLOWERS, PRUNE, CULTIVATE, PICK_SPROUT, FARM, HARVEST, BREED, GROOM, TAME, LEAD, STOP_LEADING, FEED

* RELIGION: ABSORB

* ITEM CREATION/MISC ITEMS: IMPROVE, REPAIR, CUT_DOWN, CHOP_UP

* MISC SKILLS: TRACK

Date added

Pre November 2007: NEXT_TAB, TOGGLE_CHAT, AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE

November 2007: FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY, TOGGLE_CLIMB, TOGGLE_FAITHFUL, TOGGLE_LAWFUL, ACTIVATE_TOOL1, ACTIVATE_TOOL2, ACTIVATE_TOOL3, ACTIVATE_TOOL4, ACTIVATE_TOOL5 (there was no key option for spam mode)

March 2008: TOGGLE_FIGHT_SPAM, GLANCE_LEFT, GLANCE_RIGHT, NO_TARGET, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW, EXAMINE, TAKE, DROP

August 2009 (client version 2.6.8-1658 unstable client): DRAG, STOP_DRAGGING, PUSH, REPAIR, TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, PULL, IMPROVE, DIG, FLATTEN, PACK, HARVEST, FARM, CULTIVATE, MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL, PROSPECT, PICK_SPROUT, PRUNE, CUT_DOWN, CHOP_UP

October 2009 (2.6.8-1735 test client): ACTIVATE, TAME, LEAD, STOP_LEADING, TRACK, FEED, TARGET, ABSORB, BREED, GROOM, DREDGE, FORAGE, BOTANIZE, PICK_FLOWERS

December 2009 (2.6.8-1906,1908,1914 test): FISH, 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, CONTINUE_BUILDING

January 2010 (2.7.0-2065): 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

Table

(date-sorted by default but doesn't manually sort correctly so reload page)

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

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.