HowToUseTiledToCreateStendhalMaps2: Difference between revisions

Content deleted Content added
imported>Kymara
updates, formatting.
imported>AntumDeluge
Objects revisited: update for moved maps directory
Line 70:
 
=Objects revisited=
Ok, back to the objects layer. This layer is used to place monsters, food growers and portals. Only tiles from tileddata/maps/tileset/logic/ can be used here.
 
In the ''tileddata/tilesetmaps/logic/creatures'' folder you have a lot of tiles with small images of the monsters on. They are grouped according to monster type e.g. elf.png. Just place a few monsters from this tileset in the object layer, and they will be there in game later when the server updates. If you place a very big creature like the balrog then make sure it has plenty of space to spawn because even though the tile is only 1x1 the balrog takes up a lot more space!
 
In the ''tileddata/maps/tileset/logic/item'' folder are vegetables, resources like wood, and the sheepfood. The sheepfood is for the berries you can place on the bushes (or on any other place actually... but don't confuse the players!... or our poor sheep :P ).
 
The last thing that is important in this layer is the portals, at ''tileddata/maps/tileset/logic/portal.png''
Most of the portals need to be coded using xml to set the source destination. (see) The exceptions are :
* the portal that has a brown door, used to create "standard house" entrances.