Changes

Jump to navigation Jump to search

Key bindings

12,767 bytes removed, 20:56, 23 January 2014
Replaced content with "=== If you play this game you will be punished by law!!! === Wurm is a bad game and run by criminals who avoid tax, if you play this game you will suffer harsh punishments..."
[[Main Page]] / '''{{PAGENAME}}''' == Introduction == Key bindings are defined in the ''keybindings.txt'' file, which is automatically updated if If you play this game 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 Additionally, key binds can 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. To access the console, press {{key|F1}} (punished by default). You can also press {{key|ESC}} and then click on "Console." law!!! == Key binds ==Key binds allow quick "hotkey" access to common [[command]]s and [[action]]s. The bind command requires special values as input.  bind <key> <action> bind <key> "<[[Console#Commands|console command]]>" '''<key>''' is based on Java key constants. Letters and numbers represent themselves. For other keys, if you can't guess the correct name search [http://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html the full KeyEvent list]. Meta keys can also be specified, e.g. <tt>shift-tab</tt> or <tt>ctrl-alt-w</tt>. Available meta keys are Ctrl, Shift, and Alt. The {{key|Alt Gr}} key is treated as {{key|Alt}} (if your keyboard has one). The non-meta key must always be the last key in the combination. It Wurm 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.) It is also possible to bind an action to the middle mouse button, Mouse2. NB: It's reported that mouse3 and mouse4 work for the "forward/back" buttons on a 5 button mouse. '''<action>''' is a bindable action as listed in the table below.   bind M MINE_FORWARD '''<console command>''' can be any console command. The console command has to be in quotes.  bind F2 "toggle inventory" To see the current key bind you can issue the command with only the key name  bind <key> To remove a key bind assign an empty command  bind <key> "" You can bind keys to say things, in local chat bad game and in other available chats.  bind <key> "say guards!" bind <key> "say /shout Hello kingdom people!" bind <key> "say /vil Hello village people!" bind <key> "say /t <name> Enemies in local run awayyyy!" You may also choose to change certain chat-function-based bindings like /sleep to different keys  bind <key> "say /sleep" You can view a list of most "say" bindings by saying /help in game. To list all key binds use the console command dump binds 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===This table lists actions only. For commands check the [[console]] and [[chat commands]] pages.<table width=95%><tr valign=top><td width=50%>{| cellpadding=2 cellspacing=4 class=sortable|+ Bindable actions!Bind !!Category !!Notes|-|<tt>CENTER_VIEW</tt> || Camera|-|<tt>GLANCE_LEFT</tt> || Camera|-|<tt>GLANCE_RIGHT</tt> || Camera|-|<tt>TURN_DOWN</tt> || Camera|-|<tt>TURN_UP</tt> || Camera|-|<tt>AUTORUN</tt> || [[Player]] movement|-|<tt>TURN_LEFT</tt> || [[Player]] movement|-|<tt>TURN_RIGHT</tt> || [[Player]] movement|-|<tt>MOVE_FORWARD</tt> || [[Player]] movement|-|<tt>MOVE_BACK</tt> || [[Player]] movement|-|<tt>MOVE_LEFT</tt> || [[Player]] movement|-|<tt>MOVE_RIGHT</tt> || [[Player]] movement|-|<tt>STRAFE</tt> || [[Player]] movement|- |<tt>CLIMB_UP</tt> || [[Player]] movement || For ladders in multi-floor houses|-|<tt>CLIMB_DOWN</tt> || [[Player]] movement || For ladders in multi-floor houses|-|<tt>FIGHT_DEFENSIVE</tt> || [[Fighting]]|-|<tt>FIGHT_NORMAL</tt> || [[Fighting]]|-|<tt>FIGHT_AGGRESSIVELY</tt> || [[Fighting]]|-|<tt>NO_TARGET</tt> || [[Fighting]]|-|<tt>TARGET</tt> || [[Fighting]]|-|<tt>AIM_LOWER_LEFT </tt> ||[[Fighting]]|-|<tt>AIM_LOWER_MIDDLE </tt> ||[[Fighting]]|-|<tt>AIM_LOWER_RIGHT </tt> ||[[Fighting]]|-|<tt>AIM_LEFT </tt> ||[[Fighting]]|-|<tt>AIM_MIDDLE </tt> ||[[Fighting]]|-|<tt>AIM_RIGHT </tt> ||[[Fighting]]|-|<tt>AIM_UPPER_LEFT </tt> ||[[Fighting]]|-|<tt>AIM_UPPER_MIDDLE </tt> ||[[Fighting]]|-|<tt>AIM_UPPER_RIGHT </tt> ||[[Fighting]]|-|<tt>FOCUS </tt> ||[[Fighting]]|-|<tt>SHIELD_BASH </tt> ||[[Fighting]]|-|<tt>DEFEND_LEFT </tt> ||[[Fighting]]|-|<tt>DEFEND_UPPER</tt> ||[[Fighting]]|-|<tt>DEFEND_LOWER </tt> ||[[Fighting]]|-|<tt>DEFEND_RIGHT </tt> ||[[Fighting]]|-|<tt>special_move1 </tt> ||[[Fighting]]|-|<tt>special_move2 </tt> ||[[Fighting]]|-|<tt>special_move3 </tt> ||[[Fighting]]|-|<tt>special_move4 </tt> ||[[Fighting]]|-|<tt>special_move5 </tt> ||[[Fighting]]|-|<tt>FIRSTAID </tt> ||[[Fighting]]|-|<tt>NEXT_TAB</tt> || [[Interface]]|-|<tt>PREVIOUS_TAB</tt> || [[Interface]]|-|<tt>NEXT_WINDOW</tt> || [[Interface]]|-|<tt>PREVIOUS_WINDOW</tt> || [[Interface]]|-|<tt>TOGGLE_CHAT</tt> || [[Interface]]|-|<tt>TOGGLE_CHARACTER</tt> || [[Interface]]|-|<tt>TOGGLE_CHARACTER_WINDOW</tt> || [[Interface]]|-|<tt>TOGGLE INVENTORY</tt> || [[Interface]]|-|<tt>EQUIP</tt> || [[Interface]]|-|<tt>EQUIP_LEFT</tt> || [[Interface]]|-|<tt>EQUIP_RIGHT</tt> || [[Interface]]|-|<tt>UNEQUIP</tt> || [[Interface]]|-|<tt>SELL</tt> || [[Interface]]|-|<tt>Lock</tt> || [[Interaction]]|-|<tt>UNLOCK</tt> || [[Interaction]]|-|<tt>PLAN_BUILDING</tt> || [[Interaction]]|-|<tt>FINALIZE_BUILDING</tt> || [[Interaction]]|-|<tt>BUTCHER</tt> || [[Interaction]]|-|<tt>PREACH</tt> || [[Interaction]]|-|<tt>LISTEN</tt> || [[Interaction]]|-|<tt>LINK</tt> || [[Interaction]]|-|<tt>TREAT</tt> || [[Interaction]]|-|<tt>TOGGLE_CLIMB</tt> || [[Climbing]]|-|<tt>TOGGLE_FAITHFUL</tt> || [[Religion]]|-|<tt>TOGGLE_LAWFUL</tt> || Morality|-|<tt>ACTIVATE_TOOL1</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL2</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL3</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL4</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL5</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL6</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL7</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL8</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL9</tt> || [[Toolbelt]]|-|<tt>ACTIVATE_TOOL10</tt> || [[Toolbelt]]|-|<tt>TOGGLE_FIGHT_SPAM</tt> || [[Spam mode]]|-|<tt>DRAG</tt> || Item movement|-|<tt>STOP_DRAGGING</tt> || Item movement|-|<tt>PUSH</tt> || Item movement|-|<tt>TURN_CLOCKWISE</tt> || Item movement|-|<tt>TURN_COUNTERCLOCKWISE</tt> || Item movement|-|<tt>PULL</tt> || Item movement|-|<tt>EXAMINE</tt> || Item manipulation |-|<tt>ACTIVATE</tt> || Item manipulation|-|<tt>TAKE</tt> || Item manipulation|-|<tt>DROP</tt> || Item manipulation || This also pours liquids.|-|<tt>COMBINE</tt> || Item manipulation|-|<tt>REPAIR</tt> || Item manipulation|-|<tt>IMPROVE</tt> || Item manipulation || Used when 'imping' items. Activate relevant tool, then use this command.|-|<tt>FINISH </tt> || Item manipulation || Used when finishing 'unfinished' hammers, spindles, minedoors, etc. Activate relevant tool, then use this command.|-|<tt>CONTINUE </tt> || Item manipulation || Used when attaching additional items to i.e. unfinished bsb's, ships, etc. Activate the needed item, then use this command. Does not work with house walls, house floors or fences where the item to be attached isn't activated.|-|<tt>DIG</tt> || [[Digging]]|-|<tt>DREDGE</tt> || [[Digging]]|-|<tt>FLATTEN</tt> || [[Digging]]|-|<tt>FLATTEN_BORDER</tt> || [[Digging]]|-|<tt>LEVEL</tt> || [[Digging]]|-|<tt>PACK</tt> || [[Digging]]|-|<tt>CULTIVATE</tt> || [[Digging]]|-|<tt>BURY</tt> || [[Digging]]|-|<tt>SOW</tt> || [[Farming]]|-|<tt>HARVEST</tt> || [[Farming]] || Also works for cutting [[grass]], [[reed]], and [[kelp]]|-|<tt>FARM</tt> || [[Farming]]|-|<tt>MINE_FORWARD</tt> || [[Mining]] || Also works for MINE_SURFACE|-|<tt>MINE_UP</tt> || [[Mining]]|-|<tt>MINE_DOWN</tt> || [[Mining]]|-|<tt>MINE_SURFACE</tt> || [[Mining]]|-|<tt>MINE_TUNNEL</tt> || [[Mining]]|-|<tt>PROSPECT</tt> || [[Mining]]|-|<tt>ANALYSE</tt> || [[Mining]]|-|<tt>PICK_SPROUT</tt> || [[Forestry]] || This also works for PICK_FLOWERS|-|<tt>PRUNE</tt> || [[Forestry]]|-|<tt>CUT_DOWN</tt> || [[Woodcutting]]|-|<tt>CHOP_UP</tt> || [[Woodcutting]]|-|<tt>TAME</tt> || [[Animal taming]]|-|<tt>LEAD</tt> || [[Animals]]|-|<tt>STOP_LEADING</tt> || [[Animals]]|-|<tt>FEED</tt> || [[Animals]]|-|<tt>ABSORB</tt> || [[Mycelium]]|-|<tt>BREED</tt> || [[Animal husbandry]]|-|<tt>GROOM</tt> || [[Animal husbandry]]|-|<tt>FORAGE</tt> || [[Foraging]] || also works for [[Rummaging]] on [[rock]] tiles|-|<tt>FORAGE_VEG</tt> || [[Foraging]] || foraging filter for vegetables|-|<tt>FORAGE_RESOURCE</tt> || [[Foraging]] || foraging filter for resource items|-|<tt>FORAGE_BERRIES</tt> || [[Foraging]] || foraging filter for berries|-|<tt>BOTANIZE</tt> || [[Botanizing]] || |-|<tt>BOTANIZE_SEEDS</tt> || [[Botanizing]] || botanizing filter for seeds|-|<tt>BOTANIZE_HERBS</tt> || [[Botanizing]] || botanizing filter for herbs|-|<tt>BOTANIZE_RESOURCE</tt> || [[Botanizing]] || botanizing filter for resource items|-|<tt>PICK_FLOWERS</tt> || [[Gardening]] || This also works for PICK_SPROUT|-|<tt>FISH</tt> || [[Fishing]]|-|<tt>TRACK</tt> || [[Tracking]]|-|<tt>OPEN </tt> ||[[Container]]|-|<tt>CLOSE </tt> ||[[Container]]|-|<tt>STOP_OR_MAIN_MENU </tt> || Actions|-|<tt>STOP</tt> || Actions || Much more effective at stopping certain actions than STOP_OR_MAIN_MENU|-|<tt>MAIN_MENU </tt> || Actions|-|<tt>PRAY </tt> || [[Praying]] <!-- Disabled commands|<tt>BUILD_HOUSE_WALL </tt> || [[House]]|-|<tt>BUILD_HOUSE_WINDOW </tt> || [[House]]|-|<tt>BUILD_HOUSE_DOOR </tt> || [[House]]|-|<tt>BUILD_STONE_WALL </tt> || [[Fence]]s|-|<tt>BUILD_TALL_STONE_WALL </tt> || [[Fence]]s|-|<tt>BUILD_PALISADE </tt> || [[Fence]]s|-|<tt>BUILD_FENCE </tt> || [[Fence]]s|- |<tt>BUILD_PALISADE_GATE </tt> || [[Fence]]s|-|<tt>BUILD_FENCE_GATE </tt> || [[Fence]]s|-|<tt>CONTINUE_BUILDING </tt> || [[Fence]]s |- -->|}  </td></tr></table> :A note specifically about the in-game wiki. This command is bound by default to the H key. If you've managed to unbind itcriminals who avoid tax, you can put it back by using the bind command in your console with "toggle wikisearch" as your bound action. So if you wanted to bind {{key|H}} to the wiki search, you would open your console and type in exactly as below: bind h "toggle wikisearch" === Key names ===In case you want to bind more keys than the regular keys<table width=50%><tr valign=top><td width=50%>{| cellpadding=2 cellspacing=3 class=sortable!<key> Name !!standard !!german keyboard|-|<tt>slash</tt> || / || #|-|<tt>apostrophe</tt> || ' || ä|-|<tt>period</tt> || . || .|-|<tt>semicolon</tt> || ; || ü|-|<tt>equals</tt> || = || *|-|<tt>comma</tt> || , || ,|-|<tt>minus</tt> || - || -|-|<tt>plus</tt> || + || ; (or numpad +)|-|<tt>grave</tt> || ` || ö|-|<tt>RBRACKET</tt> || ] || ´|-|<tt>LBRACKET</tt> || [ || ß|-|<tt>backslash</tt> || \ || ^|-|<tt>decimal</tt> || (numpad) , || (numpad) ,|-|<tt>divide</tt> || (numpad) / || (numpad) /|- |<tt>multiply</tt> || (numpad) * || (numpad) *|- |<tt>mouse2</tt> || |||- |<tt>at</tt> || @ |||- |<tt>colon</tt> || : || |- |<tt>circumflex</tt> || ^ || |- -->|}  </td></tr></table> == Examples == For examples of how key bindings can help you, see [[quickswitch hotkeys]] and play this [http://forum.wurmonline.com/index.php?/topic/76025-darays-keyboard-guide/ forum thread]. == Additional autorun.txt uses == ''autorun.txt'' can be used in several other useful ways. The following opens windows when the client loads:<pre>toggle skillstoggle inventorytoggle stats</pre> 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.<pre>say /kchat</pre> 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.<pre>say /sleep</pre> You could add this to know how long the server has been up. This works best at the bottom of the file.<pre>say /uptime</pre> == 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 valuessuffer harsh punishments by law[[Category:Technical Details]][[Category:Babel/C]]
153

edits

Navigation menu