I am resubmitting this because after months of SP play with this AI file, I have only seen China annexed by Japan in 2 games out of 26 so far. Every other time China holds out for the entire war (as they did historically) and rarely completely knocks Japan off of the asian mainland.
Every other China AI file I have tested just doesnt stand up to the effectiveness of this one (wish I could say that about my other AI mods but I cannot).
#
# file: china.ai
#
# Hearts of Iron
#
# By Trip (modified by Roxxor)
#
# Standard China AI file
#
# 100 = Total warmonger, 0 = absolute pacifist
war = 50
max_garrison_prop = 0.4
min_garrison_prop = 0.3
strat_redeploy_threshold = 15
influence = {
CHC INO MAN SIA SIK TIB USA
}
construction = {
max_factor = 0.0
AA_batteries = atwar
coastal_fort = no
ic_at_war = no
}
military = {
relative_build_scheme = no
infantry = 72
cavalry = 5
motorized = 0
mechanized = 0
panzer = 4
paratrooper = 0
marine = 0
bergsjaeger = 0
# 79 %
fighter = 6
strategic_bomber = 0
tactical_bomber = 12
naval_bomber = 1
dive_bomber = 0
transport_plane = 0
torpedo_plane = 0
# 19 %
battleship = 0
carrier = 0
destroyer = 0
cruiser = 0
submarine = 0
transports = 0
# 0 %
}
technology = {
endgoal = {}
preference = {1202 1204 14008 14009}
electronics = 0.0
armor = 0.0
infantry = 2.0
industry = 0.0
rocket = 0.0
nuclear = 0.0
heavy_aircraft = 0.0
light_aircraft = 0.0
naval = 0.0
submarine = 0.0
artillery = 2.0
naval_doctrine = 0.0
land_doctrine = 0.0
air_doctrine = 0.0
}
garrison = {
defend_overseas_beaches = no
# PRIORITIES:
beach_1 = 0 # Beach level 1
beach_2 = 0 # Beach level 2
beach_3 = 100 # Beach level 3
capital = 150 # Our capital
human_border = 100 # Ignored for allied human players
war_target = 100 # The next country targeted for attack by this AI
opposing_alliance = 0 # For neutrals, all alliances are "opposing"
claim_threat = 0 # If we are neutral, countries with claims on us get this
unstable_border = 50 # Bordering countries at war with someone else get this
# Borders with specific countries
country_priorities = {
ENG = -1
SOV = -1
MON = -1
TRK = -1
FRA = -1
TIB = -1
NEP = -1
SIK = -1
CHC = -1
JAP = 600
}
# Specific provinces
province_priorities = {
1701 = 100 # Jiangmen
}
key_point_prio_mult = 0
}
front = {
recklessness = 0 # 0-3
enemy_reinf_days = 2
reserve_prop = 0.3
panic_ratio_vs_ai = 2.000
panic_ratio_vs_human = 2.000
base_attack_odds = 3.000
min_attack_odds = 2.000
max_attack_odds = 4.000
reinforce_odds = 1.500
withdraw_odds = 1.000
distrib_vs_ai = even
distrib_vs_human = even
}
Also I made a (fully tested) AI switch file that causes China to move their capitol to Kunming early. This will only trigger in a case where a human Japan player is trying to exploit by surrounding Nanjing to cut off China's entire army from supplies.
#################################################################
###NatChi moves its capital if threatened
#################################################################
event = {
id = 5050
random = no
country = CHI
trigger = {
ai = yes
atwar = yes
NOT = {
control = { province = 1693 data = -1 } #Zhengzhou has fallen
control = { province = 1711 data = -1 } #Nanchang has fallen
event = 4100 #Nanking Massacre
}
}
name = "AI_Event"
desc = ""
style = 0
date = { day = 2 month = january year = 1937 }
offset = 13 #Check for triggers every thirteen days
deathdate = { day = 30 month = december year = 1938 }
action_a = {
name = ""
command = { type = capital which = 1611 } #Move capital to Kunming
}
}
Every other China AI file I have tested just doesnt stand up to the effectiveness of this one (wish I could say that about my other AI mods but I cannot).
#
# file: china.ai
#
# Hearts of Iron
#
# By Trip (modified by Roxxor)
#
# Standard China AI file
#
# 100 = Total warmonger, 0 = absolute pacifist
war = 50
max_garrison_prop = 0.4
min_garrison_prop = 0.3
strat_redeploy_threshold = 15
influence = {
CHC INO MAN SIA SIK TIB USA
}
construction = {
max_factor = 0.0
AA_batteries = atwar
coastal_fort = no
ic_at_war = no
}
military = {
relative_build_scheme = no
infantry = 72
cavalry = 5
motorized = 0
mechanized = 0
panzer = 4
paratrooper = 0
marine = 0
bergsjaeger = 0
# 79 %
fighter = 6
strategic_bomber = 0
tactical_bomber = 12
naval_bomber = 1
dive_bomber = 0
transport_plane = 0
torpedo_plane = 0
# 19 %
battleship = 0
carrier = 0
destroyer = 0
cruiser = 0
submarine = 0
transports = 0
# 0 %
}
technology = {
endgoal = {}
preference = {1202 1204 14008 14009}
electronics = 0.0
armor = 0.0
infantry = 2.0
industry = 0.0
rocket = 0.0
nuclear = 0.0
heavy_aircraft = 0.0
light_aircraft = 0.0
naval = 0.0
submarine = 0.0
artillery = 2.0
naval_doctrine = 0.0
land_doctrine = 0.0
air_doctrine = 0.0
}
garrison = {
defend_overseas_beaches = no
# PRIORITIES:
beach_1 = 0 # Beach level 1
beach_2 = 0 # Beach level 2
beach_3 = 100 # Beach level 3
capital = 150 # Our capital
human_border = 100 # Ignored for allied human players
war_target = 100 # The next country targeted for attack by this AI
opposing_alliance = 0 # For neutrals, all alliances are "opposing"
claim_threat = 0 # If we are neutral, countries with claims on us get this
unstable_border = 50 # Bordering countries at war with someone else get this
# Borders with specific countries
country_priorities = {
ENG = -1
SOV = -1
MON = -1
TRK = -1
FRA = -1
TIB = -1
NEP = -1
SIK = -1
CHC = -1
JAP = 600
}
# Specific provinces
province_priorities = {
1701 = 100 # Jiangmen
}
key_point_prio_mult = 0
}
front = {
recklessness = 0 # 0-3
enemy_reinf_days = 2
reserve_prop = 0.3
panic_ratio_vs_ai = 2.000
panic_ratio_vs_human = 2.000
base_attack_odds = 3.000
min_attack_odds = 2.000
max_attack_odds = 4.000
reinforce_odds = 1.500
withdraw_odds = 1.000
distrib_vs_ai = even
distrib_vs_human = even
}
Also I made a (fully tested) AI switch file that causes China to move their capitol to Kunming early. This will only trigger in a case where a human Japan player is trying to exploit by surrounding Nanjing to cut off China's entire army from supplies.
#################################################################
###NatChi moves its capital if threatened
#################################################################
event = {
id = 5050
random = no
country = CHI
trigger = {
ai = yes
atwar = yes
NOT = {
control = { province = 1693 data = -1 } #Zhengzhou has fallen
control = { province = 1711 data = -1 } #Nanchang has fallen
event = 4100 #Nanking Massacre
}
}
name = "AI_Event"
desc = ""
style = 0
date = { day = 2 month = january year = 1937 }
offset = 13 #Check for triggers every thirteen days
deathdate = { day = 30 month = december year = 1938 }
action_a = {
name = ""
command = { type = capital which = 1611 } #Move capital to Kunming
}
}