This commit is contained in:
100
src/common/ai_equipment/vnr_DD_cruiser.txt
Executable file
100
src/common/ai_equipment/vnr_DD_cruiser.txt
Executable file
@@ -0,0 +1,100 @@
|
||||
naval_screen_cruiser = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_screen_cruiser }
|
||||
priority = { base = 10 }
|
||||
|
||||
screen_cruiser_1936 = {
|
||||
name = vnr_sd_1936
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_light }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 500.0
|
||||
|
||||
type = vnr_ship_hull_light_3
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_medium_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_cl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_medium_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_light_medium_battery
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_cruiser_1940 = {
|
||||
name = vnr_sd_1940
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 75
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_light }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 600.0
|
||||
|
||||
type = vnr_ship_hull_light_4
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_medium_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_cl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_medium_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_light_medium_battery
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_cruiser_1944 = {
|
||||
name = vnr_sd_1944
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = advanced_ship_hull_light }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 800.0
|
||||
|
||||
type = vnr_ship_hull_light_5
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_medium_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_cl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_medium_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_light_medium_battery
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
139
src/common/ai_equipment/vnr_DD_leader.txt
Executable file
139
src/common/ai_equipment/vnr_DD_leader.txt
Executable file
@@ -0,0 +1,139 @@
|
||||
naval_screen_leader = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_screen_leader }
|
||||
priority = { base = 10 }
|
||||
|
||||
screen_leader_1924 = {
|
||||
name = vnr_dl_1924
|
||||
role_icon_index = 33
|
||||
|
||||
priority = {
|
||||
base = 1
|
||||
}
|
||||
|
||||
enable = {
|
||||
not = { has_tech = interwar_ship_hull_light } # WK-era DD has very low HP, they are not worth producing or refitting
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 500.0
|
||||
|
||||
type = vnr_ship_hull_light_2
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_leader_1936 = {
|
||||
name = vnr_dl_1936
|
||||
role_icon_index = 33
|
||||
|
||||
priority = {
|
||||
base = 1
|
||||
modifier = { factor = 10 tag = USA }
|
||||
modifier = { factor = 25 tag = FRA }
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_light }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 600.0
|
||||
|
||||
type = vnr_ship_hull_light_3
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_leader_1940 = {
|
||||
name = vnr_dl_1940
|
||||
role_icon_index = 33
|
||||
|
||||
priority = {
|
||||
base = 1
|
||||
modifier = { factor = 10 tag = USA }
|
||||
modifier = { factor = 25 tag = FRA }
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_light }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 800.0
|
||||
|
||||
type = vnr_ship_hull_light_4
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery_double
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery_double
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_leader_1944 = {
|
||||
name = vnr_dl_1944
|
||||
role_icon_index = 33
|
||||
|
||||
priority = {
|
||||
base = 1
|
||||
modifier = { factor = 10 tag = USA }
|
||||
modifier = { factor = 25 tag = FRA }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_light_5
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dl
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery_double
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery_double
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
363
src/common/ai_equipment/vnr_DD_screens.txt
Executable file
363
src/common/ai_equipment/vnr_DD_screens.txt
Executable file
@@ -0,0 +1,363 @@
|
||||
naval_screen = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_screen }
|
||||
priority = { base = 10 }
|
||||
|
||||
screen_1914 = {
|
||||
name = vnr_dd_1914
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 1
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
enable = {
|
||||
not = { has_tech = basic_ship_hull_light } # WK-era DD has very low HP, they are not worth producing or refitting
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
|
||||
type = vnr_ship_hull_light_1
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_1924 = {
|
||||
name = vnr_dd_1924
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 1
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
enable = {
|
||||
not = { has_tech = interwar_ship_hull_light } # WK-era DD has very low HP, they are not worth producing or refitting
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 3000.0
|
||||
|
||||
type = vnr_ship_hull_light_2
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_1936 = {
|
||||
name = vnr_dd_1936
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4000.0
|
||||
|
||||
type = vnr_ship_hull_light_3
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_battery_double
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_light_battery_double
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_1940 = {
|
||||
name = vnr_dd_1940
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 80
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5000.0
|
||||
|
||||
type = vnr_ship_hull_light_4
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = dp_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = dp_light_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = dp_light_battery
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = dp_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_1944 = {
|
||||
name = vnr_dd_1944
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 100
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 6500.0
|
||||
|
||||
type = vnr_ship_hull_light_5
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = dp_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = dp_light_battery
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = dp_light_battery
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = dp_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
screen_1949 = {
|
||||
name = vnr_dd_1949
|
||||
role_icon_index = 83
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 200 has_tech = modern_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 8000.0
|
||||
|
||||
type = vnr_ship_hull_light_6
|
||||
modules = {
|
||||
fixed_ship_engine_slot = light_ship_engine
|
||||
fixed_ship_battery_slot = dp_light_battery
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_role_slot = ship_hull_light_role_ddg
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_missile_aa
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_missile_1
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = dp_light_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# expert AI
|
||||
screen_1936_expert = {
|
||||
name = vnr_dd_1936_expert
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4000.0
|
||||
|
||||
type = vnr_ship_hull_light_3
|
||||
modules = {
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { light_ship_engine_3 light_ship_engine_2 light_ship_engine_1 } }
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = { upgrade > current any_of = { ship_sonar ship_mast } }
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
screen_1940_expert = {
|
||||
name = vnr_dd_1940_expert
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 80
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5000.0
|
||||
|
||||
type = vnr_ship_hull_light_4
|
||||
modules = {
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { light_ship_engine_4 light_ship_engine_3 light_ship_engine_2 light_ship_engine_1 } }
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
screen_1944_expert = {
|
||||
name = vnr_dd_1944_expert
|
||||
role_icon_index = 31
|
||||
|
||||
priority = {
|
||||
base = 100
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 6500.0
|
||||
|
||||
type = vnr_ship_hull_light_5
|
||||
modules = {
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { light_ship_engine_5 light_ship_engine_4 light_ship_engine_3 light_ship_engine_2 light_ship_engine_1 } }
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_role_slot = ship_hull_light_role_dd
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
screen_1946_expert = {
|
||||
name = vnr_dd_1946_expert
|
||||
role_icon_index = 63
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 150 has_tech = destroyer_missile_upgrade }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 7000.0
|
||||
|
||||
type = vnr_ship_hull_light_5
|
||||
modules = {
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { light_ship_engine_5 light_ship_engine_4 light_ship_engine_3 light_ship_engine_2 light_ship_engine_1 } }
|
||||
fixed_ship_battery_slot = ship_light_battery_double
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_role_slot = ship_hull_light_role_dda
|
||||
front_1_custom_slot = ship_light_battery_double
|
||||
front_2_custom_slot = ship_missile_aa
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
screen_1949_expert = {
|
||||
name = vnr_dd_1949_expert
|
||||
role_icon_index = 83
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 200 has_tech = modern_ship_hull_light }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 8000.0
|
||||
|
||||
type = vnr_ship_hull_light_6
|
||||
modules = {
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { light_ship_engine_5 light_ship_engine_4 light_ship_engine_3 light_ship_engine_2 light_ship_engine_1 } }
|
||||
fixed_ship_battery_slot = ship_missile_1
|
||||
fixed_ship_torpedo_slot = ship_torpedo
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_sonar
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_role_slot = ship_hull_light_role_ddg
|
||||
fixed_ship_extra_secondaries_slot = ship_radar_jammer
|
||||
front_1_custom_slot = ship_missile_aa
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_missile_1
|
||||
rear_1_custom_slot = ship_depth_charge
|
||||
rear_2_custom_slot = ship_depth_charge
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
78
src/common/ai_equipment/vnr_auxiliary.txt
Executable file
78
src/common/ai_equipment/vnr_auxiliary.txt
Executable file
@@ -0,0 +1,78 @@
|
||||
naval_auxiliary = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_auxiliary }
|
||||
priority = { base = 0 }
|
||||
|
||||
auxiliary_1936 = {
|
||||
name = vnr_ap_1936
|
||||
role_icon_index = 53
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_civilian_1
|
||||
modules = {
|
||||
fixed_ship_secondaries_slot = empty
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { civilian_ship_engine_2 civilian_ship_engine_1 } }
|
||||
front_1_custom_slot = fuel_tanker_silo
|
||||
mid_1_custom_slot = fuel_tanker_silo
|
||||
rear_1_custom_slot = dry_cargo_storage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auxiliary_1942_1 = {
|
||||
name = vnr_ap_1942_1
|
||||
role_icon_index = 53
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_civilian_2
|
||||
modules = {
|
||||
fixed_ship_secondaries_slot = ship_civilian_light_battery_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { civilian_ship_engine_2 civilian_ship_engine_1 } }
|
||||
front_1_custom_slot = fuel_tanker_silo
|
||||
mid_1_custom_slot = supply_hub
|
||||
rear_1_custom_slot = dry_cargo_storage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auxiliary_1942_2 = {
|
||||
name = vnr_ap_1942_2
|
||||
role_icon_index = 53
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_civilian_3
|
||||
modules = {
|
||||
fixed_ship_secondaries_slot = ship_civilian_light_battery_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { civilian_ship_engine_2 civilian_ship_engine_1 } }
|
||||
front_1_custom_slot = fuel_tanker_silo
|
||||
mid_1_custom_slot = fuel_tanker_silo
|
||||
mid_2_custom_slot = supply_hub
|
||||
rear_1_custom_slot = dry_cargo_storage
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
109
src/common/ai_equipment/vnr_battlecruisers.txt
Executable file
109
src/common/ai_equipment/vnr_battlecruisers.txt
Executable file
@@ -0,0 +1,109 @@
|
||||
naval_capital_battlecruiser = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_capital_bc }
|
||||
priority = { base = 5 }
|
||||
|
||||
battlecruiser_1936 = {
|
||||
name = vnr_bc_1936
|
||||
role_icon_index = 15
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_heavy_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = empty
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_bc_2 ship_armor_bc_1 } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_heavy_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_secondaries
|
||||
rear_1_custom_slot = ship_heavy_battery
|
||||
rear_2_custom_slot = ship_heavy_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
battlecruiser_1940 = {
|
||||
name = vnr_bc_1940
|
||||
role_icon_index = 1
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_heavy_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = empty
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_bc_3 ship_armor_bc_2 ship_armor_bc_1 } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
mid_3_custom_slot = ship_secondaries
|
||||
rear_1_custom_slot = ship_heavy_battery_triple
|
||||
rear_2_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
battlecruiser_1944 = {
|
||||
name = vnr_bc_1944
|
||||
role_icon_index = 1
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_heavy_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_5 heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_bc_4 ship_armor_bc_3 ship_armor_bc_2 ship_armor_bc_1 } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
mid_3_custom_slot = ship_secondaries
|
||||
rear_1_custom_slot = ship_heavy_battery_triple
|
||||
rear_2_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
323
src/common/ai_equipment/vnr_battleships.txt
Executable file
323
src/common/ai_equipment/vnr_battleships.txt
Executable file
@@ -0,0 +1,323 @@
|
||||
naval_capital_battleship = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_capital_bb }
|
||||
priority = { base = 10 }
|
||||
|
||||
capital_battleship_1924 = {
|
||||
name = vnr_bb_1924
|
||||
role_icon_index = 3
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = interwar_ship_hull_heavy }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
|
||||
type = vnr_ship_hull_heavy_2
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental_post_jutland ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_heavy_battery
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_heavy_battery
|
||||
rear_2_custom_slot = ship_heavy_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_battleship_1936 = {
|
||||
name = vnr_bb_1936
|
||||
role_icon_index = 3
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_heavy }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 3000.0
|
||||
|
||||
type = vnr_ship_hull_heavy_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental_post_jutland ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_heavy_battery
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_heavy_battery
|
||||
rear_2_custom_slot = ship_heavy_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_battleship_1940 = {
|
||||
name = vnr_bb_1940
|
||||
role_icon_index = 1
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_heavy }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 3500.0
|
||||
|
||||
type = vnr_ship_hull_heavy_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
mid_3_custom_slot = ship_dp_secondaries
|
||||
rear_1_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
rear_2_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
}
|
||||
}
|
||||
}
|
||||
capital_battleship_1944 = {
|
||||
name = vnr_bb_1944
|
||||
role_icon_index = 1
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = advanced_ship_hull_heavy }
|
||||
modifier = { factor = 0.1 has_global_flag = naval_tech_1945 }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5000.0
|
||||
|
||||
type = vnr_ship_hull_heavy_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_5 heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_bb_4 ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
mid_1_custom_slot = ship_dp_secondaries
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
mid_3_custom_slot = ship_dp_secondaries
|
||||
rear_1_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
rear_2_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_battleship_1946 = {
|
||||
name = vnr_bb_1946
|
||||
role_icon_index = 57
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_global_flag = naval_tech_1945 }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5500.0
|
||||
|
||||
type = vnr_ship_hull_heavy_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { any_of = { heavy_ship_engine_4_gas heavy_ship_engine_nuclear } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_bb_4 ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
mid_1_custom_slot = ship_dp_secondaries
|
||||
mid_2_custom_slot = ship_missile_1
|
||||
mid_3_custom_slot = ship_dp_secondaries
|
||||
rear_1_custom_slot = { any_of = { ship_heavy_battery_triple ship_super_heavy_battery } }
|
||||
rear_2_custom_slot = ship_missile_aa
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_battleship_shbb = {
|
||||
name = vnr_shbb_1936
|
||||
role_icon_index = 7
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 50 tag = JAP }
|
||||
modifier = { factor = 0 has_navy_size = { unit = SH_battleship size > 4 } }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2500.0
|
||||
|
||||
type = vnr_ship_hull_super_heavy_1
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_super_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_mast
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { super_heavy_ship_engine_3 super_heavy_ship_engine_2 super_heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_shbb_2 ship_armor_shbb } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade = current any_of = { ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental_post_jutland ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade = current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_super_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
mid_3_custom_slot = ship_secondaries
|
||||
rear_1_custom_slot = ship_super_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# expert AI
|
||||
capital_battleship_1936_expert = {
|
||||
name = vnr_bb_1936_expert
|
||||
role_icon_index = 3
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_heavy }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 3000.0
|
||||
|
||||
type = vnr_ship_hull_heavy_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar ship_mast } }
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade > current any_of = { ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental_post_jutland ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade > current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
capital_battleship_1940_expert = {
|
||||
name = vnr_bb_1940_expert
|
||||
role_icon_index = 1
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_heavy }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 3500.0
|
||||
|
||||
type = vnr_ship_hull_heavy_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { heavy_ship_engine_5 heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_bb_4 ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade > current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade > current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_heavy_battery_triple
|
||||
rear_2_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
capital_battleship_1944_expert = {
|
||||
name = vnr_bb_1944_expert
|
||||
role_icon_index = 1
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = advanced_ship_hull_heavy }
|
||||
modifier = { factor = 0.1 has_global_flag = naval_tech_1945 }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5000.0
|
||||
|
||||
type = vnr_ship_hull_heavy_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { heavy_ship_engine_5 heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_bb_4 ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
|
||||
fixed_ship_armor_scheme_slot = { upgrade > current any_of = { ship_scheme_all_or_nothing_armor_box ship_scheme_all_or_nothing ship_scheme_mixed ship_scheme_incremental } }
|
||||
fixed_ship_torpedo_defense_system_slot = { upgrade > current any_of = { torpedo_belt_enhanced torpedo_belt torpedo_bulge } }
|
||||
fixed_ship_extra_secondaries_slot = ship_super_heavy_weight_shell
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_anti_air
|
||||
rear_1_custom_slot = ship_heavy_battery_triple
|
||||
rear_2_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
389
src/common/ai_equipment/vnr_carriers.txt
Executable file
389
src/common/ai_equipment/vnr_carriers.txt
Executable file
@@ -0,0 +1,389 @@
|
||||
# By Pelmen, 1.10.7
|
||||
naval_carrier = {
|
||||
category = naval
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_carrier }
|
||||
priority = { base = 10 }
|
||||
|
||||
# carrier_1936 = {
|
||||
# role_icon_index = 9
|
||||
|
||||
# priority = {
|
||||
# base = 10
|
||||
# modifier = { factor = 0 has_tech = improved_ship_hull_carrier }
|
||||
# }
|
||||
|
||||
# target_variant = {
|
||||
# match_value = 1000.0
|
||||
|
||||
# type = vnr_ship_hull_carrier_1
|
||||
# modules = {
|
||||
# fixed_ship_deck_slot_1 = ship_deck_space
|
||||
# fixed_ship_deck_slot_2 = { any_of = { ship_deck_space ship_carrier_armor } }
|
||||
# fixed_ship_anti_air_slot = ship_anti_air
|
||||
# fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
# fixed_ship_secondaries_slot = ship_secondaries
|
||||
# fixed_ship_radar_slot = empty
|
||||
# front_1_custom_slot = { any_of = { ship_deck_space ship_carrier_armor } }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
carrier_conv_ca_dummy = {
|
||||
name = vnr_cv_ca
|
||||
role_icon_index = 9
|
||||
|
||||
priority = { base = 0 }
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_carrier_conversion_ca
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = carrier_ship_engine
|
||||
fixed_ship_secondaries_slot = { any_of = { ship_secondaries ship_dp_secondaries } }
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
carrier_conv_bb_dummy = {
|
||||
name = vnr_cv_bb
|
||||
role_icon_index = 9
|
||||
|
||||
priority = { base = 0 }
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_carrier_conversion_bb
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = carrier_ship_engine
|
||||
fixed_ship_secondaries_slot = { any_of = { ship_secondaries ship_dp_secondaries } }
|
||||
mid_1_custom_slot = ship_deck_space
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
carrier_1936_dummy = {
|
||||
name = vnr_cv_1936
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_carrier }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
type = vnr_ship_hull_carrier_1
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = carrier_ship_engine_2
|
||||
fixed_ship_secondaries_slot = { any_of = { ship_secondaries ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
front_1_custom_slot = ship_deck_space
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
carrier_1940 = {
|
||||
name = vnr_cv_1940
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 30
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_carrier }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_carrier_2
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = { any_of = { ship_secondaries ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
front_1_custom_slot = ship_deck_space
|
||||
front_2_custom_slot = carrier_side_lift
|
||||
mid_1_custom_slot = ship_deck_space
|
||||
mid_2_custom_slot = ship_dp_secondaries
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
carrier_1944 = {
|
||||
name = vnr_cv_1944
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = super_carriers }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_carrier_3
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = { any_of { ship_anti_air ship_missile_aa } }
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_4 carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = { any_of = { ship_secondaries ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_armor_deck
|
||||
front_1_custom_slot = ship_deck_space
|
||||
front_2_custom_slot = carrier_side_lift
|
||||
mid_1_custom_slot = ship_deck_space
|
||||
mid_2_custom_slot = ship_deck_space
|
||||
rear_1_custom_slot = ship_dp_secondaries
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
carrier_1945 = {
|
||||
name = vnr_cv_1945
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 100
|
||||
modifier = { factor = 0.5 has_global_flag = naval_tech_1946 }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
|
||||
type = vnr_ship_hull_super_carrier
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space_big
|
||||
fixed_ship_deck_slot_2 = ship_deck_space_big
|
||||
fixed_ship_anti_air_slot = { any_of { ship_anti_air ship_missile_aa } }
|
||||
fixed_ship_armor_slot = ship_carrier_armor_heavy
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_4 carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_armor_deck
|
||||
front_1_custom_slot = steam_catapult
|
||||
front_2_custom_slot = carrier_angled_deck
|
||||
mid_1_custom_slot = ship_deck_space_big
|
||||
mid_2_custom_slot = ship_deck_space_big
|
||||
rear_1_custom_slot = ship_anti_air
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
carrier_1947 = {
|
||||
name = vnr_cv_1947
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 200 has_tech = nuclear_engine_research }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
|
||||
type = vnr_ship_hull_super_carrier
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space_big
|
||||
fixed_ship_deck_slot_2 = ship_deck_space_big
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_armor_slot = ship_carrier_armor_heavy
|
||||
fixed_ship_engine_slot = carrier_ship_engine_nuclear
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = economical_nuclear_reactor_carrier
|
||||
fixed_ship_flight_deck_slot = carrier_armor_deck
|
||||
front_1_custom_slot = steam_catapult
|
||||
front_2_custom_slot = carrier_angled_deck
|
||||
mid_1_custom_slot = ship_deck_space_big
|
||||
mid_2_custom_slot = ship_deck_space_big
|
||||
rear_1_custom_slot = ship_missile_aa
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# expert AI
|
||||
carrier_1936_expert = {
|
||||
name = vnr_cv_1936_expert
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_carrier }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
type = vnr_ship_hull_carrier_1
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = carrier_ship_engine_2
|
||||
fixed_ship_secondaries_slot = { upgrade > current any_of = { ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_secondary_island
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
front_1_custom_slot = ship_deck_space
|
||||
mid_1_custom_slot = ship_deck_space
|
||||
}
|
||||
}
|
||||
}
|
||||
carrier_1940_expert = {
|
||||
name = vnr_cv_1940_expert
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_carrier }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 3000.0
|
||||
|
||||
type = vnr_ship_hull_carrier_2
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = { upgrade > current any_of = { ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_secondary_island
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
front_1_custom_slot = ship_deck_space
|
||||
front_2_custom_slot = carrier_side_lift
|
||||
mid_1_custom_slot = ship_deck_space
|
||||
mid_2_custom_slot = ship_deck_space
|
||||
}
|
||||
}
|
||||
}
|
||||
carrier_1944_expert = {
|
||||
name = vnr_cv_1944_expert
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = super_carriers }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5500.0
|
||||
|
||||
type = vnr_ship_hull_carrier_3
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = { any_of { ship_anti_air ship_missile_aa } }
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_4 carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = { upgrade > current any_of = { ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_secondary_island
|
||||
fixed_ship_flight_deck_slot = carrier_armor_deck
|
||||
front_1_custom_slot = ship_deck_space
|
||||
front_2_custom_slot = carrier_angled_deck
|
||||
mid_1_custom_slot = ship_deck_space
|
||||
mid_2_custom_slot = ship_deck_space
|
||||
rear_1_custom_slot = carrier_side_lift
|
||||
}
|
||||
}
|
||||
}
|
||||
carrier_1945_expert = {
|
||||
name = vnr_cv_1945_expert
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 100
|
||||
modifier = { factor = 0.5 has_global_flag = naval_tech_1946 }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 6500.0
|
||||
|
||||
type = vnr_ship_hull_super_carrier
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space_big
|
||||
fixed_ship_deck_slot_2 = ship_deck_space_big
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_armor_slot = ship_carrier_armor_heavy
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { carrier_ship_engine_4 carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = { upgrade > current any_of = { ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_secondary_island
|
||||
fixed_ship_flight_deck_slot = carrier_armor_deck
|
||||
front_1_custom_slot = carrier_angled_deck
|
||||
front_2_custom_slot = carrier_side_lift
|
||||
mid_1_custom_slot = ship_deck_space_big
|
||||
mid_2_custom_slot = ship_deck_space_big
|
||||
rear_1_custom_slot = carrier_side_lift
|
||||
}
|
||||
}
|
||||
}
|
||||
carrier_1947_expert = {
|
||||
name = vnr_cv_1947_expert
|
||||
role_icon_index = 9
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 200 has_tech = nuclear_engine_research }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 8000.0
|
||||
|
||||
type = vnr_ship_hull_super_carrier
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space_big
|
||||
fixed_ship_deck_slot_2 = ship_deck_space_big
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_armor_slot = ship_carrier_armor_heavy
|
||||
fixed_ship_engine_slot = carrier_ship_engine_nuclear
|
||||
fixed_ship_secondaries_slot = { upgrade > current any_of = { ship_dp_secondaries } }
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_secondary_island
|
||||
fixed_ship_flight_deck_slot = carrier_armor_deck
|
||||
front_1_custom_slot = carrier_angled_deck
|
||||
front_2_custom_slot = carrier_side_lift
|
||||
mid_1_custom_slot = ship_deck_space_big
|
||||
mid_2_custom_slot = ship_deck_space_big
|
||||
rear_1_custom_slot = carrier_side_lift
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
148
src/common/ai_equipment/vnr_carriers_light.txt
Executable file
148
src/common/ai_equipment/vnr_carriers_light.txt
Executable file
@@ -0,0 +1,148 @@
|
||||
naval_light_carrier = {
|
||||
category = naval
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_carrier_light }
|
||||
priority = { base = 10 }
|
||||
|
||||
# carrier_1936 = {
|
||||
# role_icon_index = 9
|
||||
|
||||
# priority = {
|
||||
# base = 10
|
||||
# modifier = { factor = 0 has_tech = improved_ship_hull_carrier }
|
||||
# }
|
||||
|
||||
# target_variant = {
|
||||
# match_value = 1000.0
|
||||
|
||||
# type = vnr_ship_hull_carrier_1
|
||||
# modules = {
|
||||
# fixed_ship_deck_slot_1 = ship_deck_space
|
||||
# fixed_ship_deck_slot_2 = { any_of = { ship_deck_space ship_carrier_armor } }
|
||||
# fixed_ship_anti_air_slot = ship_anti_air
|
||||
# fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
# fixed_ship_secondaries_slot = ship_secondaries
|
||||
# fixed_ship_radar_slot = empty
|
||||
# front_1_custom_slot = { any_of = { ship_deck_space ship_carrier_armor } }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
# carrier_conv_ca_dummy = {
|
||||
# role_icon_index = 9
|
||||
|
||||
# priority = { base = 0 }
|
||||
# target_variant = {
|
||||
# type = vnr_ship_hull_carrier_conversion_ca
|
||||
# }
|
||||
# }
|
||||
|
||||
# carrier_conv_bb_dummy = {
|
||||
# role_icon_index = 9
|
||||
|
||||
# priority = { base = 0 }
|
||||
# target_variant = {
|
||||
# type = vnr_ship_hull_carrier_conversion_bb
|
||||
# }
|
||||
# }
|
||||
|
||||
light_carrier_1936 = {
|
||||
name = vnr_cvl_1936
|
||||
role_icon_index = 11
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
target_variant = {
|
||||
match_value = 100.0
|
||||
type = vnr_ship_hull_carrier_1
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = carrier_ship_engine
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_radar_slot = { upgrade = current any_of = { carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_carrier_1940 = {
|
||||
name = vnr_cvl_1940
|
||||
role_icon_index = 11
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 300.0
|
||||
|
||||
type = vnr_ship_hull_carrier_2
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_carrier_1944 = {
|
||||
name = vnr_cvl_1944
|
||||
role_icon_index = 11
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 800.0
|
||||
|
||||
type = vnr_ship_hull_carrier_3
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space
|
||||
fixed_ship_deck_slot_2 = ship_deck_space
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { carrier_ship_engine_4 carrier_ship_engine_3 carrier_ship_engine_2 carrier_ship_engine_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_unit
|
||||
fixed_ship_carrier_miscellaneous_slot_2 = carrier_miscellaneous
|
||||
fixed_ship_flight_deck_slot = carrier_wooden_deck
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
escort_carrier_dummy = {
|
||||
name = vnr_cve_dummy
|
||||
role_icon_index = 67
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 10.0
|
||||
|
||||
type = vnr_ship_hull_escort_carrier
|
||||
modules = {
|
||||
fixed_ship_deck_slot_1 = ship_deck_space_small
|
||||
fixed_ship_deck_slot_2 = ship_deck_space_small
|
||||
fixed_ship_anti_air_slot = empty
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { civilian_ship_engine_2 civilian_ship_engine_1 } }
|
||||
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
175
src/common/ai_equipment/vnr_heavy_cruisers.txt
Executable file
175
src/common/ai_equipment/vnr_heavy_cruisers.txt
Executable file
@@ -0,0 +1,175 @@
|
||||
naval_cruiser_heavy = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_cruiser_heavy }
|
||||
priority = { base = 10 }
|
||||
|
||||
capital_cruiser_1910 = {
|
||||
name = vnr_ca_1910
|
||||
role_icon_index = 17
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 100.0
|
||||
type = vnr_ship_hull_cruiser_coastal_defense_ship
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_ca
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_1924 = {
|
||||
name = vnr_ca_1924
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { factor = 0.1 has_tech = interwar_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 500.0
|
||||
type = vnr_ship_hull_cruiser_2
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_ca
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_1932 = {
|
||||
name = vnr_ca_1932
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 800.0
|
||||
type = vnr_ship_hull_cruiser_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_ca
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_1940 = {
|
||||
name = vnr_ca_1940
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2500.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_ca
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
front_2_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_1944 = {
|
||||
name = vnr_ca_1944
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = { any_of { ship_anti_air ship_missile_aa } }
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_role_slot = { any_of = { ship_hull_cruiser_role_ca ship_hull_cruiser_role_cg } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
front_2_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
109
src/common/ai_equipment/vnr_large_cruisers.txt
Executable file
109
src/common/ai_equipment/vnr_large_cruisers.txt
Executable file
@@ -0,0 +1,109 @@
|
||||
naval_cruiser_large = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_cruiser_large }
|
||||
priority = { base = 10 }
|
||||
|
||||
capital_cruiser_1932_big = {
|
||||
name = vnr_cb_1932
|
||||
role_icon_index = 21
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 500.0
|
||||
type = vnr_ship_hull_cruiser_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_heavy_battery_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_heavy_3 ship_armor_cruiser_heavy_2 ship_armor_cruiser_heavy_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_cb
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_heavy_battery_1
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_heavy_battery_1
|
||||
rear_2_custom_slot = ship_medium_heavy_battery_1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_1940_big = {
|
||||
name = vnr_cb_1940
|
||||
role_icon_index = 21
|
||||
|
||||
priority = {
|
||||
base = 30
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_heavy_battery_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_heavy_4 ship_armor_cruiser_heavy_3 ship_armor_cruiser_heavy_2 ship_armor_cruiser_heavy_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_cb
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_heavy_battery_1
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_heavy_battery_1
|
||||
rear_2_custom_slot = ship_medium_heavy_battery_1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_1944_big = {
|
||||
name = vnr_cb_1944
|
||||
role_icon_index = 21
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 50 has_tech = advanced_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_heavy_battery_2
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_heavy_4 ship_armor_cruiser_heavy_3 ship_armor_cruiser_heavy_2 ship_armor_cruiser_heavy_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_cb
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_anti_air
|
||||
front_2_custom_slot = ship_medium_heavy_battery_2
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_heavy_battery_2
|
||||
rear_2_custom_slot = ship_medium_heavy_battery_2
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
308
src/common/ai_equipment/vnr_light_cruisers.txt
Executable file
308
src/common/ai_equipment/vnr_light_cruisers.txt
Executable file
@@ -0,0 +1,308 @@
|
||||
naval_cruiser_light = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_cruiser_light }
|
||||
priority = { base = 10 }
|
||||
|
||||
light_cruiser_1922_upgrade = {
|
||||
name = vnr_cl_1922
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0 has_tech = basic_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
type = vnr_ship_hull_cruiser_1
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_light_medium_battery_2
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current module = cruiser_ship_engine_1 }
|
||||
fixed_ship_radar_slot = { module = empty }
|
||||
fixed_ship_armor_slot = { upgrade = current module = ship_armor_cruiser_1 }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_c
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_light_medium_battery_2
|
||||
rear_1_custom_slot = ship_light_medium_battery_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_cruiser_1926 = {
|
||||
name = vnr_cl_1926
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = interwar_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1500.0
|
||||
type = vnr_ship_hull_cruiser_2
|
||||
modules = {
|
||||
fixed_ship_battery_slot > ship_light_medium_battery_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar ship_sonar } }
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_c
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot > ship_light_medium_battery_1
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot > ship_light_medium_battery_1
|
||||
rear_2_custom_slot > ship_light_medium_battery_1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_cruiser_1936 = {
|
||||
name = vnr_cl_1936
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
type = vnr_ship_hull_cruiser_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot > ship_light_medium_battery_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar ship_sonar } }
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_c
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot > ship_light_medium_battery_1
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot > ship_light_medium_battery_1
|
||||
rear_2_custom_slot > ship_light_medium_battery_1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_cruiser_1940 = {
|
||||
name = vnr_cl_1940
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot > ship_light_medium_battery_2
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar ship_sonar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_role_slot = { any_of = { ship_hull_cruiser_role_c ship_hull_cruiser_role_aa } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot > ship_light_medium_battery_2
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot > ship_light_medium_battery_2
|
||||
rear_2_custom_slot > ship_light_medium_battery_2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_cruiser_1944 = {
|
||||
name = vnr_cl_1944
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 100
|
||||
modifier = { add = 0.1 has_tech = modern_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 6000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot > ship_light_medium_battery_3
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar ship_sonar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_role_slot = { any_of = { ship_hull_cruiser_role_c ship_hull_cruiser_role_aa } }
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot > ship_light_medium_battery_3
|
||||
mid_1_custom_slot = ship_torpedo
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot > ship_light_medium_battery_3
|
||||
rear_2_custom_slot > ship_light_medium_battery_3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
light_cruiser_1949 = {
|
||||
name = vnr_cl_1949
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = modern_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 7000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_6
|
||||
modules = {
|
||||
fixed_ship_battery_slot = dp_ship_medium_1
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar ship_sonar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_role_slot = { any_of = { ship_hull_cruiser_role_c ship_hull_cruiser_role_aa } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
fixed_ship_extra_missile_slot = structural_aluminum
|
||||
front_1_custom_slot = ship_anti_air
|
||||
front_2_custom_slot = dp_ship_medium_1
|
||||
mid_1_custom_slot = ship_dp_secondaries
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = dp_ship_medium_1
|
||||
rear_2_custom_slot = dp_ship_medium_1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# expert AI
|
||||
light_cruiser_1936_expert = {
|
||||
name = vnr_cl_1936_expert
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
type = vnr_ship_hull_cruiser_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_light_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { upgrade > current any_of = { ship_radar ship_mast } }
|
||||
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = empty
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_c
|
||||
front_1_custom_slot = ship_light_medium_battery
|
||||
front_2_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_light_medium_battery
|
||||
mid_3_custom_slot = ship_light_medium_battery
|
||||
rear_1_custom_slot = ship_light_medium_battery
|
||||
rear_2_custom_slot = ship_light_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
light_cruiser_1940_expert = {
|
||||
name = vnr_cl_1940_expert
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_light_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { upgrade > current any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = empty
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_c
|
||||
front_1_custom_slot = ship_light_medium_battery
|
||||
front_2_custom_slot = ship_anti_air
|
||||
mid_1_custom_slot = ship_light_medium_battery
|
||||
mid_2_custom_slot = ship_light_medium_battery
|
||||
mid_3_custom_slot = ship_light_medium_battery
|
||||
rear_1_custom_slot = ship_light_medium_battery
|
||||
rear_2_custom_slot = ship_light_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
light_cruiser_1944_expert = {
|
||||
name = vnr_cl_1944_expert
|
||||
role_icon_index = 25
|
||||
|
||||
priority = {
|
||||
base = 100
|
||||
modifier = { add = 0.1 has_tech = modern_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 6000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_light_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { upgrade > current any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = empty
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_c
|
||||
front_1_custom_slot = ship_light_medium_battery
|
||||
front_2_custom_slot = ship_anti_air
|
||||
mid_1_custom_slot = ship_light_medium_battery
|
||||
mid_2_custom_slot = ship_light_medium_battery
|
||||
mid_3_custom_slot = ship_light_medium_battery
|
||||
rear_1_custom_slot = ship_light_medium_battery
|
||||
rear_2_custom_slot = ship_light_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
245
src/common/ai_equipment/vnr_medium_cruiser.txt
Executable file
245
src/common/ai_equipment/vnr_medium_cruiser.txt
Executable file
@@ -0,0 +1,245 @@
|
||||
naval_cruiser_medium = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_cruiser_medium }
|
||||
priority = { base = 10 }
|
||||
|
||||
medium_cruiser_1924 = {
|
||||
name = vnr_cam_1924
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = interwar_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 500.0
|
||||
type = vnr_ship_hull_cruiser_2
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
medium_cruiser_1932 = {
|
||||
name = vnr_cam_1932
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 800.0
|
||||
type = vnr_ship_hull_cruiser_3
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
medium_cruiser_1940 = {
|
||||
name = vnr_cam_1940
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 2500.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_4
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
front_2_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
medium_cruiser_1944 = {
|
||||
name = vnr_cam_1944
|
||||
role_icon_index = 27
|
||||
|
||||
priority = {
|
||||
base = 70
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_cruiser }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 5000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = { any_of { ship_anti_air ship_missile_aa } }
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_role_slot = { any_of = { ship_hull_cruiser_role_c ship_hull_cruiser_role_aa ship_hull_cruiser_role_cg } }
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = { any_of = { light_miscellaneous heavy_miscellaneous generic_miscellaneous } }
|
||||
front_1_custom_slot = ship_medium_battery
|
||||
front_2_custom_slot = ship_medium_battery
|
||||
mid_1_custom_slot = ship_anti_air
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_airplane_launcher
|
||||
rear_1_custom_slot = ship_medium_battery
|
||||
rear_2_custom_slot = ship_medium_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
medium_cruiser_1949 = {
|
||||
name = vnr_cam_1949
|
||||
role_icon_index = 55
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = modern_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 9000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_6
|
||||
modules = {
|
||||
fixed_ship_battery_slot = dp_light_battery
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = cruiser_ship_engine_nuclear
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_cg
|
||||
fixed_ship_secondaries_slot = ship_dp_secondaries
|
||||
fixed_ship_extra_secondaries_slot = economical_nuclear_reactor_cruiser
|
||||
fixed_ship_extra_missile_slot = full_missile_upgrade
|
||||
front_1_custom_slot = dp_light_battery
|
||||
front_2_custom_slot = ship_missile_1
|
||||
mid_1_custom_slot = ship_missile_aa
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
mid_3_custom_slot = ship_missile_1
|
||||
rear_1_custom_slot = ship_missile_1
|
||||
rear_2_custom_slot = ship_missile_aa
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# expert AI
|
||||
medium_cruiser_1946_expert = {
|
||||
name = vnr_cam_1946_expert
|
||||
role_icon_index = 55
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 80 has_tech = cruiser_missile_upgrade }
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 7000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_5
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_medium_battery
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = cruiser_ship_engine
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_armor_slot = empty
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_cg
|
||||
fixed_ship_secondaries_slot = empty
|
||||
fixed_ship_extra_secondaries_slot = ship_radar_jammer
|
||||
front_2_custom_slot = ship_missile_aa
|
||||
mid_2_custom_slot = ship_missile_1
|
||||
mid_3_custom_slot = ship_missile_1
|
||||
}
|
||||
}
|
||||
}
|
||||
medium_cruiser_1949_expert = {
|
||||
name = vnr_cam_1949_expert
|
||||
role_icon_index = 55
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = modern_ship_hull_cruiser }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 9000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_6
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_missile_1
|
||||
fixed_ship_anti_air_slot = ship_missile_aa
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = cruiser_ship_engine
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
fixed_ship_armor_slot = empty
|
||||
fixed_ship_role_slot = ship_hull_cruiser_role_cg
|
||||
fixed_ship_secondaries_slot = empty
|
||||
fixed_ship_extra_secondaries_slot = ship_radar_jammer
|
||||
fixed_ship_extra_missile_slot = ship_decoy_launcher
|
||||
mid_1_custom_slot = ship_missile_1
|
||||
mid_2_custom_slot = ship_missile_1
|
||||
mid_3_custom_slot = ship_missile_1
|
||||
rear_1_custom_slot = ship_missile_1
|
||||
rear_2_custom_slot = empty
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
95
src/common/ai_equipment/vnr_panzerschiff.txt
Executable file
95
src/common/ai_equipment/vnr_panzerschiff.txt
Executable file
@@ -0,0 +1,95 @@
|
||||
naval_cruiser_armor = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_cruiser_armor }
|
||||
priority = { base = 10 }
|
||||
|
||||
capital_cruiser_armor_1936 = {
|
||||
name = vnr_ps_1936
|
||||
role_icon_index = 21
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 500.0
|
||||
type = vnr_ship_hull_cruiser_panzerschiff
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = {
|
||||
any_of = { ship_radar }
|
||||
module = empty
|
||||
}
|
||||
fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_cruiser_2 ship_armor_cruiser_1 } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
front_1_custom_slot = ship_heavy_battery
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_1_custom_slot = ship_heavy_battery
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_armor_1940 = {
|
||||
name = vnr_ps_1940
|
||||
role_icon_index = 21
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_panzerschiff
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_cruiser_heavy_armor ship_cruiser_armor } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_2_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
capital_cruiser_armor_1944 = {
|
||||
name = vnr_ps_1944
|
||||
role_icon_index = 21
|
||||
|
||||
priority = {
|
||||
base = 0
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 1000.0
|
||||
|
||||
type = vnr_ship_hull_cruiser_panzerschiff
|
||||
modules = {
|
||||
fixed_ship_battery_slot = ship_heavy_battery_triple
|
||||
fixed_ship_anti_air_slot = ship_anti_air
|
||||
fixed_ship_fire_control_system_slot = ship_fire_control_system
|
||||
fixed_ship_engine_slot = { upgrade = current any_of = { cruiser_ship_engine_5 cruiser_ship_engine_4 cruiser_ship_engine_3 cruiser_ship_engine_2 cruiser_ship_engine_1 } }
|
||||
fixed_ship_radar_slot = { any_of = { ship_radar } }
|
||||
fixed_ship_armor_slot = { any_of = { ship_cruiser_heavy_armor ship_cruiser_armor } }
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
fixed_ship_secondaries_slot = ship_secondaries
|
||||
front_1_custom_slot = ship_heavy_battery_triple
|
||||
mid_1_custom_slot = ship_secondaries
|
||||
mid_2_custom_slot = ship_torpedo
|
||||
rear_2_custom_slot = ship_heavy_battery_triple
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
275
src/common/ai_equipment/vnr_submarines.txt
Executable file
275
src/common/ai_equipment/vnr_submarines.txt
Executable file
@@ -0,0 +1,275 @@
|
||||
naval_sub = {
|
||||
category = naval
|
||||
#available_for = {}
|
||||
#blocked_for = {}
|
||||
roles = { vnr_naval_submarine }
|
||||
priority = { base = 10 }
|
||||
|
||||
submarine_cruiser_dummy = {
|
||||
name = vnr_ss_cruiser
|
||||
role_icon_index = 37
|
||||
|
||||
priority = { base = 1 }
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_cruiser_submarine
|
||||
modules = {
|
||||
fixed_ship_engine_slot = sub_ship_engine
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_extra_secondaries_slot = submarine_miscellaneous
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
submarine_1922 = {
|
||||
name = vnr_ss_1922
|
||||
role_icon_index = 37
|
||||
|
||||
priority = {
|
||||
base = 10
|
||||
modifier = { factor = 0.1 has_tech = basic_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
|
||||
target_variant = {
|
||||
match_value = 2000.0
|
||||
type = vnr_ship_hull_submarine_1
|
||||
modules = {
|
||||
fixed_ship_engine_slot = sub_ship_engine
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_extra_secondaries_slot = submarine_miscellaneous
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
submarine_1936 = {
|
||||
name = vnr_ss_1936
|
||||
role_icon_index = 37
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4000.0
|
||||
|
||||
type = vnr_ship_hull_submarine_2
|
||||
modules = {
|
||||
fixed_ship_engine_slot = sub_ship_engine
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_extra_secondaries_slot = submarine_miscellaneous
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
submarine_1940 = {
|
||||
name = vnr_ss_1940
|
||||
role_icon_index = 37
|
||||
|
||||
priority = {
|
||||
base = 35
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4500.0
|
||||
|
||||
type = vnr_ship_hull_submarine_3
|
||||
modules = {
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
mid_2_custom_slot = ship_sub_snorkel
|
||||
fixed_ship_engine_slot = sub_ship_engine
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_extra_secondaries_slot = submarine_miscellaneous
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
submarine_1944 = {
|
||||
name = vnr_ss_1944
|
||||
role_icon_index = 37
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_submarine_4
|
||||
match_value = 5000.0
|
||||
|
||||
modules = {
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
mid_2_custom_slot = ship_sub_snorkel
|
||||
mid_3_custom_slot = sub_ship_stealth
|
||||
fixed_ship_engine_slot = sub_ship_engine
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_extra_secondaries_slot = submarine_miscellaneous
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
submarine_1947 = {
|
||||
name = vnr_ss_1947
|
||||
role_icon_index = 37
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = modern_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = yes }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_submarine_5
|
||||
match_value = 5500.0
|
||||
|
||||
modules = {
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
mid_2_custom_slot = ship_sub_snorkel
|
||||
mid_3_custom_slot = sub_ship_stealth
|
||||
fixed_ship_engine_slot = sub_ship_engine
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_extra_secondaries_slot = sub_wire_guided_torpedo
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# expert AI
|
||||
submarine_1936_expert = {
|
||||
name = vnr_ss_1936_expert
|
||||
role_icon_index = 37
|
||||
|
||||
priority = {
|
||||
base = 20
|
||||
modifier = { factor = 0.1 has_tech = improved_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4000.0
|
||||
|
||||
type = vnr_ship_hull_submarine_2
|
||||
modules = {
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { sub_ship_engine_2 sub_ship_engine_1 } }
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_extra_secondaries_slot = oxygen_generator
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
submarine_1940_expert = {
|
||||
name = vnr_ss_1940_expert
|
||||
role_icon_index = 37
|
||||
|
||||
priority = {
|
||||
base = 35
|
||||
modifier = { factor = 0.1 has_tech = advanced_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
match_value = 4500.0
|
||||
|
||||
type = vnr_ship_hull_submarine_3
|
||||
modules = {
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
mid_2_custom_slot = ship_sub_snorkel
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { sub_ship_engine_3 sub_ship_engine_2 sub_ship_engine_1 } }
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_extra_secondaries_slot = oxygen_generator
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
submarine_1944_expert = {
|
||||
name = vnr_ss_1944_expert
|
||||
role_icon_index = 37
|
||||
priority = {
|
||||
base = 50
|
||||
modifier = { factor = 0.1 has_tech = modern_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_submarine_4
|
||||
match_value = 5000.0
|
||||
|
||||
modules = {
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
mid_2_custom_slot = ship_sub_snorkel
|
||||
mid_3_custom_slot = sub_ship_stealth
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { sub_ship_engine_4 sub_ship_engine_3 sub_ship_engine_2 sub_ship_engine_1 } }
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_extra_secondaries_slot = vlf_receiver
|
||||
fixed_ship_radar_slot = ship_radar
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
submarine_1947_expert = {
|
||||
name = vnr_ss_1947_expert
|
||||
role_icon_index = 37
|
||||
priority = {
|
||||
base = 0
|
||||
modifier = { add = 100 has_tech = modern_ship_hull_submarine }
|
||||
modifier = { factor = 0 expert_ai_style = no }
|
||||
}
|
||||
|
||||
target_variant = {
|
||||
type = vnr_ship_hull_submarine_5
|
||||
match_value = 5500.0
|
||||
|
||||
modules = {
|
||||
mid_1_custom_slot = sub_ship_periscope
|
||||
mid_2_custom_slot = ship_sub_snorkel
|
||||
mid_3_custom_slot = sub_ship_stealth
|
||||
fixed_ship_engine_slot = { upgrade > current any_of = { sub_ship_engine_4 sub_ship_engine_3 sub_ship_engine_2 sub_ship_engine_1 } }
|
||||
fixed_ship_torpedo_slot = ship_torpedo_sub
|
||||
fixed_ship_armor_slot = pressure_hull
|
||||
fixed_ship_fire_control_system_slot = sub_fire_control_system
|
||||
fixed_ship_extra_secondaries_slot = vlf_receiver
|
||||
front_1_custom_slot = ship_torpedo_sub
|
||||
rear_1_custom_slot = ship_torpedo_sub
|
||||
rear_2_custom_slot = ship_torpedo_sub
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user