2024-06-26 20:31:17
This commit is contained in:
1980
src/common/ai_templates/az_generic.txt
Executable file
1980
src/common/ai_templates/az_generic.txt
Executable file
File diff suppressed because it is too large
Load Diff
1510
src/common/ai_templates/generic.txt
Executable file
1510
src/common/ai_templates/generic.txt
Executable file
File diff suppressed because it is too large
Load Diff
267
src/common/ai_templates/psh_generic.txt
Executable file
267
src/common/ai_templates/psh_generic.txt
Executable file
@@ -0,0 +1,267 @@
|
||||
infantry_SGZ = {
|
||||
|
||||
available_for = {
|
||||
YUW
|
||||
}
|
||||
|
||||
roles = {
|
||||
infantry #这个下面打的东西要放在ai战略里面的role_ratio里
|
||||
}
|
||||
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
match_to_count = 0.60 #0.45 to 0.70 to 0.6
|
||||
|
||||
infantry_default_SGZ = {
|
||||
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
target_width = 27.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 0.5
|
||||
|
||||
stat_weights = {
|
||||
0.00 #-- default_morale
|
||||
0.00 #-- defense
|
||||
1.00 #-- breakthrough
|
||||
0.00 #-- hardness
|
||||
4.00 #-- soft_attack
|
||||
0.00 #-- hard_attack
|
||||
0.00 #-- recon
|
||||
1.00 #-- entrenchment
|
||||
0.00 #-- initiative
|
||||
0.00 #-- casualty_trickleback
|
||||
0.00 #-- supply_consumption_factor
|
||||
0.00 #-- supply_consumption
|
||||
0.00 #-- suppression
|
||||
0.00 #-- suppression_factor
|
||||
0.00 #-- experience_loss_factor
|
||||
0.00 #-- equipment_capture_factor
|
||||
0.00 #-- fuel_capacity
|
||||
#-- Air Values
|
||||
0.00 #-- air_attack
|
||||
#-- Common Values
|
||||
0.60 #-- max_organisation
|
||||
0.40 #-- max_strength
|
||||
0.00 #-- maximum_speed
|
||||
0.00 #-- armor_value
|
||||
0.20 #-- ap_attack
|
||||
0.00 #-- reliability
|
||||
0.00 #-- 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
|
||||
# recon = 1
|
||||
# field_hospital = 1
|
||||
# anti_tank = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
infantry
|
||||
engineer
|
||||
#recon
|
||||
#field_hospital
|
||||
#anti_tank
|
||||
artillery
|
||||
anti_tank_brigade
|
||||
artillery_brigade
|
||||
anti_air
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
armor_SGZ = {
|
||||
|
||||
available_for = {
|
||||
YUW
|
||||
}
|
||||
|
||||
roles = {
|
||||
armor #这个下面打的东西要放在ai战略里面的role_ratio里
|
||||
}
|
||||
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
match_to_count = 0.60 #0.45 to 0.70 to 0.6
|
||||
|
||||
|
||||
|
||||
tank_default_SGZ2 = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 0.1
|
||||
|
||||
stat_weights = {
|
||||
0.00 #-- default_morale
|
||||
0.00 #-- defense
|
||||
1.00 #-- breakthrough
|
||||
0.00 #-- hardness
|
||||
4.00 #-- soft_attack
|
||||
0.00 #-- hard_attack
|
||||
0.00 #-- recon
|
||||
1.00 #-- entrenchment
|
||||
0.00 #-- initiative
|
||||
0.00 #-- casualty_trickleback
|
||||
0.00 #-- supply_consumption_factor
|
||||
0.00 #-- supply_consumption
|
||||
0.00 #-- suppression
|
||||
0.00 #-- suppression_factor
|
||||
0.00 #-- experience_loss_factor
|
||||
0.00 #-- equipment_capture_factor
|
||||
0.00 #-- fuel_capacity
|
||||
#-- Air Values
|
||||
0.00 #-- air_attack
|
||||
#-- Common Values
|
||||
0.60 #-- max_organisation
|
||||
0.40 #-- max_strength
|
||||
0.00 #-- maximum_speed
|
||||
0.00 #-- armor_value
|
||||
0.20 #-- ap_attack
|
||||
0.00 #-- reliability
|
||||
0.00 #-- 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 = 990000
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
artillery = 1
|
||||
maintenance_company = 1
|
||||
medium_flame_tank = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
mechanized = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
infantry
|
||||
recon
|
||||
medium_armor
|
||||
engineer
|
||||
mechanized
|
||||
logistics_company
|
||||
anti_tank
|
||||
artillery
|
||||
light_tank_recon
|
||||
armored_car_recon
|
||||
medium_flame_tank
|
||||
anti_air_brigade
|
||||
maintenance_company
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
YUW
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
262
src/common/ai_templates/templates_BFL.txt
Executable file
262
src/common/ai_templates/templates_BFL.txt
Executable file
@@ -0,0 +1,262 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
BFL
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
medium_armor_1 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 22
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 7
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
infantry = 10
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
medium_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 22
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 7
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
infantry = 10
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
medium_armor
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
BFL
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_BFL = {
|
||||
available_for = {
|
||||
BFL
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_2_BFL = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
target_width = 21.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 11
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
artillery
|
||||
infantry
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
249
src/common/ai_templates/templates_BLI.txt
Executable file
249
src/common/ai_templates/templates_BLI.txt
Executable file
@@ -0,0 +1,249 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
BLI
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
heavy_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = SIR }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = SIR }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
recon = 1
|
||||
medium_flame_tank = 1
|
||||
signal_company = 1
|
||||
anti_air = 1
|
||||
}
|
||||
regiments = {
|
||||
heavy_armor = 8
|
||||
heavy_tank_destroyer_brigade = 1
|
||||
mechanized = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
anti_air
|
||||
heavy_armor
|
||||
heavy_tank_destroyer_brigade
|
||||
engineer
|
||||
recon
|
||||
signal_company
|
||||
medium_flame_tank
|
||||
mechanized
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
BLI
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_BLI = {
|
||||
available_for = {
|
||||
BLI
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_1_BLI = {
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
country_exists = SIR
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
country_exists = SIR
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 10
|
||||
artillery_brigade = 5
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
recon
|
||||
artillery_brigade
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
}
|
||||
}
|
||||
|
||||
infantry_2_BLI = {
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = SIR }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = SIR }
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
346
src/common/ai_templates/templates_BYG.txt
Executable file
346
src/common/ai_templates/templates_BYG.txt
Executable file
@@ -0,0 +1,346 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
BYG
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
medium_armor_1 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 22.0
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 6
|
||||
mechanized = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_artillery_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
mechanized
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_artillery_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
medium_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 22.0
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 6
|
||||
mechanized = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_artillery_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
medium_armor
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
mechanized
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_artillery_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
BYG
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_BYG = {
|
||||
available_for = {
|
||||
BYG
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_2_BYG = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
field_hospital = 1
|
||||
rocket_artillery = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
light_tank_recon
|
||||
field_hospital
|
||||
rocket_artillery
|
||||
artillery
|
||||
infantry
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
marines_default = {
|
||||
available_for = {
|
||||
BYG
|
||||
}
|
||||
roles = {
|
||||
marines
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
marines_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
date > 1940.1.1
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
date > 1940.1.1
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
amphibious_medium_armor = 6
|
||||
amphibious_mechanized = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_artillery_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
engineer
|
||||
light_tank_recon
|
||||
medium_flame_tank
|
||||
logistics_company
|
||||
field_hospital
|
||||
amphibious_medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
amphibious_mechanized
|
||||
medium_sp_artillery_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#field_hospital
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
815
src/common/ai_templates/templates_CHY.txt
Executable file
815
src/common/ai_templates/templates_CHY.txt
Executable file
@@ -0,0 +1,815 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
CHY
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
light_armor_1_CHY = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
field_hospital = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
infantry = 10
|
||||
light_armor = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
recon
|
||||
infantry
|
||||
engineer
|
||||
artillery
|
||||
light_armor
|
||||
logistics_company
|
||||
field_hospital
|
||||
}
|
||||
}
|
||||
medium_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
has_country_flag = chy_zhongshijixiehua
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
has_country_flag = chy_zhongshijixiehua
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
mechanized = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
mechanized
|
||||
}
|
||||
}
|
||||
medium_armor_3 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
has_country_flag = chy_zhongshijixiehua
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
has_country_flag = chy_zhongshijixiehua
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
mechanized = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
mechanized
|
||||
}
|
||||
}
|
||||
medium_armor_4 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { has_country_flag = chy_zhongshijixiehua }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { has_country_flag = chy_zhongshijixiehua }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
}
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
infantry = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
infantry
|
||||
}
|
||||
}
|
||||
medium_armor_5 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { has_country_flag = chy_zhongshijixiehua }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { has_country_flag = chy_zhongshijixiehua }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
}
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
infantry = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
infantry
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
CHY
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_CHY = {
|
||||
available_for = {
|
||||
CHY
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_1_CHY = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
DOH = { is_ai = yes }
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
DOH = { is_ai = yes }
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
maintenance_company = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 8
|
||||
artillery_brigade = 4
|
||||
light_armor = 1
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
recon
|
||||
artillery_brigade
|
||||
maintenance_company
|
||||
logistics_company
|
||||
light_armor
|
||||
}
|
||||
}
|
||||
|
||||
infantry_1_CHY_fk = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
DOH = { is_ai = yes }
|
||||
OR = { has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
DOH = { is_ai = yes }
|
||||
OR = { has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 8
|
||||
artillery_brigade = 4
|
||||
light_armor = 1
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
recon
|
||||
artillery_brigade
|
||||
maintenance_company
|
||||
field_hospital
|
||||
light_armor
|
||||
}
|
||||
}
|
||||
|
||||
infantry_1_CHY_playerDOH = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
NOT = { DOH = { is_ai = yes } }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
NOT = { has_idea = TY_fengkuangai }
|
||||
NOT = { has_idea = TY_fengkuangai2 }
|
||||
NOT = { has_idea = TY_fengkuangai3 }
|
||||
NOT = { DOH = { is_ai = yes } }
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 8
|
||||
artillery_brigade = 4
|
||||
anti_tank_brigade = 1
|
||||
light_armor = 1
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
recon
|
||||
artillery_brigade
|
||||
anti_tank_brigade
|
||||
maintenance_company
|
||||
logistics_company
|
||||
light_armor
|
||||
}
|
||||
}
|
||||
|
||||
infantry_1_CHY_playerDOH_fk = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
OR = { has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3 }
|
||||
NOT = { DOH = { is_ai = yes } }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
country_exists = DOH
|
||||
not = { has_country_flag = CHY_friend_with_doh }
|
||||
OR = { has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3 }
|
||||
NOT = { DOH = { is_ai = yes } }
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
field_hospital = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 8
|
||||
artillery_brigade = 4
|
||||
anti_tank_brigade = 1
|
||||
light_armor = 1
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
recon
|
||||
artillery_brigade
|
||||
anti_tank_brigade
|
||||
maintenance_company
|
||||
field_hospital
|
||||
light_armor
|
||||
}
|
||||
}
|
||||
|
||||
infantry_2_CHY = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
NOT = { country_exists = DOH }
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
marines_default = {
|
||||
available_for = {
|
||||
CHY
|
||||
}
|
||||
roles = {
|
||||
marines
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
marines_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
date > 1940.1.1
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
date > 1940.1.1
|
||||
has_country_flag = CHY_friend_with_doh
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
amphibious_medium_armor = 8
|
||||
marine = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
engineer
|
||||
light_tank_recon
|
||||
medium_flame_tank
|
||||
logistics_company
|
||||
field_hospital
|
||||
amphibious_medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
marine
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#field_hospital
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
370
src/common/ai_templates/templates_DOH.txt
Executable file
370
src/common/ai_templates/templates_DOH.txt
Executable file
@@ -0,0 +1,370 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
DOH DH1
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
}
|
||||
}
|
||||
medium_armor = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
infantry = 10
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
medium_armor
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
medium_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
infantry = 10
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
medium_armor
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
field_hospital
|
||||
medium_flame_tank
|
||||
medium_tank_destroyer_brigade
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
DOH DH1
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_DOH = {
|
||||
available_for = {
|
||||
DOH DH1
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_1_DOH = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
not = { has_tech = human_wave_offensive }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
not = { has_tech = human_wave_offensive }
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
artillery = 1
|
||||
engineer = 1
|
||||
recon = 1
|
||||
maintenance_company = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
infantry = 9
|
||||
artillery_brigade = 4
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
recon
|
||||
artillery
|
||||
artillery_brigade
|
||||
maintenance_company
|
||||
logistics_company
|
||||
}
|
||||
}
|
||||
|
||||
infantry_1_DOH = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
has_tech = human_wave_offensive
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 150
|
||||
has_tech = human_wave_offensive
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
recon = 1
|
||||
artillery = 1
|
||||
maintenance_company = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
infantry = 10
|
||||
artillery_brigade = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
engineer
|
||||
recon
|
||||
infantry
|
||||
artillery
|
||||
artillery_brigade
|
||||
maintenance_company
|
||||
logistics_company
|
||||
}
|
||||
}
|
||||
|
||||
infantry_3_DOH = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
}
|
||||
}
|
||||
target_width = 50.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 11
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#field_hospital
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
339
src/common/ai_templates/templates_HUJ.txt
Executable file
339
src/common/ai_templates/templates_HUJ.txt
Executable file
@@ -0,0 +1,339 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
HUJ
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
medium_armor_1 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
mechanized = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
mechanized
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
medium_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
mechanized = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
medium_armor
|
||||
medium_tank_destroyer_brigade
|
||||
mechanized
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
HUJ
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_HUJ = {
|
||||
available_for = {
|
||||
HUJ
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_2_HUJ = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
|
||||
target_width = 21.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
marines_default = {
|
||||
available_for = {
|
||||
HUJ
|
||||
}
|
||||
roles = {
|
||||
marines
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
marines_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
date > 1940.1.1
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
OR = {
|
||||
num_of_military_factories > 150
|
||||
date > 1940.1.1
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
amphibious_medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
amphibious_mechanized = 8
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
signal_company
|
||||
amphibious_medium_armor
|
||||
field_hospital
|
||||
medium_tank_destroyer_brigade
|
||||
amphibious_mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
372
src/common/ai_templates/templates_SAD.txt
Executable file
372
src/common/ai_templates/templates_SAD.txt
Executable file
@@ -0,0 +1,372 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
SAD
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
light_armor_1 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 0
|
||||
num_of_military_factories < 150
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 0
|
||||
num_of_military_factories < 150
|
||||
}
|
||||
}
|
||||
target_width = 21
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
mechanized = 4
|
||||
light_armor = 4
|
||||
light_tank_destroyer_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
signal_company
|
||||
light_armor
|
||||
mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
maintenance_company
|
||||
medium_sp_anti_air_brigade
|
||||
light_sp_artillery_brigade
|
||||
light_tank_destroyer_brigade
|
||||
}
|
||||
}
|
||||
light_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
mechanized = 8
|
||||
light_armor = 5
|
||||
medium_sp_anti_air_brigade = 1
|
||||
light_sp_artillery_brigade = 2
|
||||
light_tank_destroyer_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
light_armor
|
||||
mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
light_sp_artillery_brigade
|
||||
light_tank_destroyer_brigade
|
||||
}
|
||||
}
|
||||
light_armor_3 = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
mechanized = 8
|
||||
light_armor = 5
|
||||
medium_sp_anti_air_brigade = 1
|
||||
light_sp_artillery_brigade = 2
|
||||
light_tank_destroyer_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
light_armor
|
||||
mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
light_sp_artillery_brigade
|
||||
light_tank_destroyer_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
SAD
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_SAD = {
|
||||
available_for = {
|
||||
SAD
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_1_SAD = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 0
|
||||
num_of_military_factories < 150
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 0
|
||||
num_of_military_factories < 150
|
||||
}
|
||||
}
|
||||
target_width = 21.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
recon = 1
|
||||
field_hospital = 1
|
||||
field_hospital = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
infantry = 12
|
||||
artillery_brigade = 3
|
||||
anti_tank_brigade = 1
|
||||
anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
infantry
|
||||
recon
|
||||
field_hospital
|
||||
field_hospital
|
||||
logistics_company
|
||||
engineer
|
||||
artillery_brigade
|
||||
anti_tank_brigade
|
||||
anti_air_brigade
|
||||
}
|
||||
}
|
||||
|
||||
infantry_2_SAD = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 150
|
||||
}
|
||||
}
|
||||
target_width = 21.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
anti_tank = 1
|
||||
anti_air = 1
|
||||
}
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
infantry
|
||||
engineer
|
||||
artillery
|
||||
anti_tank
|
||||
anti_air
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
249
src/common/ai_templates/templates_SIR.txt
Executable file
249
src/common/ai_templates/templates_SIR.txt
Executable file
@@ -0,0 +1,249 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
SIR
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
heavy_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = BLI }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = BLI }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
recon = 1
|
||||
medium_flame_tank = 1
|
||||
signal_company = 1
|
||||
anti_air = 1
|
||||
}
|
||||
regiments = {
|
||||
heavy_armor = 8
|
||||
heavy_tank_destroyer_brigade = 1
|
||||
mechanized = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
anti_air
|
||||
heavy_armor
|
||||
heavy_tank_destroyer_brigade
|
||||
engineer
|
||||
recon
|
||||
signal_company
|
||||
medium_flame_tank
|
||||
mechanized
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
SIR
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_SIR = {
|
||||
available_for = {
|
||||
SIR
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_1_SIR = {
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
country_exists = BLI
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
country_exists = BLI
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 10
|
||||
artillery_brigade = 5
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
recon
|
||||
artillery_brigade
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
}
|
||||
}
|
||||
|
||||
infantry_2_SIR = {
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = BLI }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
NOT = { country_exists = BLI }
|
||||
}
|
||||
}
|
||||
target_width = 42.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
314
src/common/ai_templates/templates_TIX.txt
Executable file
314
src/common/ai_templates/templates_TIX.txt
Executable file
@@ -0,0 +1,314 @@
|
||||
armor_default = {
|
||||
available_for = {
|
||||
TIX
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
medium_armor_1 = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 200
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories < 200
|
||||
}
|
||||
}
|
||||
target_width = 21
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 4
|
||||
mechanized = 4
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
}
|
||||
}
|
||||
medium_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 200
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 200
|
||||
not = { has_idea = TY_fengkuangai }
|
||||
not = { has_idea = TY_fengkuangai2 }
|
||||
not = { has_idea = TY_fengkuangai3 }
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
logistics_company = 1
|
||||
maintenance_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
mechanized = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
maintenance_company
|
||||
medium_armor
|
||||
mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
logistics_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
medium_tank_destroyer_brigade
|
||||
}
|
||||
}
|
||||
medium_armor_3 = {
|
||||
upgrade_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 200
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 100
|
||||
modifier = {
|
||||
add = 100
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
num_of_military_factories > 200
|
||||
OR = {
|
||||
has_idea = TY_fengkuangai
|
||||
has_idea = TY_fengkuangai2
|
||||
has_idea = TY_fengkuangai3
|
||||
}
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
medium_flame_tank = 1
|
||||
maintenance_company = 1
|
||||
field_hospital = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 8
|
||||
medium_tank_destroyer_brigade = 1
|
||||
medium_sp_anti_air_brigade = 1
|
||||
mechanized = 8
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
field_hospital
|
||||
medium_armor
|
||||
mechanized
|
||||
engineer
|
||||
light_tank_recon
|
||||
maintenance_company
|
||||
medium_flame_tank
|
||||
medium_sp_anti_air_brigade
|
||||
medium_tank_destroyer_brigade
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
garrison_default = {
|
||||
available_for = {
|
||||
TIX
|
||||
}
|
||||
roles = {
|
||||
garrison
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
match_to_count = 0.60
|
||||
garrison_default = {
|
||||
custom_icon = 7
|
||||
upgrade_prio = {
|
||||
base = 1
|
||||
}
|
||||
target_width = 50
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
target_template = {
|
||||
weight = 0.95
|
||||
match_value = 10000
|
||||
|
||||
support = {
|
||||
military_police = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
cavalry = 24
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
cavalry
|
||||
military_police
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_TIX = {
|
||||
available_for = {
|
||||
TIX
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_2_TIX = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
NOT = { has_idea = TY_dingzhenai }
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
target_width = 20.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
artillery = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 9
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
infantry
|
||||
artillery
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
424
src/common/ai_templates/templates_dinzhen.txt
Executable file
424
src/common/ai_templates/templates_dinzhen.txt
Executable file
@@ -0,0 +1,424 @@
|
||||
armor_moto_dingzhen_default = {
|
||||
available_for = {
|
||||
TIX
|
||||
YUW
|
||||
BYG
|
||||
HUJ
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
medium_armor_dingzhen = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
target_width = 22
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
artillery = 1
|
||||
anti_air= 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 5
|
||||
motorized = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
logistics_company
|
||||
medium_armor
|
||||
motorized
|
||||
engineer
|
||||
light_tank_recon
|
||||
anti_air
|
||||
artillery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_armor_moto_dingzhen_default = {
|
||||
available_for = {
|
||||
SAD
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
medium_armor_dingzhen = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
target_width = 22
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
artillery = 1
|
||||
anti_air= 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
light_armor = 5
|
||||
motorized = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
logistics_company
|
||||
light_armor
|
||||
motorized
|
||||
engineer
|
||||
light_tank_recon
|
||||
anti_air
|
||||
artillery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
heavy_armor_moto_dingzhen_default = {
|
||||
available_for = {
|
||||
BLI
|
||||
SIR
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
medium_armor_dingzhen = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
target_width = 22
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
artillery = 1
|
||||
anti_air= 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 5
|
||||
motorized = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
logistics_company
|
||||
medium_armor
|
||||
motorized
|
||||
engineer
|
||||
light_tank_recon
|
||||
anti_air
|
||||
artillery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
armor_infantry_dingzhen_default = {
|
||||
available_for = {
|
||||
CHY
|
||||
BFL
|
||||
DOH
|
||||
}
|
||||
roles = {
|
||||
armor
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
medium_armor_1 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
target_width = 22
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
artillery = 1
|
||||
anti_air= 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
medium_armor = 5
|
||||
infantry = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
logistics_company
|
||||
medium_armor
|
||||
infantry
|
||||
engineer
|
||||
light_tank_recon
|
||||
anti_air
|
||||
artillery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infantry_dingzhen_defaultL = {
|
||||
available_for = {
|
||||
CHY
|
||||
BFL
|
||||
DOH
|
||||
TIX
|
||||
SAD
|
||||
YUW
|
||||
BYG
|
||||
HUJ
|
||||
SIR
|
||||
BLI
|
||||
}
|
||||
roles = {
|
||||
infantry
|
||||
}
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
match_to_count = 0.6
|
||||
infantry_dingzhen = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
has_idea = TY_dingzhenai
|
||||
add = 100
|
||||
}
|
||||
}
|
||||
target_width = 21.0
|
||||
width_weight = 1.0
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 3000.0
|
||||
|
||||
support = {
|
||||
engineer = 1
|
||||
recon = 1
|
||||
artillery = 1
|
||||
anti_air= 1
|
||||
logistics_company = 1
|
||||
}
|
||||
|
||||
regiments = {
|
||||
infantry = 7
|
||||
artillery_brigade = 2
|
||||
}
|
||||
}
|
||||
|
||||
allowed_types = {
|
||||
engineer
|
||||
artillery
|
||||
infantry
|
||||
artillery_brigade
|
||||
recon
|
||||
anti_air
|
||||
logistics_company
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
marines_dingzhen_default = {
|
||||
available_for = {
|
||||
CHY
|
||||
BYG
|
||||
HUJ
|
||||
}
|
||||
roles = {
|
||||
marines
|
||||
}
|
||||
match_to_count = 0.55
|
||||
upgrade_prio = {
|
||||
base = 10
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
marines_armor_2 = {
|
||||
upgrade_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
production_prio = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 100
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
target_width = 42
|
||||
width_weight = 1
|
||||
column_swap_factor = 1.5
|
||||
reinforce_prio = 1
|
||||
target_template = {
|
||||
weight = 0.9
|
||||
match_value = 9000.0
|
||||
support = {
|
||||
engineer = 1
|
||||
light_tank_recon = 1
|
||||
artillery = 1
|
||||
anti_air= 1
|
||||
logistics_company = 1
|
||||
}
|
||||
regiments = {
|
||||
amphibious_medium_armor = 5
|
||||
marine = 5
|
||||
}
|
||||
}
|
||||
allowed_types = {
|
||||
engineer
|
||||
light_tank_recon
|
||||
artillery
|
||||
anti_air
|
||||
logistics_company
|
||||
amphibious_medium_armor
|
||||
marine
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# REGIMENTS:
|
||||
#infantry
|
||||
#light_armor
|
||||
#super_heavy_armor
|
||||
#modern_armor
|
||||
#heavy_armor
|
||||
#medium_armor
|
||||
#light_armor
|
||||
#anti_tank
|
||||
#cavalry
|
||||
#motorized
|
||||
#mechanized
|
||||
#marine
|
||||
#mountaineers
|
||||
#paratrooper
|
||||
#rocket_artillery
|
||||
#light_tank_destroyer
|
||||
#medium_tank_destroyer_brigade
|
||||
#heavy_tank_destroyer_brigade
|
||||
#super_heavy_tank_destroyer_brigade
|
||||
#modern_tank_destroyer_brigade
|
||||
#anti_air
|
||||
#artillery
|
||||
|
||||
# SUPPORT:
|
||||
#engineer
|
||||
#recon
|
||||
#signal_company
|
||||
#field_hospital
|
||||
#anti_tank_brigade
|
||||
#anti_air_brigade
|
||||
#artillery_brigade
|
||||
#field_hospital
|
||||
#logistics_company
|
||||
#military_police
|
||||
#light_sp_anti_air_brigade
|
||||
#light_sp_artillery_brigade
|
||||
Reference in New Issue
Block a user