Skip to content

Gatehouse distance to enemy closing distance is different based on map rotation #137

@Monsterfisch

Description

@Monsterfisch

the gatehouses have incorrect inaccurate closing distance in the northeast and northwest direction causing them to close much sooner than they have to.

to reproduce place a gate in the editor and approach it with a unit from the different cardinal directions and mark out where the gate starts to close and compare the distances

generally speaking I would say it would be nice to have more control over this behaviour in general. like making the gatehouse check if its touching the outer available area and if it isn't ignoring the enemies nearby so the inner eco can continue until a breach is made. Or making it so we can customize the distance it checks for enemy units

Image Image Image

laarge and small gatehouse have diffentent distances
https://i.imgur.com/yxtYnJi.gif https://i.imgur.com/YFSPXra.gif

apparently the distances is calculated from the top tile of the gate which causes it to be offset moving the origin of the calculation to the center of the gat should fix the issue. but as suggested it would probably be best in general if the mechanic is more advanced which taking advantage of using the pathing calculation wh
https://i.imgur.com/WTtflru.png note hw the inner gat doesnt touch the "1" area at all maybe it would be feaseable to only apply the closing mechanic to the gats that "touch" the "1" pathing area.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions