Map

The mud client has a map that displays the players position in the game. It can also be used to allow a player to walk from one place to another:

files/map2.jpg

In the config file the worldmap element specifies the configuration of the map. The 'filename' attribute specifies the image displayed in the map. This image should have the same proportions as the mud. For example if the mud is 359x359 (3d space) then an image of 512x512 is ok.

The player can click on a spot of the map and a dot will appear at the spot clicked. If the player clicks on the 'walk' button the player will walk to this position. In order to use this feature the 'walkto' attribute of worldmap should be specified in order that the mud client can tell the mud where the player wants to walk to. For example in swlpc 'walkto @x @y' will substitute the hashes @x and @y to the spot the player has clicked on in the map.