View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000021VCMIAI - Battlespublic2009-10-02 11:412014-02-01 22:24
ReporterTow dragon 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version0.71 
Target VersionFixed in Version 
Summary0000021: AI focuses attack on War Machines rather than units
DescriptionOriginally reported by ral_il_an as 0.71b#81: AI prefers Ballista than units (Attack Ballista first)

Further tests revealed that it's valid for any War Machine (see notes below; summary also updated to avoid confusion) - Zamolxis
Additional Informationcopied from sf tracker

Forum report: [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
Ivan (developer)
2009-10-02 11:49

It seems that catapult has same problem even with starting troops ( = no chances to kill 1000-hp catapult)
Zamolxis (viewer)
2009-10-02 13:04
edited on: 2009-10-07 21:37

I also noticed that some AI shooters prefer my Tent than my troops. So it's possible AI prefers War Machines in general. I'll try to keep an eye on this to see if there is a rule, 'cause I also had it that they were not shooting Tent, no matter how many times I was trying to replay the battle.

majaczek (reporter)
2009-10-17 13:06

In WoG it almost always prefer my war machines if in range. however i use war machine booster scripts. So I think AI focuses on war machines due to importing AI values from heroes don't mind if it is imported properly or not (ie. in H3 there may be flags in AI value which when not cleared to comparison make AI value really huge)

anything in - I think it's considered normal behaviour, but if too often it may need a tweak
Zamolxis (viewer)
2010-03-02 22:31
edited on: 2010-03-02 22:32

When Gold & Black Dragons at Utopia go for my Tent & Ammo Cart (maybe because they're more in front of their smoky noses) i/o creatures which could actually deal them damage, than it definitely needs a tweak. ;)

Warmonger (administrator)
2010-05-29 18:58
edited on: 2010-05-29 18:59

War machines should not be present at all in banks in first place.

Zamolxis (viewer)
2010-07-14 10:59
edited on: 2011-03-02 23:43

I guess now that damage calculation is implemented, perhaps the most basic battle AI tweak that needs implemented, would be to go for the enemy stack on which it can inflict most damage.

Edit: The basic Battle AI changes brought by 0.84 have brought little improvement to this. Some high level enemy creatures do go for the easy kill among our units, but the weaker enemies still waste lots of their shots or melee attacks on our machines.

Warmonger (administrator)
2011-03-03 06:08
edited on: 2011-03-03 06:14

I believe attacking war machines with weaker units is not totally pointless and should be avaliable. More subtle AI will be added in the future, as it's not likely to find good solution of this issue algorythmically.

Zamolxis (viewer)
2011-03-03 11:47

I agree with that. I didn't mean they shouldn't attack War Machines, just not so much. I had enemy shooters targeting my machines i/o my Enchanters and in the end they didn't manage to do any kill while I was killing them with the Enchanters.

But I know battle AI is "in the works", so this is not a bug per se, just something to keep in mind for the next AI tweaks.
Ivan (developer)
2014-02-01 22:24

Fixed long time ago, closing.

- Issue History
Date Modified Username Field Change
2009-10-02 11:41 Tow dragon New Issue
2009-10-02 11:49 Ivan Note Added: 0000005
2009-10-02 13:04 Zamolxis Note Added: 0000014
2009-10-02 13:44 Zamolxis Category AI - battle =>
2009-10-07 21:37 Zamolxis Note Edited: 0000014 View Revisions
2009-10-17 01:14 Zamolxis Description Updated View Revisions
2009-10-17 01:14 Zamolxis Additional Information Updated View Revisions
2009-10-17 13:06 majaczek Note Added: 0000112
2010-03-02 22:31 Zamolxis Note Added: 0000756
2010-03-02 22:32 Zamolxis Note Edited: 0000756 View Revisions
2010-05-29 18:49 Zamolxis Product Version => 0.71
2010-05-29 18:58 Warmonger Note Added: 0000884
2010-05-29 18:58 Warmonger Note Edited: 0000884 View Revisions
2010-05-29 18:59 Warmonger Note Edited: 0000884 View Revisions
2010-07-14 10:59 Zamolxis Note Added: 0001127
2011-03-02 23:42 Zamolxis Summary AI focuses attack on Ballista (0.71b#81) => AI focuses attack on War Machines rather than units
2011-03-02 23:42 Zamolxis Description Updated View Revisions
2011-03-02 23:42 Zamolxis Additional Information Updated View Revisions
2011-03-02 23:43 Zamolxis Note Edited: 0001127 View Revisions
2011-03-02 23:45 Zamolxis Description Updated View Revisions
2011-03-02 23:46 Zamolxis Description Updated View Revisions
2011-03-03 06:08 Warmonger Note Added: 0001594
2011-03-03 06:14 Warmonger Note Edited: 0001594 View Revisions
2011-03-03 11:47 Zamolxis Note Added: 0001595
2014-02-01 22:24 Ivan Note Added: 0004372
2014-02-01 22:24 Ivan Status new => closed

Site | Forums | Wiki | Slack | GitHub

Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean