Opened 3 years ago
Closed 3 years ago
#6096 closed defect (fixed)
In some cases, rams ignore buildings and don't attack nearby buildings
Reported by: | Andy Alt | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 25 |
Component: | Simulation | Keywords: | |
Cc: | Patch: |
Description (last modified by )
As mentioned in this forum post, for example, if there are houses surrounding a defense tower, the rams will bunch up around the houses and not destroy any of them. They even ignore the CC which is very close by. (video)
Replay attached.
On the forum, wraiti explained:
I've sen that one before. I think the problem is rams target the tower. Then they fail to reach it. So they look for a new target... Which happens to be the same tower. Endless loop I'm not entirely sure if the loop is in UnitAI or the real AI or both though.
Attachments (1)
Change History (7)
by , 3 years ago
Attachment: | 2021-02-26_0002.zip added |
---|
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
Component: | UI & Simulation → Simulation |
---|---|
Priority: | Release Blocker → Must Have |
comment:4 by , 3 years ago
comment:6 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The preferredClasses thing is fixed in r25481, I'm going to close this as fixed.
Note:
See TracTickets
for help on using tickets.
Well its both. UnitAi because ram will always use preference <PreferredClasses datatype="tokens">Gate Defensive Structure</PreferredClasses>
Ai because if (this.target.hasDefensiveFire())
but given Ai does not run updates so often, I would say UnitAi is more annoying.
lets blame https://code.wildfiregames.com/rP23753 for introducing defensive class to prefered ones