Well I have not tried it but looking over the terrain.txt in CTPI I would think changing a land tile to TERRAIN_WATER_BEACH would work.
The trouble is that if you have a setup like this:
Then terraforming the three 'l' to 'B' must also cause 'b' to become 'O'. This could likely be SLICed in on the trigger: special.buildtransform but that triggers when Xform starts, not finishes... so if you make it ocean it will look goofy for a few turns... minor point but there never-the-less.
In order to do this every tile adjacent to the one being Xformed must be checked. If is is a beach and no tile adjacent to it (except of course the one we are currently terraforming) is a land then make it an ocean.
I do think this could be done however no one has yet.
Gedrin
[This message has been edited by Gedrin (edited October 31, 2000).]
[This message has been edited by Gedrin (edited October 31, 2000).]
The trouble is that if you have a setup like this:
O=Ocean; B/b=Beach; L/l=Land
OOOOO OOOOO
BBbBB -> BBbBB
LlllL -> LBBBL
LLLLL LLLLL
Then terraforming the three 'l' to 'B' must also cause 'b' to become 'O'. This could likely be SLICed in on the trigger: special.buildtransform but that triggers when Xform starts, not finishes... so if you make it ocean it will look goofy for a few turns... minor point but there never-the-less.
In order to do this every tile adjacent to the one being Xformed must be checked. If is is a beach and no tile adjacent to it (except of course the one we are currently terraforming) is a land then make it an ocean.
I do think this could be done however no one has yet.
Gedrin
[This message has been edited by Gedrin (edited October 31, 2000).]
[This message has been edited by Gedrin (edited October 31, 2000).]
Comment