r/Imperator

Longread: how I built 3 massive AI mods for Paradox grand strategy games (Stellaris, Victoria 3, Imperator: Rome) in a scripting language that doesn't even have arrays
▲ 1.7k r/Imperator+7 crossposts

Longread: how I built 3 massive AI mods for Paradox grand strategy games (Stellaris, Victoria 3, Imperator: Rome) in a scripting language that doesn't even have arrays

I'm the author of multiple AI mods for Paradox grand strategy games: Anbeeld's Revision of AI for Victoria 3, the AI in Imperator: Invictus, and my old personal Stellaris AI mod. I'm not modding much these days, but I wanted the design knowledge to live on. ARoAI never had proper documentation, for instance.

The article covers utility systems, blackboards, planners, and what happens when the scripting language can't express any of them. It goes through how each mod approximated standard game AI architectures, what each gave up, and what actually worked.

anbeeld.com
u/Anbeeld — 6 days ago

HELP

HELP, where did my provincial investments go?

EDIT: It's been fixed! I just couldn't see the arrow because of the colour scheme

u/rebelii — 3 days ago

Mission trees that make you migrate?

Hey guys! Can you recommend me some tribal nations to play that involve the option to migrate to another area? I already did the goths and vandals some time ago and I was wondering which other nations have missions that use the mechanic.

I'm playing with Invictus.

reddit.com
u/IcyType3162 — 22 hours ago

Overextension blocked my peace deal at 99 war score. Didn't even see it coming

So I've been doing a Rome run with Invictus for a while now, just finished the Epirus war on the peninsula, and I made a pretty embarrassing mistake that I figured someone here might relate to.

I get to 99 war score. Hipponion just fell, I've got boots on basically everything I wanted. Open the peace screen ready to clean up — and Bruttium is blocked. Overextension cap. I'm already too close to 100% with what I was taking and just... didn't check.

I've been so locked into watching the war score tick up that I never stopped to do the math on whether the territories actually fit. Rookie mistake after 12 episodes of the same campaign, which is the embarrassing part.

So now Bruttium, Croton, and Hipponion are sitting there for a future war. In 481. Eight years in game time.

What made it worse — while all this was going on, the Antigonid Kingdom just silently ate the rest of Epirus. Like, the country I just spent two episodes dismantling on the peninsula? Gone. Absorbed. The Antigonids are now sitting right across the Adriatic with everything Epirus had left.

Won the war, got less than I wanted, and accidentally made my next problem bigger. Good session.

Does anyone do manual overextension math before opening the peace screen, or is there a ledger view in Invictus I keep missing? Genuinely asking because I can't be the only one who's done this.

reddit.com
u/ProfileSubstantial16 — 2 days ago

Cretan Aegean in 754 (1 CE)

From non-existence to Controlling much of western Anatolia, the black sea coast Aegean and even the mighty cities of Delphoi, Athenai, Sparta and Thebes Crete has really became successful and has managed to raise a navy across it's many ports which defeated the fleet of the Ptolemes and even raided Alexandria Itself ! and while the Ptolemaic empire still won against the Long standing Cretan ally of the Orontid kingdom the defeat that the Cretans managed to inflict is still impressive. meanwhile west of the empire the mighty Romans have not attacked Crete and indirectly helped by weakening the Antipatrid kingdom so much that it allowed Crete to rise from a mere regional power to a major power of the Black sea and Aegean.

Also a certain Jesus was born but that not important (yet)

u/Alexy_1er_Komnen_fan — 2 days ago

Cretan thalassocracy

from the previous post that was in 622 Crete went from a country controling two separate region in the southern Black sea and in the southern Aegean sea with its connection with it's black sea territory at the mercy of the Antipatrids and Troas to being the one who control the passage between the Black sea and the Aegean ! not only that but an outpost was established on Crete by gently asking (Threathening war) for Neo paphos and a neighboring territory. Two of the vassals of Crete were also annexed those being Histros and Getia with the latter having some of it's territory re released as subjects while others like Abritus and Calchedon became subjects out of their own desires.

u/Alexy_1er_Komnen_fan — 4 days ago

Steam Workshop::Virtual Limade for Invictus

This is a simple compatibility patch to make the anti-blobbing mechanics of Virtual Limes (Invictus) play a bit more sweetly with the expanded map and custom mission trees of Imperator: Invictus.

steamcommunity.com
u/howlingchief — 5 days ago

Nation rulers not being listed as rulers from another nation?

Came back after a long break. Tried Invictus but a bunch of different nations are clearly listing the ruler as the ruler of a separate nation. Ruler of Carthage is a Roman guy listed as the ruler of Rome. Ruler of Rome listed as a Bithynian who is the king of Bithynia. Thought it was from mods but I’m not running any. Doesn’t matter if I have mods on or not. Makes the game kinda unplayable and I can’t find any way to fix it. Really don’t wanna go back to Rome 2 I’m bored of it and it’s so small. This game seriously can’t still be this broken after years of not touching it.

reddit.com
u/verci12 — 2 days ago

After completing the conquest of the Roman Empire, I decided to switch to what remained of the Seleukid Empire in order to rebuild it and eventually reconquer the homeland. I’ve reached the borders I wanted in Central Asia.

While waiting for the aggressive expansion to drop, I had a role‑play idea: what if, before retaking the homeland, I tried to fulfill Alexander’s dream and conquer the Maurya Empire?

u/Provola-sama — 7 days ago

I have done a campaign to get all great wonders as Rome (i help countries either naturally or with commnds get the ones that arent in the spawn date, such as artemis taurapolos or dodona) and I only missed these four
The ones in orange theres is no info about them anywhere and i have no idea how to get them
The yellow ones im confused on how to get them

Im doing a reroll, so if anyone knows please help me

(sorry for posting it a third time, but I didn’t know rule 5)

u/Euskarra6 — 6 days ago

Arvernia Success

After many many tries I finally achieved the Gallic dream of defeating Rome. Normally Rome destroys me but this time I’ve made enough money and assimilated enough pops to challenge Rome with big levies and mercs. What should I do next, I’m a little nervous to be honest. I’ve never fully defeated Rome what’s the best way to do what Rome did to Carthage (historically, in this game Carthage is looking scary too).

u/Sasinator69 — 5 days ago

The Diadochi war is incredibly tedious

I'm trying to play as Egypt, and no matter how much I set myself up for the start, the war drags on for ages in a bunch of different locations.

It's not so much the fact that it's difficult to do well but that there's way too many things to watch at once. I'm trying to manage 3 different fronts and ensure that some random tiny army doesn't sail behind my lines and start annexing provinces half the map away from my armies.

And the aggressive expansion gained just makes the above scenario even more tedious. If I could just take the land I want and then peace out somehow that would also be great, but I'm permanently stuck at like 5 war score and can never do this.

Am I doing something wrong? I just wanted to play as Egypt, and I have tried doing this war in the least detrimental way possible like 4 times and just can't do it.

reddit.com
u/EffectiveBonus779 — 4 days ago

Do you think Imperator: Rome could have been great if it kept getting updates, or was it fundamentally flawed?

I still find myself checking for news or updates from time to time, even though I know it’s unlikely at this point.The game had a rough launch, but after the last updates it actually started to feel solid.

Do you think it could have turned into something great with continued support?

reddit.com
u/JorgeRZT — 12 days ago