maps.xml configuration

The maps.xml file is used to each map files1) a unique ID, used by both the game and account server.

maps.xml sample
<?xml version="1.0" encoding="utf-8"?>
<maps>
    <map id="1" name="tulimshar"/>
    <map id="2" name="eastwoods"/>
    <map id="3" name="greathouse"/>
    ...
</maps>

The maps xml format is very simple. A <maps> node must envelop <map> childnodes.
Each <map> node must have two required parameters:

Parameter name Type Description
id integer The map id used by both the account and the game server. Note that the id must be unique, and one of them has to correspond to the char_startMap and respawnMap id values in the manaserv.xml file.
name string The name of the map file to be used when calling data with the corresponding the map ID. The filename is to be given without the file extension (.tmx or .tmx.gz), and is relative to the data/maps directory.
1) .tmx - Tiled map editor format
 
maps.xml.txt · Last modified: 2010/04/14 12:20 by Yohann Ferreira
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki