Why is the game AI still not using Motorized infantry at all? (It knows how to do that actually)

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

KubiG37

Colonel
42 Badges
Apr 11, 2016
982
1.730
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Distant Stars
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis IV: Rights of Man
  • Victoria 2
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Third Rome
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • 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
  • Stellaris: Megacorp
  • Victoria 2: Heart of Darkness
  • Stellaris: Synthetic Dawn
I'm wondering - is there some 'developer' /' balance' / whatever reason why AI still doesn't use motorized infantry at all?

Because the thing is - AI actually knows how to build a motorized division, it has its own separate 'unit type' , like an 'armor' does - it just doesn't have any defined template in any of the files!

There's even a ratio (3% I think) in the generic file for the motorized unit type (=what percentage of its armed forces should be motorized)

Basically all you have to do (as I did in my mod) is to add this code to the 'generic' AI_template file (and separate for majors if you wish) and all AIs suddenly build motorized divisions!
And they work! The AI just mixes them up with other divisions, but with their very high speed, they can actually randomly create breakthroughs and sometimes even encircle enemy troops!

motorized_generic = {

blocked_for = {
GER
JAP
ENG
USA
ITA
SOV
FRA
}

roles = {
mobile
}

match_to_count = 0.40

upgrade_prio = {
factor = 1.0
has_tech = motorised_infantry
}

motor_infantry_default_generic = {

upgrade_prio = {
factor = 0

modifier = {
add = 4
has_tech = motorised_infantry
}
modifier = {
factor = 5
num_of_military_factories > 40
date > 1941.1.1
}
modifier = {
factor = 5
tag = HUN
}
}

target_width = 12.0
width_weight = 1.0
column_swap_factor = 0.5

stat_weights = {
0.00 #-- default_morale
1.10 #-- defense
1.00 #-- breakthrough
0.30 #-- hardness
1.00 #-- soft_attack
0.00 #-- hard_attack
0.10 #-- recon
0.01 #-- entrenchment
0.10 #-- initiative
0.01 #-- casualty_trickleback
-0.05 #-- supply_consumption_factor
-0.01 #-- supply_consumption
0.00 #-- suppression
0.00 #-- suppression_factor
0.01 #-- experience_loss_factor
0.00 #-- equipment_capture_factor
0.00 #-- fuel_capacity
#-- Air Values
0.02 #-- air_attack
#-- Common Values
30.00 #-- max_organisation
0.80 #-- max_strength
5.0 #-- maximum_speed
0.10 #-- armor_value
0.05 #-- ap_attack
0.10 #-- reliability
0.10 #-- reliability_factor
0.00 #-- weight
0.00 #-- fuel_consumption
0.00 #-- fuel_consumption_factor
0.00 #-- strat_attack
0.00 #-- carrier_size
0.00 #-- acc_hot_gain
0.00 #-- acc_cold_gain
0.00 #-- build_cost_ic
}

target_template = {
weight = 0.9
match_value = 3000.0

support = {
engineer = 1
mot_recon = 1
artillery = 1
}

regiments = {
motorized = 6
}
}

allowed_types = {
#light_armor
motorized
mechanized
engineer
signal_company
mot_recon
armored_car_recon
light_tank_recon
artillery
mot_artillery_brigade
anti_tank
}
}

}
AI Mobile2.jpg

-This is may 1941 Historical Germany AI
AI Mobile.jpg

To me it's just a waste of AI potential, and a moderate immersion breaker (it's WW2 game after all, not WW1 simulator)

-actually it's a similar thing with Tank Destroyers - AI knows how to build and use them, but the AI template code has been broken at least since 1.5.4 so the AI basically never researches any tank destroyer as a result (I've also been able to fix that with just a few lines of code), at least non-NSB one, no idea if they appear in NSB, I lack the DLC.
 
  • 10Like
  • 1
  • 1
Reactions:

HugsAndSnuggles

General
86 Badges
Sep 3, 2016
2.344
2.718
Fairly sure Manchukuo actually built one (a simple 3-battalion unit of questionable utility) in pretty much every game I played long enough.
 

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.796
6.921
I vaguely remember an AI developer saying motorized was disabled because the AI does not know how to use them. Somewhere around patch 1.2 or 1.3 I think.
Besides, I just recently saw the German AI build a tank destroyer division that was classified as motorized.
 
  • 7
  • 1
Reactions: