• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

LM+

Surreptitious Son of Serendip
23 Badges
May 28, 2004
1.356
98
  • Semper Fi
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Rise of Prussia
  • Cities: Skylines
  • 500k Club
  • Victoria 2
  • Hearts of Iron II: Armageddon
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
I could perform extensive and tedious testing ... or I can ask people who already know. Publicly, so others can read the answers too.

The 1936 campaign game has no lines (that I could find) that explicitly attach a starting AI to a nation. My best guess is that the game "automagically" searches for "afg_1936.ai", etc. in the folder "/ai".

1. Is this assertion correct?
2. Can one override this system and use, say, a different AI folder or a different AI naming system?

How about the other campaign games? Take the 1938 scenario for example: What AI files get automagically loaded at startup, before any AI switch events apply? Is is still "afg_1936.ai", etc. in the folder "/ai"?
 

e-stab

Citizen
104 Badges
Mar 14, 2002
4.717
98
  • Victoria 2: A House Divided
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Hearts of Iron III
  • Rome: Vae Victis
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Nemesis
  • Deus Vult
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Hearts of Iron Anthology
  • Diplomacy
  • East India Company Collection
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
1. Yes.
2. Partly.

When searching for the starting AIs, the game looks for [TAG]_[YEAR].ai in the /ai/ folder. When there's no such AI file, as far as I know it'll decrease the year one by one to see if there's an AI named like this. E.g. for Afghanistan in the 1938 scenario, it'll look for afg_1938.ai (none), then for afg_1937.ai (none) and then for afg_1936.ai (found!).

You can specify different starting AIs in the .inc files belonging to the scenario though.