Author Topic: About the AI retreating on the attack  (Read 786 times)

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
About the AI retreating on the attack
« on: December 12, 2012, 08:02:37 pm »
How the AI retreats on an "attack gone south" (from either waves or regular threat, in fact, they use the same logic IIRC) is rather odd.
Some observations:
-As already reported elsewhere, sometimes the AI retreats way too early, as little as 2 seconds in some cases
-Some shiptypes take "worse odds" to trigger a retreat than other types. In particular, starships, bombers, and carriers are more likely to hang around even when everything else on the planet is trying to get out of there
-The retreat logic isn't consistent even within a ship type. Sometimes, some of the, say, fighters will try to retreat, while others will continue to seek out stuff to attack.
-Sometimes, the retreat logic doesn't kick in when it clearly should. I have had cases where they would turn tail when they are out powered 3 to 1, but will try to stick around when they are out powered 10 to 1. (and yes, I am remembering to count turret firepower in these comparisons)
-Although the AI seems more likely to retreat to an allied (AI owned) planet, they will sometimes "retreat" to another hostile (human owned) planet. (IIRC, this one is intentional though)

I'll try to get some saves demonstrating some of these.
Anyone else observe some oddities or have saves demonstrating these or other oddities in AI retreat logic?

Offline Wanderer

  • Master Member Mark II
  • *****
  • Posts: 1,579
  • If you're not drunk you're doing it wrong.
Re: About the AI retreating on the attack
« Reply #1 on: December 12, 2012, 08:59:36 pm »
-As already reported elsewhere, sometimes the AI retreats way too early, as little as 2 seconds in some cases
Save submitted already.

Quote
-Some shiptypes take "worse odds" to trigger a retreat than other types. In particular, starships, bombers, and carriers are more likely to hang around even when everything else on the planet is trying to get out of there
True, but fleetships seem to be pretty consistent.  I wonder if it's just the starship level of ships.  The only truely 'overly flighty' ones I noticed were FF immune ones, but that may be due to setup.


Quote
-The retreat logic isn't consistent even within a ship type. Sometimes, some of the, say, fighters will try to retreat, while others will continue to seek out stuff to attack.
I'm 90% sure that's due to decision tree lag.

Quote
-Although the AI seems more likely to retreat to an allied (AI owned) planet, they will sometimes "retreat" to another hostile (human owned) planet. (IIRC, this one is intentional though)
I believe that's intentional in the 'retreat' logic, retreat in a few hundred ways in case one bottlenecks.
... and then we'll have cake.