Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Latest commit

 

History

History
43 lines (39 loc) · 1.46 KB

maps.xml.md

File metadata and controls

43 lines (39 loc) · 1.46 KB
title layout
maps.xml
wiki

{% include toc.md %}

maps.xml configuration

The maps.xml file is used to each map files((.tmx - Tiled map editor format)) a unique ID, used by both the game and account server.

{% highlight xml %}

... {% endhighlight %}

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](manaserv.xml.html) 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.