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

herm

Colonel
47 Badges
Nov 18, 2003
1.015
13
Visit site
  • Steel Division: Normandy 44
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Cities: Skylines - After Dark
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Rise of Prussia
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Heir to the Throne
  • Cities in Motion
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • King Arthur II
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Which file should I edit if I want to change what kind of units (infantry, carriers, tanks etc) a specific country builds? Or is that not possible..?

Edit: There is a lot of stuff in the savefiles, would they happen to be explained somewhere?
 
Last edited:

unmerged(12544)

General
Dec 9, 2002
1.936
0
Visit site
You have to change this here in the AI file of the country, e.g. ..\ai\ARG_1936.ai for Argentina.


military = {
relative_build_scheme = no
max_batch_peace = 360
max_batch_war = 180
max_batch_home_front = 180

#### Divisions etc...
infantry = 20
cavalry = 0
motorized = 0
mechanized = 0
light_armor = 0
armor = 0
paratrooper = 0
marine = 0
bergsjaeger = 0
garrison = 0
hq = 0
militia = 0
# 20 %
interceptor = 10
multi_role = 0
escort = 0
cas = 7
strategic_bomber = 0
tactical_bomber = 5
naval_bomber = 0
transport_plane = 0
flying_bomb = 0
flying_rocket = 0
# 22 %
battleship = 0
carrier = 0
destroyer = 38
light_cruiser = 15
heavy_cruiser = 0
battlecruiser = 0
submarine = 0
transports = 5
# 58 %


#### Brigades
artillery = 25
sp_artillery = 0
rocket_artillery = 0
sp_rct_artillery = 0
anti_tank = 15
tank_destroyer = 0
light_armor_brigade = 0
heavy_armor = 0
super_heavy_armor = 0
armored_car = 5
anti_air = 0
police = 0
engineer = 0

cag = 100.000
}
 

herm

Colonel
47 Badges
Nov 18, 2003
1.015
13
Visit site
  • Steel Division: Normandy 44
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Cities: Skylines - After Dark
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Rise of Prussia
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Heir to the Throne
  • Cities in Motion
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • King Arthur II
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Thanks, just what I needed. :)

The part just above military, would I have to specify which provinces the ai should build things like forts for the ai to build them or would the ai chose for himself if I do not specify?

Does the line with "cag = 100.000" mean that the ai builds one cag for every carrier?
 

unmerged(12544)

General
Dec 9, 2002
1.936
0
Visit site
herm said:
The part just above military, would I have to specify which provinces the ai should build things like forts for the ai to build them or would the ai chose for himself if I do not specify?
This is under "construction" in the same file.
herm said:
Does the line with "cag = 100.000" mean that the ai builds one cag for every carrier?
It gets one for free, the AI does not build brigades. The AI gets brigades for the percentage specified for all units for which they are allowed, for free.
 

herm

Colonel
47 Badges
Nov 18, 2003
1.015
13
Visit site
  • Steel Division: Normandy 44
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Cities: Skylines - After Dark
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Rise of Prussia
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Heir to the Throne
  • Cities in Motion
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • King Arthur II
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Does this mean:

AA_batteries = atwar
max_AA_level = 4
AA_provs = {
424 # Bucharest
433 # Iasi
431 # Ploesti
}
coastal_fort = atwar
max_coastal_level = 2
coastal_fort_provs = { }


that the ai builds AA up to level 4 when at war (in Bucharest, Iasi and Ploesti only?) and builds coastal forts up to level 2 when at war (anywhere it has beaches?).