#3559 closed defect (fixed)
Shortrange-pathfinder allows to capture a tower without being in minimum attackrange
Reported by: | elexis | Owned by: | wraitii |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 20 |
Component: | Core engine | Keywords: | pathfinding |
Cc: | Patch: |
Description
Sometimes when your units capture a tower, they are standing so close to the tower that they are not in attack range anymore. Thus they won't be targettet by arrows and can capture the tower without taking any damage.
The tower on the left was reached with a shortpath, the one on the right after a longpath:
On AoE2 this is wanted and you need a tech (murder-holes) to be able to attack enemies that are standing right under your tower. But it seems this is not wanted with the current templates.
In fact this is a pathfinder issue as units that have a longpath will stand far enough away from the tower to be attacked, but all units that get a shortpath to the tower will be too close.
Reproduce: Order a unit to move near the tower, then order it to capture the tower.
This might be related or duplicate of some other pathfinder tickets, like #3410, #3530, #3539?
Attachments (4)
Change History (12)
by , 9 years ago
Attachment: | short_vs_long.jpg added |
---|
follow-up: 2 comment:1 by , 9 years ago
comment:2 by , 9 years ago
Replying to wraitii:
This one is WAD, I suspect the new pathfinder simply allows getting closer to the tower and we now can fall under than minrange (which is 8.0 for some reason?).
Suggested fix is removing the minrange for towers since it has no reasons to be.
The minrange
functionality was added by #1960 for better realism. I would suggest not removing it if possible.
comment:4 by , 8 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This was discussed today. It would be better to have a "murder holes" tech and increase the minrange again to make it effective. That can be added for A19 now that we are out of string freeze again. Or r17167 can be left as a workaround if we don't have time to add a tech before release.
comment:5 by , 8 years ago
Here is a possible patch to have this minRange change through a tech, but better to wait after A19 release. (This patch also includes one phase change in the requirement of one of tower techs which were all available on town phase).
comment:6 by , 8 years ago
Milestone: | Alpha 19 → Alpha 20 |
---|
Pushing to A20 for the tech change, as we already have r17167 which solves the initial problem.
This one is WAD, I suspect the new pathfinder simply allows getting closer to the tower and we now can fall under than minrange (which is 8.0 for some reason?).
Suggested fix is removing the minrange for towers since it has no reasons to be.