I'm trying to place the tile "dirt-4" on various tiles and I get this situation:
How to make them looking same?
As you see, left furnaces have tiles with dirt 2x2 and transactions about it, bur right furnaces have transactions under the furnaces (less than 2x2).Move tile transitions from one tile to another
Re: Move tile transitions from one tile to another
I am planning to write a documentation (on wiki) on how our tile rendering works, because every time we need to do something with it, it takes long time to refresh on how the hell any of it works. It got out of hand in 0.16 with addition of universal water transition and little bit insane in 0.17 with addition of out-of-map transitions.
But short answer to your question: TilePrototype::layer control which tile render transitions over which tiles. Tiles with larger layer draw transitions over tiles with smaller layer. If layers are equal, no transition is drawn.
But short answer to your question: TilePrototype::layer control which tile render transitions over which tiles. Tiles with larger layer draw transitions over tiles with smaller layer. If layers are equal, no transition is drawn.
Re: Move tile transitions from one tile to another
Thanks! So I've used theposila wrote: Sun Sep 22, 2019 1:02 pm I am planning to write a documentation (on wiki) on how our tile rendering works, because every time we need to do something with it, it takes long time to refresh on how the hell any of it works. It got out of hand in 0.16 with addition of universal water transition and little bit insane in 0.17 with addition of out-of-map transitions.
But short answer to your question: TilePrototype::layer control which tile render transitions over which tiles. Tiles with larger layer draw transitions over tiles with smaller layer. If layers are equal, no transition is drawn.
Code: Select all
data.raw.tile["dirt-4"].layer = 50
Except that all changed tile transitions must be updated.
values from vanilla
Re: Move tile transitions from one tile to another
Yep.
To force correction of tile transitions, you can set lexicographically lowest tile prototype (concrete?) an order = "z". This trick won't work after next release, but next release will start tracking tile layer changes to apply corrections on migration.
To force correction of tile transitions, you can set lexicographically lowest tile prototype (concrete?) an order = "z". This trick won't work after next release, but next release will start tracking tile layer changes to apply corrections on migration.