Stellaris - AI not upgrading their Starbase in timely manner [2.6.1](65d2)

  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Jman5

Major
15 Badges
Apr 3, 2017
631
895
  • Cities: Skylines
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
Description
AI not upgrading their Starbase in timely manner [2.6.1](65d2)

Game Version
2.6.1 (65d2)

What version do you use?

Steam

What expansions do you have installed?
Synthetic Dawn,
Utopia,
Leviathans Story Pack,
Apocalypse,
Megacorp,
Distant Stars,
Ancient Relics,
Federations

Do you have mods enabled?
Yes

Please explain your issue is in as much detail as possible.
Playing on Admiral difficulty, the AI all seem to have amassed huge stockpiles of resources that are going unspent. Alloy is a big one and when I look around their empires, I notice that they are hardly upgrading their starbases. This has the effect of massively depressing their Naval Capacity.

The Economic Minister seems to be doing its job, but whatever part of the AI is responsible for upgrading starbases and filling them with modules is not working.
1. They need to put more emphasis in starbase upgrading
2. They need to be able to upgrade starbases and modules simultaneously.

Steps to reproduce the issue.
1. Play game at higher difficulty
2. By about 2240 or 2260 open up console and look around at various AI. Observe their resources, naval capacity, and their starbases

Upload Attachment
 

Attachments

  • AI starbase.png
    AI starbase.png
    2,4 MB · Views: 28
Last edited:
  • 1Like
Reactions:
Upvote 0

FrancescoT

Field Marshal
Demi Moderator
52 Badges
Aug 8, 2009
7.902
735
42
  • Hearts of Iron III
  • Hearts of Iron IV: Field Marshal
  • Semper Fi
  • Europa Universalis: Rome
  • Europa Universalis IV: Pre-order
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Rule Britannia
  • PDXCON 2018 "The Baron"
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Europa Universalis IV: Dharma
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Stellaris Sign-up
  • PDXCon 2019 "Baron"
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
  • Stellaris: Necroids
  • Rome: Vae Victis
  • Warlock 2: The Exiled
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • BATTLETECH
  • Crusader Kings II: Sons of Abraham
Thanks, issue already reported :cool: .
 

pmchem

Second Lieutenant
20 Badges
Apr 13, 2018
199
164
  • Shadowrun Returns
  • Stellaris: Federations
  • BATTLETECH: Heavy Metal
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Stellaris: Distant Stars
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Stellaris: Synthetic Dawn
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris
  • Pillars of Eternity
  • Crusader Kings II
  • BATTLETECH: Season pass
I just ran a 2.6.3 beta observer game to year 2575, and there are un-upgraded or only once-upgraded starbases throughout the galaxy, it's kinda nuts (totally default settings, no mods)
 

Jman5

Major
15 Badges
Apr 3, 2017
631
895
  • Cities: Skylines
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
UPDATE:
Okay, so I observed an AI for like 50 years just to see what is going on and I've solved at least part of the mystery.

There appear to be a number of reason why the AI is bad at upgrading starbases. However, the primary reason is that it will only consider upgrading them when there is excess Starbase Capacity. This means that there are only brief windows of opportunity for starbases to get upgraded. For example when it gets supremacy. Also, if it upgrades enough outposts into starbases before upgrading anything it won't upgrade. So for example if starbase capacity is 8/10 and it builds just 1 starport, it can still upgrade. However as soon as it starts to build that second starport, it will stop considering any more new upgrades to existing starports.

Here is a video I took where I gave the AI a tech that boosted its starbase capacity by 2 and then watched what happened.


On top of that there are resource requirements which I don't fully understand beyond the basics.
1. It has to have surplus energy income
2. It has to have a certain amount of alloy stockpiles

Regarding alloy stockpiles (expenditures), depending on whats going on the AI adjusts what percent of that stockpile gets allocated to ship building, starbases, and upgrades. While observing, you can view the AI's expenditures by typing debugtooltip in console, and then letting it run for a day.
UPTBlnj.png


The amount of alloy expenditures allocated to starbases appear to play a role in what gets upgraded. If it's too low I think it will only upgrade outposts. Starholds cost 500 alloy so it needs 500 in expenditures to even consider upgrading it during that brief window when it can even upgrade in the first place. I believe that 500 alloy number is modified by the supremacy tradition that lowers starbase upgrade cost, however it is not lowered by difficulty modifiers that lower starbase upgrade cost.

Furthermore I'm not certain, but I also think that the amount of alloy you need to trigger an upgrade is based on the highest tech starbase you can build. So instead of 500, it might be 1250. Again not sure.

You'll notice in the picture that "ship upgrades" is taking an awful lot of alloy expenditures. This is yet one more problem that is making it difficult on the AI. Basically, when the AI is at max fleet cap and not at war, it super-prioritizes spending alloy on upgrading ships. HOWEVER there are two problems:
1. It does not go away even if you have nothing to upgrade. This makes it that much harder to build up the alloy expenditures dedicated to starbases. Only wars make it temporarily go away.
2. THE AI IS EVEN WORSE AT UPGRADING SHIPS THAN IT IS AT UPGRADING STARBASES. They are loathe to upgrade their ships.

I'm fairly certain the culprit in all this is a problem with the economic minister. However that file does not appear to be moddable so I don't know what to do.

TL;DR
  • AI doesn't upgrade starbases unless it has starbase capacity open and hasn't already queued up enough level 1 starbases to max it out.
  • AI doesn't upgrade if it doesn't have enough alloy stockpiles and energy income dedicated to starbases.
  • Alloy stockpiles necessary to upgrade are hard to get because ship upgrades take too much expenditures
  • AI rarely upgrades ships and the ship upgrade expenditure doesn't go away even if there is nothing to upgrade
  • When it does go away in times of war, ship building expenditure gets a huge boost
 
Last edited: