scriptsvilla.blogg.se

Albion resources in unwalkable terrain
Albion resources in unwalkable terrain









albion resources in unwalkable terrain

If a ground unit overlaps with unwalkable terrain it will be force-moved to the "nearest" (according to the game's idea of nearest…) walkable area (this just as a side note, it is not relevant for the effect discussed in this thread).A ground unit's collision box may not overlap with any unwalkable minitiles.The mine can move onto the tile because it is partly walkable (has walkable minitiles), but doesn't deal damage because the whole tile is flagged as unwalkable. But if the tile is flagged unwalkable any mine explosions on it will be duds. #13 Units can occupy any walkable space they can fit in. The tile the mine from the clip detonates on has 8/16 unwalkable minitiles and is thus classified as an unwalkable tile, which makes the Mine dud out.Ĭonclusion: Near unwalkable terrain, such as cliff edges, in particularlyin tight chokes, or doodads, there is a certain chance that Mine damage will be completely mitigated.ĮDIT: Here's the whole situation recreated in ScmDraft with overlays showing the relevant walkabily properties:.

albion resources in unwalkable terrain

Whether a ground unit can occupy a location depends solely on the minitile walkability property.At game-start the game classifies each tile with at least 4 unwalkable minitiles as unwalkable, all other tiles as walkable.Each terrain tile is made up of 4×4 minitiles, which are either walkable or unwalkable.In that regard, the bw pathfinding might not be doing anything wrong here, it's just a resolution issue with the walkability test. if the spider mine is not on walkable terrain, then it does not deal any damageīw pathfinding being what it is, put the spider mine on unwalkable terrain the moment it got in rangeĪlso slightly worth noting that this walkability test is buildtile/megatile resolution, so effectively it checks if more than 12 minitiles within that are are walkable Spider mines explode through the "castspell" iscript opcode, this leads to this check and then this spider mine specific check which, because of this line, checks if the spider mine itself is on walkable terrain.











Albion resources in unwalkable terrain