Loading...
  OR  Zero-K Name:    Password:   

Why doesn't the AI use attack move?

6 posts, 1333 views
Post comment
Filter:    Player:  
sort

6 years ago
I was tired of having my butt beat by Hard Circuit AI so I teamed up with a Hard Circuit AI against one. I noticed that the AI never used attack move and opting to move and attack separately.

I think it is because attack move is an abstraction. It could be that picking a target just works better than letting unit rank selection pick for you because of Lanchester's Square Law.
+0 / -0
For example CSI often uses attack-move. But it's very easy to implement better or similar behaviour manually in the AI. This gives the programmer more control at negligible performance cost. Attack-move also has many "bugs" due to lua's low performance. For example there are cases where skirmishers will walk right into enemies because they only skirmish their active target.

Why do you think it should use attack move?
+0 / -0

6 years ago
I don't think Circuit should use attack move, I think I shouldn't use Attack move because of the bugs with it.
+0 / -0


6 years ago
AI does use attack move, but not all the time. If you look carefully you'll notice some units always attack move - Recluse for example. Its configured on a per unit basis.

The reason all units don't attack move all the time is because units that are ordered to retreat with an attack order, that are in range of an enemy... don't retreat.
+0 / -0


6 years ago
I believe the main reason is that circumventing normal attack move allows the AI to leverage its threatmap pathing ability.

That is, attack-move on skirmishers, for example, just runs away from the closest raider, while a threatmap-pathing based retreat will actually try to avoid all threats at once.
+0 / -0

6 years ago
may lets ask AutoML to create some new AIs for us. Seems like it would at least be able to detect the unit types :)))
+2 / -0