Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Author Topic: The AI underestimates static space defenses (Shipyard/Golan/Station)  (Read 1675 times)

0 Members and 1 Guest are viewing this topic.

May 21, 2018, 06:10:37 PM

Offline turtle225

  • Brevet Admiral
  • ****
  • Posts: 101
  • Approval: +3/-0
  • Location: Shell
    • View Profile
I have had a lot of instances of the ai suiciding into "undefended" planets because they don't seem to properly assess the threat of what is there and don't send enough ships.

The main issue is Space Stations though and not just the Empress. They are all quite strong and as far as I can tell the ai doesn't even seem to realize they are there at all.

For example I had an Empress and Golan 2 and level 2 station on Kashyyyk with two corvettes and two marauders also. The Empire attacked me with just 5 MTC's and two SD's. You could probably even beat that attack without the Empress at all. The Empire has the strongest military score in this campaign and they don't have a ton of borders so I know they have more ships they could use.

In 2.2.0 I had the Yvetha attack an Oto Space Station and Visvia with 4 Thrustships, a Vic, and an Interdictor.

Those are just two examples but it happens consistently enough that You can just drop an Empress somewhere and move on with your fleet and they will never defeat it.

They also don't seem to count HVG or Ion cannon as part of their threat assessment either but I'd imagine that isn't easy to code for. I don't know how the ai decides on how many ships to attack with but whatever it is they are doing, they aren't respecting the stations well enough.

May 28, 2018, 02:50:07 PMReply #1

Offline Mord

  • Stormtrooper Captain
  • ***
  • Posts: 23
  • Approval: +3/-0
  • Princess Leia has had enough of your shit.
    • View Profile
This is something I'm also curious about. The way the AI assembles taskforces appears to be totally agnostic of the forces actually deployed to defend the target. If you look at ConquerOpponentPlan.lua, the space taskforce is defind as having "MinimumTotalSize" of 10 and "MinimumTotalForce" of 5000, but A) I don't know how either of these things are evaluated when adding units to the taskforce and B) I don't see anywhere that indicates the AI is going to send a bigger force at a more heavily defended target... until repeated failures on the ConquerOpponentPlan cause the contrast to be dialed up hard enough to trigger CrushPlan.lua, which has a MinimumTotalSize of 20 and MinimumTotalForce of 10000.

This here is the single most comprehensive overview I know of of how the EAW AI works, but even this doesn't go very far into implementation. I think one of the mod team will have to offer an actual explanation of how the AI counts units towards task force TotalSize/TotalForce values, and whether those values are in any way affected by what you've got in orbit.

 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!