Creating Overlay Tiles
Posted: Wed Dec 11, 2019 1:22 pm
I was looking at creating some new overlay tiles but keep running into an issue where they do not autoedge to neighbouring tiles of the same type.
As an example:
NorthernEurope_Overlay/Tiles.txt has Tile 8 which is a road with a track coming off one side. When placed this auto edges to any neighbouring roads and tracks (although the orientation does not work automatically but that is fine). I wanted to create a crossroad so that a track can come off either side of the road. In the NorthernEurope example, the tile is defined as TRACK_ROAD_T and works as expected. If I try to create a TRACK_ROAD_CROSSROAD tile, it does not autoedge to neighbouring roads and tracks.
Would someone be able to provide a reason why this does not work, or at least why TRACK_ROAD_T does work and how the system works out that it is both a track and a road tile? And ideally a solution for how I might get this working?
Thanks in advance.
As an example:
NorthernEurope_Overlay/Tiles.txt has Tile 8 which is a road with a track coming off one side. When placed this auto edges to any neighbouring roads and tracks (although the orientation does not work automatically but that is fine). I wanted to create a crossroad so that a track can come off either side of the road. In the NorthernEurope example, the tile is defined as TRACK_ROAD_T and works as expected. If I try to create a TRACK_ROAD_CROSSROAD tile, it does not autoedge to neighbouring roads and tracks.
Would someone be able to provide a reason why this does not work, or at least why TRACK_ROAD_T does work and how the system works out that it is both a track and a road tile? And ideally a solution for how I might get this working?
Thanks in advance.