HowToUseTiledToCreateStendhalMaps: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara →Editing the map: more big important things |
imported>Kymara →How to use the map in Stendhal: adding new maps (xml method) |
||
| Line 178: | Line 178: | ||
* Or: Save map as <b>.xstend</b> to /games/stendhal/server/data/maps |
* Or: Save map as <b>.xstend</b> to /games/stendhal/server/data/maps |
||
Then add the zone to data/conf/zones.xml as explained in [[HowToAddMapsServerStendhal | How to add new maps to server]] |
|||
Edit StendhalRPWorld.java: |
|||
<pre> |
|||
public void onInit() throws Exception |
|||
{ |
|||
addArea("village"); |
|||
addArea("tavern"); |
|||
addArea("city"); |
|||
addArea("plains"); |
|||
addArea("dungeon_000"); |
|||
addArea("afterlive"); |
|||
addArea("forest"); |
|||
addArea("dungeon_001"); |
|||
| ⚫ | Finally if you want to fine tunning the map by adding NPC, or something else, just create a new file name <b>base name of your map</b>.java <i>( in our example that is your area )</i> and edit it. See other files on the same folder to know how to do it, and more explanation in [[HowToAddMapsServerStendhal | How to add new maps to server]]<br> |
||
addAreat("your_area"); |
|||
} |
|||
</pre> |
|||
| ⚫ | |||
<br> |
<br> |
||
<br> |
<br> |
||