havent test it yet but worth checking it out and see how its done
@LiningGull724
Looks pretty cool, any idea how it works?
If I were to guess it would be something like an aura ability that modifies the terrain restriction of units on top of it, or something similar, but IDK.
iirc the aura only affects move speed, heal rate, work rate, attack damage and attack speed so far
I havent checked yet but can try to look at it when have time
I guess he might have also found a way to modify the foundation terrain to something walkable, which is why they can’t be destroyed. Either way, let us know, it’s definitely a clever breakthrough
Before showing you how I did it, pay close attention (to two points).
If you paid attention to the image above:
-
The brown rectangle that represents the “_Water_Modified” land was modified from an existing land (94), to have a new type of land; that this new type of terrain (as it does not exist in the game code), will cause a bug in the terrain that allows it to always be passable (regardless of whether you define 0 or 1 in any terrain table), which means that from the outset it seems like a problem, but it isn’t, because it allows you to create a “Terrain Unit” and this “Terrain Unit” is only created when loading a map/scenario; in which this “Terrain Unit” (which is invisible in the game) has a collision; What happens is that the units do not pass (not because of the new terrain created on the map, but because of the invisible units that are on the terrain).
(I couldn’t place this new type of terrain on other water terrains, because the creation of the “Terrain Unit” didn’t work and it was also useless as it meant that boats couldn’t transit). -
The orange rectangle represents a created bridge, (which the construction must be carried out instantly, so that units do not cross without the construction being completed), which causes the invisible unit (the yellow rectangles) to be removed and this space is filled by the bridge; that only in this space will the units be able to transit.
How to create an indestructible functional bridge with instant construction.
As it would be a testament to explain it to you in text, I decided to explain it to you in images that I think you might even understand better.
The meaning of the colors of the rectangles that will be in the images below:
-
The BLUE rectangles represent a MANDATORY ACTION or you must place the number/text that is in the image within these same rectangles.
-
The YELLOW rectangles represent a MANDATORY ACTION, but it is most likely not to place the same number/text that is in the image within these same rectangles.
-
The GREEN rectangles only represent an optional action or choosing to place the number/text, (which may not be the same), which is in the image within these same rectangles.
-
RED rectangles represent only one selection; but if there is a blue rectangle overlapping a red rectangle, it means that you have to place the number/text that is in the image within that same rectangle.
now that you explained it, I presume this requires a RMS or pre made map to spawn with these special terrain so that bridges can be built ontop in order to clear the invisible blocking unit, which is to also remove collision.
issue with that is even ships wouldn’t be able to traverse this terrain until bridge is built not just the land units, which is kinda eerie
I could make it so that only the boats could cross, but I needed to reduce their collision to 0.1, which would basically sacrifice their formations as they would sail almost on top of each other and also, I tried, with this small collision even though are traveling through special terrain, they don’t navigate normally, meaning you have to insist on the path you want to follow, as they constantly stop navigating due to collisions with invisible units. So I only allowed the Water Builder or Trade Cog to pass, as they are responsible for building the bridges, and for this it is advisable that they can pass through the land so that they can build bridges in the middle of the land.