The thread to discuss and debate the various AI files for National (and Communist) China
Originally posted by Steel
IMHO China has enough forces. The main issue is how to deploy them and historically this was highly regional as different warlords controlled different regions. This can be simulated by setting high min/max_garrison settings. As the Japanese advance, the relative strength of each garrison province is increased while keeping the forces out of the Front AI's control.
construction = { #During periods of peace we will prepare for war.
max_factor = 0.2 #Max 20%
max_AA = 4
AA_batteries = not_atwar
max_AA_level = 1
coastal_fort = no
ic_at_war = no
force_ic_until = 1938 #Build IC for two years this will improve most of our 1IC provinces
ic_end_year = 1942 #By then it should be enough
}
military = {
relative_build_scheme = no
infantry = 60
cavalry = 11
motorized = 11 #We can convert our coal to oil
mechanized = 0
panzer = 0 #Can't afford the research nor the production cost
paratrooper = 0
marine = 0
bergsjaeger = 1 #For fun and half our country is mountains
# 83 %
fighter = 5
strategic_bomber = 1 #For the suprise factor
tactical_bomber = 1 #Slim chance but for historical reasons it should be here
naval_bomber = 1 #Slim chance but for historical reasons it should be here
dive_bomber = 5 #The most effective bomber without spending the tech
transport_plane = 0
torpedo_plane = 2 #Much better bang for bucks than Naval
# 15 %
battleship = 0
carrier = 0
destroyer = 1 #Slim chance but for historical reasons it should be here
cruiser = 1 #Slim chance but for historical reasons it should be here
submarine = 0
transports = 0
# 2 %
}
technology = {
endgoal = {}
preference = {1202 1204 14008 14009}
electronics = 0.001 #Minimum for historical reasons
armor = 0
infantry = 4.0 #Higher then artillery for the AI to prioritize this
industry = 0.001 #Minimum for historical reasons
rocket = 0
nuclear = 0
heavy_aircraft = 0.001 #Minimum for historical reasons
light_aircraft = 0.001 #Minimum for historical reasons
naval = 0.001 #Minimum for historical reasons
submarine = 0.001 #Minimum for historical reasons
artillery = 3.0
naval_doctrine = 0.001 #Minimum for historical reasons
land_doctrine = 0.1 #They should at least try to get one or two
air_doctrine = 0.001 #Minimum for historical reasons
}
#
# file: china.ai
#
# Hearts of Iron
#
# By Spoon
#
# Nationalist China AI file
#
# 100 = Total warmonger, 0 = absolute pacifist
war = 40
combat = { CHC SIK }
strat_redeploy_threshold = 20
max_front_ratio = 6
max_garrison_prop = 0.5
min_garrison_prop = 0.2
influence = { USA SIA JAP }
construction = { #During periods of peace we will prepare for war.
max_factor = 0.2 #Max 20%
max_AA = 4
AA_batteries = not_atwar
max_AA_level = 1
coastal_fort = no
ic_at_war = no
force_ic_until = 1938 #Build IC for two years this will improve most of our 1IC provinces
ic_end_year = 1939 #By then it should be enough
max_land_level = 0
}
military = {
relative_build_scheme = no
infantry = 75.6
cavalry = 10
motorized = 6 #We can convert our coal to oil
mechanized = 0
panzer = 0 #Can't afford the research nor the production cost
paratrooper = 0
marine = 0
bergsjaeger = 1 #For fun and half our country is mountains
# 92.6 %
fighter = 4
strategic_bomber = 1 #For the suprise factor
tactical_bomber = 0.1 #Slim chance but for historical reasons it should be here
naval_bomber = 0.1 #Slim chance but for historical reasons it should be here
dive_bomber = 2 #The most effective bomber without spending the tech
transport_plane = 0
torpedo_plane = 0
# 7.2 %
battleship = 0
carrier = 0
destroyer = 0.1 #Slim chance but for historical reasons it should be here
cruiser = 0.1 #Slim chance but for historical reasons it should be here
submarine = 0
transports = 0
# 0.2 %
}
technology = {
endgoal = {}
preference = {1202 1204 14008 14009}
electronics = 0.001 #Minimum for historical reasons
armor = 0
infantry = 4.0 #Higher then artillery for the AI to prioritize this
industry = 0.001 #Minimum for historical reasons
rocket = 0
nuclear = 0
heavy_aircraft = 0.001 #Minimum for historical reasons
light_aircraft = 0.001 #Minimum for historical reasons
naval = 0.001 #Minimum for historical reasons
submarine = 0.001 #Minimum for historical reasons
artillery = 3.0
naval_doctrine = 0.001 #Minimum for historical reasons
land_doctrine = 0.1 #They should at least try to get one or two
air_doctrine = 0.001 #Minimum for historical reasons
}
garrison = {
defend_overseas_beaches = no
# PRIORITIES:
beach_1 = 50 # Beach level 1
beach_2 = 55 # Beach level 2
beach_3 = 60 # Beach level 3
capital = 100 # Our capital
human_border = 0 # Ignored for allied human players
war_target = 20 # 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 = 30 # Bordering countries at war with someone else get this
# Borders with specific countries
country_priorities = {
ENG = -1
SOV = -1
TRK = -1
FRA = -1
TIB = -1
NEP = -1
SIK = -1
CHC = 50
JAP = 500
}
# Specific provinces
province_priorities = {
1562 = 70 #Jinzhou (JPN)
1567 = 41 #Datong
1698 = 201 #Shanghai
1620 = 82 #Xuzhou
1616 = 10 # Yanan (CHC)
1700 = 11 # Xianyang (CHC)
}
key_point_prio_mult = 1
}
front = {
recklessness = 0
enemy_reinf_days = 30
reserve_prop = 0.300
panic_ratio_vs_ai = 1.500
panic_ratio_vs_human = 2.000
base_attack_odds = 3.500
min_attack_odds = 3.000
max_attack_odds = 4.000
reinforce_odds = 1.500
withdraw_odds = 0.800
distrib_vs_ai = even
distrib_vs_human = even
enemy_handicap = { }
passivity = { }
}
admiral = {
target = {
1723 = 500 #Bobai Sea
}
}
bomber = {
#defensive fighter ai factors
defensiveIC = 3.0
recentlyBombed = 7.0 #protect anything bombed.
protectOil = 1.2
protectCoal = 1.1
protectSteel = 1.0
protectRubber = 1.3
#Evaluation factors for determening which landarea to be strategically bombarded.
areaSize = 2.0 #size of area.
areaDistance = 1.0 #distance
adjacency = 4.0 #if its neighbor to us.
#Evaluate which province to get a bombing mission.
targetIC = 3.0 #How important are IC to target..
avoidAA = 8.0 #how bad AA are.
targetCoal = 2.0
targetSteel = 2.0
targetOil = 20.0
targetRubber = 30.0
occupied = 0.1 #Subtract for provinces which are occupied, ie bomb germany ahead of france as UK.
}
#
# file: china.ai
#
# Hearts of Iron
#
# By Spoon
#
# Nationalist China AI file
#
# 100 = Total warmonger, 0 = absolute pacifist
war = 60
combat = { CHC SIK }
strat_redeploy_threshold = 20
max_front_ratio = 8
max_garrison_prop = 0.6
min_garrison_prop = 0.2
influence = { USA SIA JAP SOV }
construction = { #During periods of peace we will prepare for war.
max_factor = 0.2 #Max 20%
max_AA = 4
AA_batteries = not_atwar
max_AA_level = 1
coastal_fort = no
ic_at_war = no
force_ic_until = 1937 #Build IC for a year this will improve most of our 1IC provinces
ic_end_year = 1939 #By then it should be enough
max_land_level = 0
}
military = {
relative_build_scheme = no
infantry = 75.6
cavalry = 10
motorized = 6 #We can convert our coal to oil
mechanized = 0
panzer = 0 #Can't afford the research nor the production cost
paratrooper = 0
marine = 0
bergsjaeger = 1 #For fun and half our country is mountains
# 92.6 %
fighter = 4
strategic_bomber = 1 #For the suprise factor
tactical_bomber = 0.1 #Slim chance but for historical reasons it should be here
naval_bomber = 0.1 #Slim chance but for historical reasons it should be here
dive_bomber = 2 #The most effective bomber without spending the tech
transport_plane = 0
torpedo_plane = 0
# 7.2 %
battleship = 0
carrier = 0
destroyer = 0.1 #Slim chance but for historical reasons it should be here
cruiser = 0.1 #Slim chance but for historical reasons it should be here
submarine = 0
transports = 0.0
# 0.2%
}
technology = {
endgoal = {}
preference = {1202 1204 14008 14009}
electronics = 0.001 #Minimum for historical reasons
armor = 0
infantry = 3.0 #Higher then artillery for the AI to prioritize this
industry = 0.001 #Minimum for historical reasons
rocket = 0
nuclear = 0
heavy_aircraft = 0.001 #Minimum for historical reasons
light_aircraft = 0.001 #Minimum for historical reasons
naval = 0.001 #Minimum for historical reasons
submarine = 0.001 #Minimum for historical reasons
artillery = 4.0
naval_doctrine = 0.001 #Minimum for historical reasons
land_doctrine = 0.1 #They should at least try to get one or two
air_doctrine = 0.001 #Minimum for historical reasons
}
garrison = {
defend_overseas_beaches = no
# PRIORITIES:
beach_1 = 60 # Beach level 1
beach_2 = 65 # Beach level 2
beach_3 = 70 # Beach level 3
capital = 75 # Our capital
human_border = 0 # Ignored for allied human players
war_target = 20 # 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 = 30 # Bordering countries at war with someone else get this
# Borders with specific countries
country_priorities = {
ENG = -1
SOV = -1
TRK = -1
FRA = -1
TIB = -1
NEP = -1
SIK = -1
JAP = 500
}
# Specific provinces
province_priorities = {
1562 = 70 #Jinzhou (JPN)
1561 = 51 #Dalian (JPN)
1563 = 113 #Baijing
1567 = 91 #Datong
1698 = 151 #Shanghai
1620 = 102 #Xuzhou
1625 = 147 #Tianjin
#in an attempt to remove troops from here
1542 = -100 #Anxi
1572 = -100 #Jinchuan
#in an attempt to take this territories if they fall to japan
1571 = 150 # Yanan (CHC)
1570 = 151 # Xianyang (CHC)
}
key_point_prio_mult = 1
}
front = {
recklessness = 0
enemy_reinf_days = 40
reserve_prop = 0.200
panic_ratio_vs_ai = 1.500
panic_ratio_vs_human = 2.000
base_attack_odds = 2.000
min_attack_odds = 1.000
max_attack_odds = 5.000
reinforce_odds = 2.000
withdraw_odds = 0.900
distrib_vs_ai = even
distrib_vs_human = even
enemy_handicap = { }
passivity = { }
}
admiral = {
target = {
1719 = 50 #Hong Kong sea
1723 = 100 #Bobai Sea
}
}
bomber = {
#defensive fighter ai factors
defensiveIC = 2.0
recentlyBombed = 10.0 #protect anything bombed.
protectOil = 1.2
protectCoal = 1.1
protectSteel = 1.0
protectRubber = 1.3
#Evaluation factors for determening which landarea to be strategically bombarded.
areaSize = 2.0 #size of area.
areaDistance = 1.0 #distance
adjacency = 4.0 #if its neighbor to us.
#Evaluate which province to get a bombing mission.
targetIC = 13.0 #How important are IC to target..
avoidAA = 8.0 #how bad AA are.
targetCoal = 12.0
targetSteel = 12.0
targetOil = 20.0
targetRubber = 30.0
occupied = 0.0 #Subtract for provinces which are occupied, ie bomb germany ahead of france as UK.
}
Originally posted by Steel
IMHO you are making a mistake with the construction. You are ensuring that China will never build up their numerous low-IC areas (high ROI) and never build AA (very high ROI). This will cut deeply into long-term viability of western China and the AI will be struggling to meet supply requirements.
Originally posted by PaxMondo
But historically, this was quite true. They did NOT buld up their industry nor their technology much in this period. Rationale was as given B4: warlord inability to coordinate and concern of jsut giving it to the Japanese. The burma road was critical and the allies supported it strongly to keep Japan tied up in China while they could recover. To similate this, we simply need to add events to trigger supplies arriving periodically, maybe quarterly, and maybe a few IC bumps as well similar to the lend-lease code.
Regarding the airforce, similar arguements: The Flying Tigers followed by tech transfer from allies to build these on their own. They did not research this AFAIK. So again, a couple of events, one to transfer a few fighter squads of P-40's to china, followed a few months later by a tech transfer for the R&D.
Finally, losing Rangoon has to be a catastrophic event for china. major hit ... remove IC's gained by events, dissent penalty, they should surrender to Japan in 80% of the time within 18 months.
All of this is just IMHO. Thoughts welcome. I ahve some of these events already coded ....
Originally posted by Spoonist
The China.ai will always place an airunit in Anxi, usually a NAV bomber.
Now the Anxi province is on the NW border to Mongolia for heavens sake, it is as far away from the coast as they can get.