Why AI always build eng brigade for inf?

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

Emmanuel_M

First Lieutenant
47 Badges
Apr 7, 2010
203
1
  • Supreme Ruler: Cold War
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Cossacks
  • Prison Architect
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Majesty 2
  • March of the Eagles
  • Knights of Pen and Paper +1 Edition
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Magicka
  • Cities: Skylines
AOD vanilla, 1.07.

ai always build eng for inf, no others.

A leftover from older HoI games, which had no stacking penalty. This made ENG the most valuable brigade in those game.

In AoD, their lack of Art brigade means you can headbutt opposing INF quite easily, as eng is nice, very cost efficient but lacks the concentrated power of better brigades
 

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
I did have a quick look at just the starting AI settings of various countries: It seems this 100% ENG setting is only present in the 1936 ai files, all others have their build priorities split between multiple attachment types.
AFAIR the AI was supposed to load a newer ai file once the game year reached the year of the next higher ai file (a 1939 game for ENG AI would then load the 1939 ai from eng_1939.ai) but it does not seem to happen.

Hmmm, the easiest way to fix this would be to copy the brigade build shemes from acountries later ai file to the 1936 ai file.

EDIT: Does it only apply to infantry or also to other land unit types ?
 
Last edited:

Weserübung

Captain
23 Badges
Jun 9, 2007
498
5
  • Stellaris: Leviathans Story Pack
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Together for Victory
  • Arsenal of Democracy
  • Hearts of Iron IV: Cadet
  • Stellaris
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Hearts of Iron III
  • Europa Universalis III
  • Darkest Hour
EDIT: Does it only apply to infantry or also to other land unit types ?

it applies to all

like I said ai files are bad, and I mean BAAAAD!!!

minor nations build only garrisons. there are various tech blocks so ai nations sometimes cannot build important stuff because their files forbit it. major countries do not even upgrade or assign enough IC to repair their provinces. also the build queues are so short that ai keeps assigning new units to be build even though it does not have any IC to spare. because the manpower is deducted when builds are assigned, ai countires lose all their manpower fast without being able to build much. All that is documented in my thread in my signature.

all this cause the vanilla 36 scenario to be effectivly broken IMO.
 
Last edited:

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Id ran an AI vs AI test and yes - they are all affected with ENG builds.
Problem with reinforce does not apply to all, GER does not reinforce in 1942 but many other majors did. German AI was set to use 20% IC to reinforce but ignored this for some unknown reason.
Many countries like GER and ENG were out of oil.
 

Count of Reval

Colonel
7 Badges
Apr 14, 2009
911
31
  • Arsenal of Democracy
  • Deus Vult
  • Hearts of Iron III
  • Europa Universalis: Rome
  • 500k Club
  • Crusader Kings II: The Old Gods
  • 200k Club
AFAIR the AI was supposed to load a newer ai file once the game year reached the year of the next higher ai file (a 1939 game for ENG AI would then load the 1939 ai from eng_1939.ai) but it does not seem to happen.

Is it even so when one changes in the year based AI files a switch parameter value to "yes"?

(Currently all the AI files that have some year number in their name have the value set to "no" and by that the AI is told not to try to switch on a more appropriate (up-to-date) AI file on every year. IIRC the reason for that switch value choice has been also discussed somewhere, but I don't remember where and what the logic behind it was.)
 

Denniss

CORE developer
37 Badges
Jun 15, 2005
3.370
41
www.matrixgames.com
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Majesty 2
  • Mount & Blade: Warband
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Darkest Hour
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Arsenal of Democracy
  • Deus Vult
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
That probably needs to be yes for the AI to switch to the newer AI files. I still don't get the reason for restricting the AI to use only ENG brigades.

I'll probably work through the larger countries and use the brigade build settings from the newer AI + set attachment preferences for HQ (all countries, 100% AAA) and Garrison (100% police for GER and JAP, others untouched).
 

Count of Reval

Colonel
7 Badges
Apr 14, 2009
911
31
  • Arsenal of Democracy
  • Deus Vult
  • Hearts of Iron III
  • Europa Universalis: Rome
  • 500k Club
  • Crusader Kings II: The Old Gods
  • 200k Club
Maybe the reason might have been an attempt to ensure that a relatively high percentage of AI corps/armies would have at least one Engineer brigade per merged units. So AI file preparer made all year 1936 AI files to prefer Engineer brigades - which was meant to offer a base layer of land units with an ability to provide a valuable dug-in bonus to other units that would be merged with them in a future. (Although I don't know how the AI's unit merging mechanics exactly works.) It might have been expected - since the switch parameter is set to "no", then one could say incorrectly so - that at the latest in 1939, based on the year 1939 AI files, but for many AI nations even earlier (thanks to the event driven, build schema altering AI files) an AI would start to produce land units with a wider range of brigade types - as specified in files - that would form effective corps'/armies with previously built units (with Engineer brigades) evenly spread along the fronts. (But as the switch is set to "no", possibly mistakenly, other brigades actually never are build.)
 

Tomnoddy

Captain
8 Badges
Jan 11, 2012
395
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Semper Fi
  • 500k Club
I thought the ENG brigades were intended to help germany blitz across river barriers, especially with its armour formations. You or I may be sensible enough to avoid fighting across rivers, but the AI is not. This thread now makes it clear it's just a bug, but it does have this beneficial side effect for Germany at least.

It also means that the only way to defend France against AI Germany is to extend the Maginot line to the coast. In Hearts of Iron 2 / DD / Arma, you could hold the Rheims/Namur/Antwerp/Eindhoven/Utrecht/Amsterdam line, but thanks to all the engineer brigades the river line is worse than useless - what river crossing penalty remains is more than offset by having to hold a longer front line, and provinces like Eindhoven which are exposed to attack from multiple sides.
 

Julle64

Captain
23 Badges
Mar 19, 2007
481
0
  • Hearts of Iron III
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron Anthology
  • For the Motherland
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Cities in Motion
  • Arsenal of Democracy
Is it even so when one changes in the year based AI files a switch parameter value to "yes"?

(Currently all the AI files that have some year number in their name have the value set to "no" and by that the AI is told not to try to switch on a more appropriate (up-to-date) AI file on every year. IIRC the reason for that switch value choice has been also discussed somewhere, but I don't remember where and what the logic behind it was.)

It should work but don't think it will work correctly, at least for the major nations. The "year" files in the ai folder are used from the beginning only until events change them, and those event driven build schemes are located in the ai/switch folder. Only one build scheme can be used at a time and if the option is changed to yes then the "yearly files" replace the event launched ai/switch file and vice versa.
 
Last edited:

spasmolytic

Corporal
17 Badges
May 23, 2010
34
0
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Arsenal of Democracy
  • Majesty 2
  • Victoria 2: Heart of Darkness
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I understand this is thread necromancy but this is still a problem in patch 1.08 and it is incredible to me that this is still a problem (or was ever a problem to begin with in arsenal of democracy).
 

unmerged(526990)

First Lieutenant
1 Badges
Jul 21, 2012
266
0
  • Arsenal of Democracy
I understand this is thread necromancy but this is still a problem in patch 1.08 and it is incredible to me that this is still a problem (or was ever a problem to begin with in arsenal of democracy).

The easiest way to fix this is just to play using the CORE mod. It's just AoD but better, with a lot of things such as this fixed. The team has put a huge amount of very detailed work into the AI files.
 

Mr_B0narpte

Field Marshal
12 Badges
Mar 15, 2009
4.689
326
  • Arsenal of Democracy
  • Cities in Motion
  • Darkest Hour
  • For The Glory
  • Hearts of Iron III
  • Rome Gold
  • Victoria 2
  • Rome: Vae Victis
  • 500k Club
  • Pride of Nations
  • Rise of Prussia
  • Hearts of Iron IV Sign-up
The easiest way to fix this is just to play using the CORE mod. It's just AoD but better, with a lot of things such as this fixed. The team has put a huge amount of very detailed work into the AI files.
No offence to CORE, but IMO your claim that it's "just AoD but better" is wrong. I'd say it's AoD with a lot of changes, with certain improvements.