ID:2014942
 
(See the best response by Ter13.)
Problem description: Hi byond developers, i have a problem when i map my game, the problem is that on my dreammaker editing my map with the Ctrl + Click to add a turf above another 3 in game just are shown a maxium number of 2.
Ill make an example: The map is clean; 1st click to add a turf ex Grass; 2nd Ctrl+Click to add a superimposed turf ex Bush << Untill now all perfect both are shown well in game and in map editor; 3th Now comes the problem when i try to superimpose the 3th turf on the same tile it is shown in map editor but in game no, just the 1st and 2nd ones ex some snow on the bush that is above the grass. I need some help if you dont understand something msg pls, thx.
If any of them have a null icon_state, they will not show up properly when not the topmost turf. Only one turf can occupy the same tile, however in the map editor, if there is more than one turf, they will be added as underlays to the topmost turf when the game starts. Underlays and overlays, if they lack an icon_state will match the icon_state of object that they are attached to.

You will have to set an icon_state name in the icon editor for the turf that is not showing up, and for the turf itself.
Ill post the code of all the turf im using, all them have icon dir and icon_state.
turf
icon = 'Turf.dmi'
name = "Turf"
icon_state = ""
Fences
density = 1
Fence
icon_state = "Fence"
Dirtyes
Dirt2
icon_state = "Dirt2"
Grasses
Grass
icon_state = "Grass"
GrassBorder
icon_state = "GrassBorder"

Problem:
When i add dirt on empty map and above i add an feance under the feance the game adds an icon that is not defined in my turfs ex sand, is not defienes but his icon is on Turfs.dmi with his own name why?
I'm having a very difficult time understanding you. We can do something about this, though.

Download and install Licecap:

http://www.cockos.com/licecap/

Record a gif of the problem in action.

Steps:

1) Show me the DMI file in question, making sure that you circle your pointer around the icon states you are going to use in the map editor.

2) Go into the map editor, and show me the stack of turfs that is the problem. Make sure I can see all three turfs by right clicking on the tile.

3) Run the game and show me what the tile turns up like.

Once you are done with all three steps, upload the images to imgur or gfycat, and post the links to the images here. I should be able to help better if I can understand the problem.

Image hosting sites:

https://gfycat.com/

http://imgur.com/
Okey the problem with the feance/dirt was fixed was just a problem with the directions...

http://gfycat.com/GrouchyInexperiencedHapuku

link with the gif
Best response
All of this stems from trying to use directions. If you want to overlay turf edges like that, they can't use directions. They all have to be separate icon states.
okey let me try
okey that was the problem rly thanx ter