• 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.

unmerged(120300)

Corporal
Oct 21, 2008
28
0
The question is - What file/line handles the AI decisions of making certain units. For the example: I'm playing as Latvia and have an military alliance with Estonia and Lithuania. In 1940. SU demands to give it all my provinces. My answer - ''S**w You!'' So the war begins... The thing is - Estonia and Lithuania (handled by AI) has the habit of making the majority of their forces from mountain troops. With the exception of Lithuania having one hill province it is a total abnormality of such an actions. Is there an any chance of making the AI build regular infantry, not the less cost effective and certainly not-right-suited mountain troops (just for Estonia and Lithuania, don't want to do a possible harm to other states)?
 

Pal

King of the mushroom cloud
108 Badges
Oct 7, 2003
2.797
8
  • Arsenal of Democracy
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Victoria 3 Sign Up
  • Europa Universalis 4: Emperor
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III Complete
  • Europa Universalis IV
  • For The Glory
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Rome Gold
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Mount & Blade: Warband
  • Paradox Order
  • Stellaris: Galaxy Edition
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III
The question is - What file/line handles the AI decisions of making certain units. For the example: I'm playing as Latvia and have an military alliance with Estonia and Lithuania. In 1940. SU demands to give it all my provinces. My answer - ''S**w You!'' So the war begins... The thing is - Estonia and Lithuania (handled by AI) has the habit of making the majority of their forces from mountain troops. With the exception of Lithuania having one hill province it is a total abnormality of such an actions. Is there an any chance of making the AI build regular infantry, not the less cost effective and certainly not-right-suited mountain troops (just for Estonia and Lithuania, don't want to do a possible harm to other states)?

Yes, the ai files specify the production pattern of countries. You are the first person ever to want to change it TO infantry, though :p
 

unmerged(120300)

Corporal
Oct 21, 2008
28
0
Yes, the ai files specify the production pattern of countries. You are the first person ever to want to change it TO infantry, though :p

Well, I have a very good reason to do so, as told in the first post. But in which folder that AI file is located, whats it's name, please, and is the production pattern suited for one specific country or them all (can I change it just for one, not influencing another)?
 

Pal

King of the mushroom cloud
108 Badges
Oct 7, 2003
2.797
8
  • Arsenal of Democracy
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Victoria 3 Sign Up
  • Europa Universalis 4: Emperor
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III Complete
  • Europa Universalis IV
  • For The Glory
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Rome Gold
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Mount & Blade: Warband
  • Paradox Order
  • Stellaris: Galaxy Edition
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III
Well, I have a very good reason to do so, as told in the first post. But in which folder that AI file is located, whats it's name, please, and is the production pattern suited for one specific country or them all (can I change it just for one, not influencing another)?

HoI2\AI\<countryname>.ai ;)

Most countries have their own file, but some minors use the standard one. Since you have the problem of extra-ordinary buildup, I am sure that they have an own ai file. Standard AI does build nothing but infantry (DDR for instance, it really sucks as they have the IC to produce 300+ divisions, yet all of them are infantry)
 

unmerged(79036)

Corporal
Jun 24, 2007
26
0
A bit off regarding your question, but you might want to change the willingness of Estonia and Lithuania to cave to Soviet demands as well. Otherwise they will build infantry, but still give everything away at the first time of asking.