HowToAddMapsServerStendhal: Difference between revisions

Content deleted Content added
imported>Neoneurone
No edit summary
imported>Kymara
Line 106:
A portal is just the generic portal. It works for almost everything you can imagine.
 
Portals are created by adding a entries to your zone in '''zones.xml'''. For example creating a portal to an internal building entrance which is at 1 12 inside the building (and the outer entrance to go in is at 10 15) might look like:
 
<pre>
<zone name="int_myarea_mylocation" file="int_myarea_mylocationinteriors/myarea/mylocation.tmx">
<portal x="101" y="1512" ref="entrance">
<destination zone="0_myarea_city" ref="mylocation_entrance"/>
</portal>
</zone>
 
<zone name="0_myarea_city" Level="0" x="500000" y="500000" file="0_myarea_cityLevel 0/myarea/city.xstendtmx">
<portal x="10" y="15" ref="mylocation_entrance">
<destination zone="int_myarea_location" ref="entrance"/>