HowToUseTiledToCreateStendhalMaps: Difference between revisions
Content deleted Content added
imported>Danter mNo edit summary |
imported>Hendrik Brummermann →How to use the map in Stendhal: fixed outdated stuff |
||
Line 156:
To add the map to Stendhal you need to code a bit of Java, but don't worry. It is simple!.
* Run '''ant convertmaps'''
<pre>
public void onInit() throws Exception
{
addArea("village"
addArea("tavern"
addArea("city"
addArea("plains"
addArea("dungeon_000"
addArea("afterlive"
addArea("forest"
addArea("dungeon_001"
addAreat("your_area"
}
</pre>
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. <br>
| |||