E.D.A.I.
OBSERVATION: AI’s aggressive colonisation in a galaxy with increased availability of colonies results in an AI empire tanking its economy early. A tanked economy results in planets with empty building slots, high unemployment, and ‘job-popping’, resulting in game lag.
GOAL 1: Re-work scripted triggers and weightings to provide a more robust economic and planetary development AI, in vanilla.
GOAL 2: Reduce ‘job-popping’.
GOAL 3: Fix actual bugs in scripted triggers, potential clauses, allow clauses, destroy_triggers and ai_weight clauses. Yes, there are quite a few.
GOAL 4: Monitor health of AI’s planets and make adjustments to planets, and economic controls (such as policies), to compensate for poor economic decisions due to scripted triggers and weightings that do not allow the AI to stabilise and expand its economy.
FAQ
Q – Adjustments? You mean cheats?
A – Absolutely. It is not possible to script additions to the AI’s build queues. Therefore the health monitor will remove buildings and districts and then give a planet a more suitable replacement. No build time, no build cost. In extreme cases, the AI will just get a free district or building.
Q – Wait, this is just GAI then?
A – No. GAI is GAI. This is EDAI.
Q – So this is just Starnet for the economy then?
A – I guess? I dunno. There’s a greater potential for AIs to become economic monsters than there is with current vanilla. Hope that answers that.
Q – Won’t that health-checker impact performance?
A – The impact is negligible, as there are tight controls on it. A maximum of one planet per empire at the end of each month is checked. The planet modifier indicates it has been checked, not that it is being checked. The health-check is an instant process, and at most may add a very slight delay to the month-end tick.
Q – Can an AI economy still collapse?
A – Of course. It’d be very unwise of me to completely eliminate an AI from collapsing economically. That’d hardly be fun, with the stagnant galaxy you’d end up with. You’re better off sticking with the dysfunctional AI, if you want to steam-roll. Or use Starnet, if you want a good ♥♥♥♥-kicking.
Q – Not modelling the economy first to base fixes on means you’re just hopelessly poking at the AI.
A – Utter ♥♥♥♥♥♥♥♥. I’ve done what I set out to do in my goals. Try the mod and shut your cake-hole. Thanks. (<- The reply I really wanted to give on the PDX forums when this came up there.)
COMPATIBILITY
Not ironpants/cheev compatible. Seriously? You thought it could be?
Over-rides most vanilla buildings and district files. This is a vanilla AI fix. It’s not going to play nice with any content addition to the game.
DO NOT USE WITH ALPHAMOD. THIS HAS ALREADY BEEN INTEGRATED INTO THAT.
Revisions:
Old revisions of this mod are available below. Click the link to download.