Stellaris

Stellaris

335 ratings
Better AI economies
4
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
121.508 KB
20 Dec, 2024 @ 10:52pm
1 Change Note ( view )

Subscribe to download
Better AI economies

Description
THIS MOD NEEDS UPDATING, FYI:
but i just got back from vacation and am just starting to catch up on all the 4.0 stuff/update things.







Hot take: the AI kinda sucks at managing its economy.

I pulled this out of a larger mod I've been working on, basically it aims to help the AI manage empire economies in several ways:

1) it monitors AI colonies, adding districts and buildings based on needs and unemployment (at cost, ie they still pay for them)-- inspired by alpha ashes similar mod

2) the AI now makes "trades." if they've excess of a resource, they will set up longterm trade to sell it for energy at a fixed rate. if they are lacking a resource, they will set up longterm import trades to buy it at a fixed rate.

they will also periodically buy amounts of strategic resources, and if close to going into resource situation from lack of a resource, are more likely to sell a resource they've in excess and then buy the missing resource-- again at fixed rates.

Because they're made at fixed rates, it is a bit of a cheat vs market trades. But I did it this way for simplicity. The outcome is that the AI no longer finds itself constantly in resource deficit situations and their economies are overall healthier.

Shouldn't clash with other mods really, as this one doesn't edit any existing files.
61 Comments
Tempes Skumarck 9 Jul @ 10:12am 
this mod also help when i let AI taking care of my colonies?
Hazardous 25 Jun @ 8:02am 
Desperately need this mod for playing megacorp. I can't even run if my commercial partners refuse to walk.
marchin_81  [author] 18 Jun @ 7:27am 
that's the kind of stuff i'm trying to navigate now. and actually, having tried to add new resources myself the past year, that may well be because of their new resources in part (and overall changes). the files that govern how the ai wants/spends resources are pretty fickle.

partly because the ai does thing based on priority lists, it seems. it can't multitask. it also doesn't seem to like spending resources if a ship is over a certain amount (even if it has more than enough resources) or if any single thing is negative. could have 20k in storage, but -1 income and they'll stop building. this whole mod came out of trying to solve that issue in my larger mod. added new weapons & techs, rebalanced fleets, and... they wouldn't build anything.
B flat 17 Jun @ 10:38pm 
Take all the time you need. They're not gonna fix this anytime soon.
B flat 17 Jun @ 10:37pm 
@marchin_81 Whilt it's true that basic resources are now easier than ever for GA AIs (they're still super bad with resources on lower difficulties), they don't seem to actually use those resources though. I just tested 100 years because I always out-scale even GA in 30 years and what I've seen is incredibly disheartening. Sometimes they build nothing at all, despite being capped at resources. Sometimes they just spam fortresses and hydroponics. Sometimes they don't even colonize (couple empires with 1 planet after 100 years).

A mod that makes the AI actually play the damn game is sorely needed.
Bluetail 17 Jun @ 6:29pm 
No problem.
marchin_81  [author] 17 Jun @ 6:23pm 
biggest reason i put off updating it for the moment is because the new economic model shot things crazy in the other direction. the ai is no better at actually picking buildings or managing their economy, but the way resources come from pops passively now means most test games i tried the ai was flush with resources. they basically made it idiot proof. you can suck at managing your economy (like the ai) and it's near impossible to lose.

so really want to rethink how this is working.
Bluetail 17 Jun @ 1:37pm 
I see that too Booper02, I was like "Why was I able to just overpower economily capable empires with just spamming battleships?"
Norym 12 Jun @ 7:08pm 
I need you AI sucksss pls
booper02 6 Jun @ 2:51pm 
anyone else seeing AI not build alloy zones and just struggle to field a navy or is that just me