HowToUseTiledToCreateStendhalMaps: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kiheru
Editing the map: Added drawing a house
imported>Kymara
Line 206: Line 206:
Still there? Good, now let's add lots of details to make a good map!
Still there? Good, now let's add lots of details to make a good map!


http://arianne.sourceforge.net/wiki_images/tiled_34.jpg <br><small>Figure 22: The whole of our village with some extra details</small><br>
[[Image:Tiled20.png]] <br><small>Figure 18: The map with more details</small><br>


Complete the map yourself :)
Complete the map yourself :)
Line 213: Line 213:
* Objects (Entities, active game objects, this includes portals, signs, NPCs etc)
* Objects (Entities, active game objects, this includes portals, signs, NPCs etc)
* Collision
* Collision
* Protection (to define non pvp areas)


The collision layer determines what is passable and what is not.<br>
The collision layer determines what is passable and what is not.<br>
Use the tile pallet and in the collision Tileset choose the red square. To define what cannot be travelled over draw a red square in the Collision layer on each non passable tile.
You need to add the new tileset ''tileset/logic/collision.png'' and in then choose the red square. To define what cannot be travelled over draw a red square in the Collision layer on each non passable tile. It is helpful to drag the opacity of this collision layer to about 30%.


http://arianne.sourceforge.net/wiki_images/tiled_36.jpg <br><small>Figure 23: Collision Tile selected and we have marked on of the walls</small><br>
[[Image:Tiled21.png]] <br><small>Figure 19: Collision Tile selected and we have marked the house</small><br>


[[Image:Tiled22.png]] <br><small>Figure 20: The completed collision map</small><br>
Once you have completed this we have to add objects that are real entities in the Stendhal server. Things like NPCs, Portals, Creatures, zone change points, and so on ... Notice what layer we are working on. The active objects can be found in the Objects Tileset in the tile pallet. If you want to add monsters, add them from the Objects Tileset NOT the monsters one. The monsters one is not used yet.


Once you have completed this we have to add objects that are real entities in the Stendhal server. Things like NPCs, some portals, creatures and so on ... Notice what layer we are working on. To add monsters, select them from ''tileset/logic/creature/'' in the ''objects'' layer.
http://arianne.sourceforge.net/wiki_images/tiled_37.jpg <br><small>Figure 24: The completed collision map</small><br>


Let's add a portal to our tomb and a few zone entries. And of course, a waiter for our Bar.
We'll add some sheep, sheep food, and a couple of chickens.


http://arianne.sourceforge.net/wiki_images/tiled_38.jpg <br><small>Figure 25: The active objects have been added and can been seen in white</small><br>
[[Image:Tiled23.png]] <br><small>Figure 21: The active objects have been added and can been seen in white</small><br>


We want to make the whle area protected, to we add the tileset ''tileset/logic/protection.png'' and fill on the ''protection'' layer
Note: zone changes go on the border of the map.
[[Image:Tiled24.png]] <br><small>Figure 22: The finished map with the protection layer.</small><br>

http://arianne.sourceforge.net/wiki_images/tiled_39.jpg <br><small>Figure 26: The completed graveyard and bar with collision and objects</small><br>


And you are done! :)
And you are done! :)
Line 236: Line 236:


Please note that, if during your work you find that some important tiles are missing please create the tile and send it to us so that everyone get it and can see your tile.
Please note that, if during your work you find that some important tiles are missing please create the tile and send it to us so that everyone get it and can see your tile.

Note also that you don't generally need to use the protection layer or navigation layers. Protection's for semos city say - where PVP is forbidden. The navigation layer is not used in stendhal.


==Some suggestions when making interiors maps==
==Some suggestions when making interiors maps==