HowToUseTiledToCreateStendhalMaps: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
Layers: made exactly the same as we use. and big important things written in
imported>Kymara
Editing the map: more big important things
Line 67: Line 67:


= Editing the map =
= Editing the map =
Choose the <i>floor</i> Layer.
Choose the <i>0_floor</i> Layer.


Our village is going to be a rich one, so let's look for a nice ground tile for it.<br>
Our village is going to be a rich one, so let's look for a nice ground tile for it.<br>
Line 78: Line 78:
Ok, but the map still looks too simple.
Ok, but the map still looks too simple.
So now let's add some details to the terrain layer (walls and so on).
So now let's add some details to the terrain layer (walls and so on).
Make sure you choose <i>terrain</i> layer. <br>Then in the <b>bottom left hand corner</b> you will see a small square with a tile in it. Click this and a <b>tile selecter dialog</b> will open. On the right you will see the available Tilesets for Stendhal and on the left all the tiles. Tip: if you drag the pallet out and make it bigger you can eventually get all the like tiles to align (so for example the tiles that make up a tree will all be together) and it will make your life a lot easier!<br>
Make sure you choose <i>1_terrain</i> layer. <br>Then in the <b>bottom left hand corner</b> you will see a small square with a tile in it. Click this and a <b>tile selecter dialog</b> will open. On the right you will see the available Tilesets for Stendhal and on the left all the tiles. Tip: if you drag the pallet out and make it bigger you can eventually get all the like tiles to align (so for example the tiles that make up a tree will all be together) and it will make your life a lot easier!<br>
We are going to make a small cemetery.
We are going to make a small cemetery.


Line 91: Line 91:
http://arianne.sourceforge.net/wiki_images/tiled_17.jpg <br><small>Figure 11: Adding flowers</small><br>
http://arianne.sourceforge.net/wiki_images/tiled_17.jpg <br><small>Figure 11: Adding flowers</small><br>


We change to the object layer now (or terrain is ok too) to add tombs to the graveyard.
We change to the <i>2_object</i> layer now (or terrain is ok too) to add tombs to the graveyard.


http://arianne.sourceforge.net/wiki_images/tiled_18.jpg <br><small>Figure 12: Adding tomb objects</small><br>
http://arianne.sourceforge.net/wiki_images/tiled_18.jpg <br><small>Figure 12: Adding tomb objects</small><br>
Line 109: Line 109:
http://arianne.sourceforge.net/wiki_images/tiled_24.jpg <br><small>Figure 16: More details to break up the large areas of the same tile</small><br>
http://arianne.sourceforge.net/wiki_images/tiled_24.jpg <br><small>Figure 16: More details to break up the large areas of the same tile</small><br>


And now for the tree. Trees are a bit more complex than houses because they are split over two layers: 1 and 2. <br>Make sure that the <b>upper part<b> of the tree is on <b>layer 2 always</b>. This will mean it is drawn over player when they stand 'behind' it.
And now for the tree. Trees are a bit more complex than houses because they are split over two layers: 1 and 2. <br>Make sure that the <b>upper part</b> of the tree is on <b>layer 2 always</b>. This will mean it is drawn over player when they stand 'behind' it.


http://arianne.sourceforge.net/wiki_images/tiled_25.jpg <br><small>Figure 17: The foot of the tree on the floor layer</small><br>
http://arianne.sourceforge.net/wiki_images/tiled_25.jpg <br><small>Figure 17: The foot of the tree on the floor layer</small><br>
Line 145: Line 145:
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>
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>


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.
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.


http://arianne.sourceforge.net/wiki_images/tiled_37.jpg <br><small>Figure 24: The completed collision map</small><br>
http://arianne.sourceforge.net/wiki_images/tiled_37.jpg <br><small>Figure 24: The completed collision map</small><br>