Changes

Jump to navigation Jump to search

Client Key Bindings

2,166 bytes removed, 08:15, 22 November 2008
Remove a bunch of outdated stuff. Include current default files
[[Main Page]] :: [[Client Key Bindings]]
==Introduction==
The autorunKey bindings are defined in the keybindings.txt file defines the key bindings used by Wurm, which is automatically updated if you rebind keys while playing. The file Other commands that should be run on update can be put in the directory you specified when you ran wurm for the first time. This is the directory containing the packs directory. Everything in the autorun.txt file will be automatically executed when Wurm is started. If you ever mess up this file and need to reset it to the default values, just delete it and restart wurm.
==How to bind a command to a key= Default files ===
Open the <pre>[autorun.txt file in your favorite text editor. Add a line in the following format:]bind <key> <command>toggle keyboard_hintswhere <key> is the key event and <command> is the command as defined below. For example:bind <key> <Action> <p>eg bind {{key|x}} move_forward</ppre>
==New Bind file == <pre>// If you ever manage to mess up this file, just delete it, and wurm with// replace it with a new one[keybindings.// <------------------------------------------------------------------------>// Default movement keys. Allows both WASD and arrow key movement// You can bind these keys to any KeyEvent.VK_* key// (see http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/KeyEvent.html)txt]
bind w move_forward
bind s move_back
bind e turn_right
bind x autorun
bind z c center_view
bind up move_forward
bind end turn_down
// Misc keysStance selectsbind enter toggle_chatbind t toggle_chatbind tab next_tabbind f11 "screenshot"bind f12 "quit" // Window togglesbind f1 "toggle console"bind f2 "toggle skills"bind f3 "toggle inventory"bind f10 "toggle gui" // Toolbeltbind 1 activate_tool1bind 2 activate_tool2bind 3 activate_tool3bind 4 activate_tool4bind 5 activate_tool5 // Fightmovesbind F4 "fightmove1"bind F5 "fightmove2"bind F6 "fightmove3"bind F7 "fightmove4"bind F8 "fightmove5"bind F9 "cmd 340" // StancesNUMPAD0 STRAFE
bind NUMPAD1 "cmd 294"
bind NUMPAD2 "cmd 297"
bind NUMPAD9 "cmd 306"
// Window toggles
bind F1 "toggle console"
bind F2 "toggle skills"
bind F3 "toggle inventory"
bind F4 "toggle stats"
// Some various toggles we want to enableOther function keystoggle keyboard_hintsbind F5 "say /sleep"bind F6 "say /time"bind F7 "say /weather"bind F8 "say /fl"// bind F9 ""bind f10 "toggle statsgui"bind f11 "screenshot"bind f12 "quit" </pre>/ Toolbeltbind 1 activate_tool1bind 2 activate_tool2bind 3 activate_tool3==F1 Console==bind 4 activate_tool4If you type commands directly into the [[Console]] while in-game now, they get saved automatically.bind 5 activate_tool5
==Little Tips == Add:<pre>// Window togglesbind f1 "toggle console"bind f2 "toggle skills"bind f3 "toggle inventory"Misc keysbind k "toggle skills"enter toggle_chatbind i "toggle inventory"t toggle_chatbind ` "toggle stats"// Change "`" to whatever you prefer, it's just below the escape key on most keyboards though. tab next_tab
</pre>
<p>to autorun.txt so you can use ' {{key|I}} ' for inventory etc, much easier than using the function keys. {{smiley}}</p>
=== Customization ===
start by adding the following line to keep things organized, then make all your changes under that:
<pre>
// user defined
</pre>
this one adds a function key to open statistics:
<pre>
bind f4 "toggle stats"
</pre>
some peoples clients are missing the screenshot command:
<pre>
bind f11 "screenshot"
</pre>
the following opens windows when the client loads:
<pre>
toggle stats
</pre>
 This stops JK 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>
the following lines can be changed so that they no longer work by adding "//":
<pre>
bind t toggle_chat
toggle keyboard_hints
</pre>
so they should look like:
<pre>
// bind t toggle_chat
// toggle keyboard_hints
</pre>
the 1st one makes the enter key the only key that focuses (makes active) on the message box
the 2nd one removes the text at the top of the screen like "F1: console" you You could add this to know how much sleep bonus you have when you log in:
<pre>
say /sleep
</pre>
this would work best at the bottom of the file I think.
 
Here's another few useful little commands:
<pre>
bind f5 "say /sleep"
bind t "say /time"
</pre>
The new IRC Commands:
1,894

edits

Navigation menu