Key mappings

In Shattered World when you press the 't' you do a strike with your sword. These key mappings are specified in the 'Key Mappings' dialog under the 'Edit' menu item in the mud client. For example:

files/keymappings2.jpg

The key mappings entered by the user are stored in the config ini file.

The config file has the defaultkeys element that allows default key mappings to be entered when the player first runs the mud client. For example 'jump' is the space character (char 32).

<DEFAULTKEYS>

<DEFAULTKEY key="32" command="jump" />
<DEFAULTKEY key="84" command="strike" description="T"/>
<DEFAULTKEY key="88" command="sit" description="X"/>
<DEFAULTKEY key="90" command="wield weapon" command2="unwield weapon" description="Z"

/>
</DEFAULTKEYS>

These can be overriden by the user in the key mappings dialog shown above.