HowToAddMapsServerStendhal: Difference between revisions
Content deleted Content added
imported>Kymara →Adding NPC: updated tyo make you always add to list. pls check xx |
imported>Chad3f |
||
Line 21:
= Create a map file=
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<zones>
<!--
** Load zones. Written from left to right and from top to bottom.
** Please respect it!
-->
</zones>
</pre>
Then edit the file '''data/conf/zones.xml''' and add a relavent entry (in alphabetical order for normal areas):
<pre>
<zone-group uri="zones/<area>.xml"/>
</pre>
To enable a zone in the server, edit the file '''data/conf/zones/<area>.xml''' and add an entry (in the appropriete level/top-down/left-right order), giving it the zone name and converted map filename to use:
<pre>
| |||