2024-06-26 20:31:17
This commit is contained in:
422
src/common/ai_strategy/DH1.txt
Executable file
422
src/common/ai_strategy/DH1.txt
Executable file
@@ -0,0 +1,422 @@
|
||||
DH1_zhongnanbandao = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_completed_focus = DH1_zhongnanbandao
|
||||
}
|
||||
abort = {
|
||||
DH1 = {
|
||||
controls_state = VIN.core_states
|
||||
controls_state = BRM.core_states
|
||||
controls_state = LAO.core_states
|
||||
controls_state = SIA.core_states
|
||||
controls_state = MAL.core_states
|
||||
}
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "VIN"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "HUJ"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "YUW"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "BRM"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "LAO"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "SIA"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "MAL"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = ignore
|
||||
id = "DOH"
|
||||
value = 1000
|
||||
}
|
||||
}
|
||||
DH1_nanyacidalu = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_completed_focus = DH1_nanyacidalu
|
||||
}
|
||||
abort = {
|
||||
DH1 = {
|
||||
controls_state = RAJ.core_states
|
||||
controls_state = BAN.core_states
|
||||
controls_state = PAK.core_states
|
||||
}
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "RAJ"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "HUJ"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "BAN"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "PAK"
|
||||
value = 200
|
||||
}
|
||||
ai_strategy = {
|
||||
type = ignore
|
||||
id = "DOH"
|
||||
value = 1000
|
||||
}
|
||||
}
|
||||
DH1_xinanshibian = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_completed_focus = DH1_xinanshibian
|
||||
}
|
||||
abort = {
|
||||
has_country_flag = DH1_xinanshibian_success
|
||||
}
|
||||
ai_strategy = {
|
||||
type = front_unit_request
|
||||
tag = "DOH"
|
||||
value = 200
|
||||
}
|
||||
}
|
||||
DH1_you_should_be_prepared_for_war = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
always = yes
|
||||
}
|
||||
abort = {
|
||||
always = no
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = force_build_armies
|
||||
value = 1000
|
||||
}
|
||||
}
|
||||
|
||||
DH1_unit_production_at_week = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
num_of_military_factories < 39
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
abort = {
|
||||
num_of_military_factories > 39
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = garrison
|
||||
value = -100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = cavalry
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = paratroopers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = mountaineers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = marines
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = armor
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = infantry
|
||||
value = 1000
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = infantry
|
||||
value = 60
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = artillery
|
||||
value = 10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = armor
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = ignore_army_incompetence
|
||||
value = 10000
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = force_build_armies
|
||||
value = 100
|
||||
}
|
||||
}
|
||||
|
||||
DH1_unit_production_at_strong = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
num_of_military_factories > 40
|
||||
NOT = {
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
}
|
||||
abort = {
|
||||
num_of_military_factories < 40
|
||||
has_idea = TY_dingzhenai
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = garrison
|
||||
value = -100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = cavalry
|
||||
value = -100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = paratroopers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = mountaineers
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = marines
|
||||
value = 0
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_factor
|
||||
id = infantry
|
||||
value = 20
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio #模板倾向
|
||||
id = infantry
|
||||
value = 100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = template_prio #修改模板倾向
|
||||
id = infantry
|
||||
value = 100
|
||||
}
|
||||
ai_strategy = {
|
||||
type = role_ratio #模板倾向
|
||||
id = armor
|
||||
value = 900
|
||||
}
|
||||
ai_strategy = {
|
||||
type = template_prio #修改模板倾向
|
||||
id = armor
|
||||
value = 900
|
||||
}
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = train
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
|
||||
DH1_naval_role_ratios_historical_strong = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_dlc = "Man the Guns"
|
||||
num_of_naval_factories > 4
|
||||
}
|
||||
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bb
|
||||
value = 10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bc
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_carrier
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_submarine
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_screen
|
||||
value = 60
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_light
|
||||
value = 30
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_heavy
|
||||
value = -15
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = unit_ratio
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
|
||||
DH1_naval_role_ratios_historical_week = {
|
||||
allowed = {
|
||||
original_tag = DH1
|
||||
}
|
||||
enable = {
|
||||
has_dlc = "Man the Guns"
|
||||
num_of_naval_factories < 5
|
||||
}
|
||||
|
||||
abort_when_not_enabled = yes
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bb
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_capital_bc
|
||||
value = -100
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_carrier
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_submarine
|
||||
value = -10
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_screen
|
||||
value = 150
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_light
|
||||
value = 30
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = role_ratio
|
||||
id = naval_cruiser_heavy
|
||||
value = -15
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = unit_ratio
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
|
||||
ai_strategy = {
|
||||
type = equipment_production_min_factories
|
||||
id = convoy
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user