[[Category:Technical Details]]{{cleanup}} '''<font color="#FF0000">THIS ARTICLE IS VERY OUTDATED AND NEEDS TO BE RE-MADE!</font>'''
==Introduction==
Open the autorun.bsh in your favorite text editer. Add a line in the following format:
keys.bind(<key event>, "<command>");where <key event> is the key event and <command> is the command as defined below.
for example:
bind <key> <Action> eg bind x move_forward ==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. // Default movement keys.Allows both WASD and arrow key movement// You can bindthese keys to any KeyEvent.VK_* key// (see http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/KeyEvent.VK_BACK_SPACE, html)bind w move_forwardbind s move_backbind a move_leftbind d move_rightbind q turn_leftbind e turn_rightbind x autorunbind z center_view bind up move_forwardbind down move_backbind left turn_leftbind right turn_rightbind page_up autorunbind page_down center_viewbind insert strafebind home turn_upbind end turn_down bind numpad8 move_forwardbind numpad2 move_backbind numpad4 turn_leftbind numpad6 turn_rightbind numpad9 autorunbind numpad3 center_viewbind numpad0 strafebind numpad7 turn_upbind numpad1 turn_down // Misc keysbind enter toggle_chatbind t toggle_chatbind tab next_tabbind f12 "quit" // Window togglesbind f1 "toggle console"bind f2 "toggle skills"bind f3 "toggle inventory" // Some various toggles we want to enabletoggle keyboard_hints// toggle stats</pre>==little tips == ok heres my little top addbind i "toggle inventory"bind c "wurm.rebuildTextures()toggle skills" to autorun so you can use i for inventory etc much easier than using the f keys :);
==OLD BIND INFO==
<pre>
==Wurm Commands==
<font color="#FF0000">
keys.bind(KeyEvent.VK_F11, "renderer.screenshot()");
</pre>
==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.
// 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)
bind w move_forward
bind s move_back
bind a move_left
bind d move_right
bind q turn_left
bind e turn_right
bind x autorun
bind z center_view
bind up move_forward
bind down move_back
bind left turn_left
bind right turn_right
bind page_up autorun
bind page_down center_view
bind insert strafe
bind home turn_up
bind end turn_down
bind numpad8 move_forward
bind numpad2 move_back
bind numpad4 turn_left
bind numpad6 turn_right
bind numpad9 autorun
bind numpad3 center_view
bind numpad0 strafe
bind numpad7 turn_up
bind numpad1 turn_down
// Misc keys
bind enter toggle_chat
bind t toggle_chat
bind tab next_tab
bind f12 "quit"
// Window toggles
bind f1 "toggle console"
bind f2 "toggle skills"
bind f3 "toggle inventory"
// Some various toggles we want to enable
toggle keyboard_hints
// toggle stats
</pre>
==little tips ==
ok heres my little top add
bind i "toggle inventory"
bind c "toggle skills"
to autorun so you can use i for inventory etc much easier than using the f keys :)