diff --git a/common/ai_strategies/00_default_strategy.txt b/common/ai_strategies/00_default_strategy.txt index 24dad4ad0..d987cc78f 100644 --- a/common/ai_strategies/00_default_strategy.txt +++ b/common/ai_strategies/00_default_strategy.txt @@ -1434,10 +1434,10 @@ ai_strategy_default = { # root = country # scope:military_formation = military formation combat_unit_group_weights = { - combat_unit_group_infantry = { + combat_unit_group_frontline_brigades = { value = 100 } - combat_unit_group_artillery = { + combat_unit_group_fire_support = { value = 0 if = { limit = { has_technology_researched = towed_artillery } @@ -1469,7 +1469,7 @@ ai_strategy_default = { multiply = 1.25 } } - combat_unit_group_cavalry = { + combat_unit_group_aviation = { value = 0 if = { limit = { has_technology_researched = wartime_aviation } @@ -1497,7 +1497,7 @@ ai_strategy_default = { multiply = 1.5 } } - combat_unit_group_light_ship = { + combat_unit_group_escort_ships = { value = 100 } combat_unit_group_capital_ship = { @@ -1511,7 +1511,7 @@ ai_strategy_default = { add = 10 } } - combat_unit_group_support_ship = { + combat_unit_group_submarines = { value = 0 if = { limit = { has_technology_researched = wartime_submarines } diff --git a/common/combat_unit_groups/00_combat_unit_groups.txt b/common/combat_unit_groups/00_combat_unit_groups.txt index 573191a63..6f995b7bc 100644 --- a/common/combat_unit_groups/00_combat_unit_groups.txt +++ b/common/combat_unit_groups/00_combat_unit_groups.txt @@ -2,26 +2,26 @@ # NOTE: When adding new Groups, add correspondig entry to texticons.gui # -combat_unit_group_infantry = { +combat_unit_group_frontline_brigades = { type = army default_group = yes color = hsv{ 0.99 0.7 0.9 } icon = "gfx/interface/icons/generic_icons/battalions.dds" } -combat_unit_group_artillery = { +combat_unit_group_fire_support = { type = army color = { 121 175 235 } icon = "gfx/interface/icons/generic_icons/battalions.dds" } -combat_unit_group_cavalry = { +combat_unit_group_aviation = { type = army color = { 121 175 235 } icon = "gfx/interface/icons/generic_icons/battalions.dds" } -combat_unit_group_light_ship = { +combat_unit_group_escort_ships = { type = navy default_group = yes color = { 20 50 210 } @@ -35,7 +35,7 @@ combat_unit_group_capital_ship = { icon = "gfx/interface/icons/generic_icons/flotillas.dds" } -combat_unit_group_support_ship = { +combat_unit_group_submarines = { type = navy default_group = yes color = { 20 50 210 } diff --git a/common/combat_unit_types/00_combat_unit_types.txt b/common/combat_unit_types/00_combat_unit_types.txt deleted file mode 100644 index 429a5b107..000000000 --- a/common/combat_unit_types/00_combat_unit_types.txt +++ /dev/null @@ -1,1331 +0,0 @@ -############## New Military PM's ############## -############## Frontline Units ############## - -combat_unit_type_irregular_infantry = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 10 - unit_defense_add = 15 - unit_morale_loss_add = 15 - } - - upkeep_modifier = { - goods_input_small_arms_add = 1 - } - - # scope = combat unit - upgrades = { - combat_unit_type_light_infantry - combat_unit_type_motorized_infantry - combat_unit_type_mechanized_infantry - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/irregular_infantry.dds" - } -} - -combat_unit_type_light_infantry = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 15 - unit_defense_add = 20 - unit_morale_loss_add = 10 - } - - upkeep_modifier = { - goods_input_small_arms_add = 1 - goods_input_ammunition_add = 1 - } - - unlocking_technologies = { sub_machine_guns } - - # scope = combat unit - upgrades = { - combat_unit_type_motorized_infantry - combat_unit_type_mechanized_infantry - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/light_infantry.dds" - } -} - -combat_unit_type_wartime_tanks = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 20 - unit_defense_add = 15 - unit_morale_loss_add = 8 - unit_occupation_mult = 0.1 - } - - upkeep_modifier = { - goods_input_tanks_add = 1 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 1 - } - - unlocking_technologies = { armored_warfare } - - # scope = combat unit - upgrades = { - combat_unit_type_main_battle_tanks - combat_unit_type_modern_battle_tanks - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/wartime_tank.dds" - } -} - -combat_unit_type_motorized_infantry = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 20 - unit_defense_add = 30 - unit_morale_loss_add = 8 - unit_occupation_mult = 0.1 - } - - upkeep_modifier = { - goods_input_small_arms_add = 2 - goods_input_ammunition_add = 1 - goods_input_automobiles_add = 1 - goods_input_refined_fuel_add = 1 - } - - unlocking_technologies = { motorization } - - # scope = combat unit - upgrades = { - combat_unit_type_mechanized_infantry - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/mobile_infantry.dds" - } -} - -combat_unit_type_main_battle_tanks = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 40 - unit_defense_add = 30 - unit_morale_loss_add = 5 - unit_occupation_mult = 0.1 - } - - upkeep_modifier = { - goods_input_tanks_add = 2 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 1 - } - - unlocking_technologies = { main_battle_tanks } - - # scope = combat unit - upgrades = { - combat_unit_type_modern_battle_tanks - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/main_battle_tank.dds" - } -} - -combat_unit_type_mechanized_infantry = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 40 - unit_defense_add = 60 - unit_morale_loss_add = 5 - unit_occupation_mult = 0.1 - } - - upkeep_modifier = { - goods_input_small_arms_add = 2 - goods_input_ammunition_add = 1 - # [TODO] uncomment this during Militart rework or delete - # goods_input_armored_fighting_vehicle_add = 1 - goods_input_refined_fuel_add = 1 - } - - unlocking_technologies = { armored_personnel_carriers } - - # scope = combat unit - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/mechanized_infantry.dds" - } -} - -combat_unit_type_modern_battle_tanks = { - group = combat_unit_group_infantry - - max_manpower = 1000 - - battle_modifier = { - unit_offense_add = 80 - unit_defense_add = 60 - unit_morale_loss_add = 5 - unit_occupation_mult = 0.1 - } - - upkeep_modifier = { - goods_input_tanks_add = 3 - goods_input_ammunition_add = 2 - goods_input_refined_fuel_add = 1 - } - - unlocking_technologies = { wire_guided_anti_tank_weapons } - - # scope = combat unit - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - # fallback - texture = "gfx/unit_illustrations/modern_battle_tank.dds" - } -} - -############## New Military PM's ############## -############## Combat Support ############## - -combat_unit_type_light_artillery = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_artillery_add = 1 - goods_input_ammunition_add = 1 - } - - battle_modifier = { - unit_offense_add = 25 - unit_defense_add = 15 - unit_morale_loss_add = 10 - unit_kill_rate_add = 0.15 - unit_devastation_mult = 0.1 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = -0.2 - military_formation_movement_speed_mult = -0.2 - } - - unlocking_technologies = { } - - upgrades = { - combat_unit_type_mobile_artillery - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/artillery.dds" - } -} - -combat_unit_type_mobile_artillery = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_artillery_add = 1 - goods_input_ammunition_add = 1 - goods_input_automobiles_add = 1 - } - - battle_modifier = { - unit_offense_add = 35 - unit_defense_add = 15 - unit_morale_loss_add = 8 - unit_kill_rate_add = 0.15 - unit_devastation_mult = 0.1 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = -0.1 - military_formation_movement_speed_mult = -0.1 - } - - unlocking_technologies = { towed_artillery } - - upgrades = { - combat_unit_type_self_propelled_artillery - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/artillery.dds" - } -} - -combat_unit_type_self_propelled_artillery = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_artillery_add = 2 - goods_input_ammunition_add = 1 - # [TODO] uncomment this during Militart rework or delete - # goods_input_armored_fighting_vehicle_add = 1 - } - - battle_modifier = { - unit_offense_add = 65 - unit_defense_add = 30 - unit_morale_loss_add = 6 - unit_kill_rate_add = 0.15 - unit_devastation_mult = 0.1 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = -0.1 - military_formation_movement_speed_mult = -0.1 - } - - unlocking_technologies = { gun_stabilization } - - upgrades = { - combat_unit_type_mlrs_artillery - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/self_propelled_guns.dds" - } -} - -combat_unit_type_mlrs_artillery = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_artillery_add = 3 - goods_input_ammunition_add = 2 - # [TODO] uncomment this during Militart rework or delete - # goods_input_armored_fighting_vehicle_add = 1 - } - - battle_modifier = { - unit_offense_add = 80 - unit_defense_add = 40 - unit_morale_loss_add = 4 - unit_kill_rate_add = 0.2 - unit_devastation_mult = 0.25 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = -0.1 - military_formation_movement_speed_mult = -0.1 - } - - unlocking_technologies = { rocket_propelled_artillery } - - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/self_propelled_guns.dds" - } -} - -combat_unit_type_combat_engineers = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_small_arms_add = 1 - goods_input_tools_add = 1 - goods_input_explosives_add = 2 - } - - battle_modifier = { - unit_offense_add = 25 - unit_defense_add = 30 - unit_morale_loss_add = 10 - unit_devastation_mult = 0.1 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = -0.1 - military_formation_movement_speed_mult = -0.1 - } - - unlocking_technologies = { sub_machine_guns } - - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/mobile_infantry.dds" - } -} - -combat_unit_type_armoured_reconnaissance = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - # [TODO] uncomment this during Militart rework or delete - # goods_input_armored_fighting_vehicle_add = 1 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 35 - unit_defense_add = 25 - unit_morale_loss_add = 4 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { armored_reconnaissance_vehicles } - - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/mechanized_infantry.dds" - } -} - -combat_unit_type_attack_helicopters = { - group = combat_unit_group_artillery - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 1 - goods_input_ammunition_add = 1 - goods_input_missiles_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 65 - unit_defense_add = 35 - unit_morale_loss_add = 4 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { army_helicopters } - - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/modern_jet.dds" - } -} - -############## New Military PM's ############## -############## Air Support ############## - -combat_unit_type_wartime_aircraft = { - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 25 - unit_defense_add = 15 - unit_morale_loss_add = 10 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { wartime_aviation } - - upgrades = { - combat_unit_type_jet_bombers - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/prop_aircraft.dds" - } -} - -combat_unit_type_fighter_jet = { - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 1 - goods_input_missiles_add = 1 - goods_input_refined_fuel_add = 2 - } - - battle_modifier = { - unit_offense_add = 15 - unit_defense_add = 45 - unit_morale_loss_add = 8 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { early_military_jets } - - upgrades = { - combat_unit_type_strike_fighter - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/early_jet.dds" - } -} - -combat_unit_type_jet_bombers = { - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 1 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 2 - - } - - battle_modifier = { - unit_offense_add = 35 - unit_defense_add = 15 - unit_morale_loss_add = 8 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { early_military_jets } - - upgrades = { - combat_unit_type_attack_aircraft - combat_unit_type_fighter_jet - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/early_jet.dds" - } -} - -combat_unit_type_strike_fighter = { - - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 2 - - goods_input_missiles_add = 1 - goods_input_refined_fuel_add = 2 - } - - battle_modifier = { - - unit_offense_add = 30 - unit_defense_add = 75 - unit_morale_loss_add = 8 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - - unlocking_technologies = { air_to_air_missiles } - - upgrades = { - - combat_unit_type_fighter_bomber - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/modern_jet.dds" - } -} - - -combat_unit_type_attack_aircraft = { - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 2 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 2 - } - - battle_modifier = { - unit_offense_add = 65 - unit_defense_add = 30 - unit_morale_loss_add = 8 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { guidance_systems } - - upgrades = { - combat_unit_type_fighter_bomber - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/modern_jet.dds" - } -} - -combat_unit_type_fighter_bomber = { - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 2 - goods_input_missiles_add = 2 - goods_input_refined_fuel_add = 2 - - } - - battle_modifier = { - unit_offense_add = 65 - unit_defense_add = 65 - unit_morale_loss_add = 4 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { multi_role_aircraft } - - upgrades = { - combat_unit_type_stealth_multi_role_aircraft - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/advanced_jets.dds" - } -} - - -combat_unit_type_stealth_multi_role_aircraft = { - group = combat_unit_group_cavalry - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_military_aircraft_add = 3 - goods_input_missiles_add = 2 - goods_input_refined_fuel_add = 2 - } - - battle_modifier = { - unit_offense_add = 85 - unit_defense_add = 85 - unit_morale_loss_add = 4 - } - - formation_modifier = { - military_formation_mobilization_speed_mult = 0.1 - military_formation_movement_speed_mult = 0.1 - } - - unlocking_technologies = { all_aspects_stealth } - - upgrades = { - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/stealth_aircraft.dds" - } -} - -############## New Naval PM's ############## -############## Screen Ships ############## - -combat_unit_type_wartime_escorts = { - group = combat_unit_group_light_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 1 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 10 - unit_defense_add = 15 - unit_morale_loss_add = 10 - } - - unlocking_technologies = { hydrophones } - - upgrades = { - combat_unit_type_modernised_escorts - - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/early_escorts.dds" - } -} - - -combat_unit_type_modernised_escorts = { - group = combat_unit_group_light_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 1 - goods_input_ammunition_add = 2 - goods_input_electronics_add = 0.5 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - - unit_offense_add = 20 - unit_defense_add = 30 - unit_morale_loss_add = 8 - } - - unlocking_technologies = { anti_submarine_rockets } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - - texture = "gfx/unit_illustrations/early_escorts.dds" - } -} - -combat_unit_type_command_cruiser = { - group = combat_unit_group_light_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 3 - goods_input_ammunition_add = 2 - goods_input_electronics_add = 0.2 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - - unit_offense_add = 55 - unit_defense_add = 45 - unit_morale_loss_add = 8 - } - - unlocking_technologies = { machine_operated_ci3 } - - upgrades = { - combat_unit_type_guided_missile_cruiser - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/cruiser.dds" - } -} - - -combat_unit_type_guided_missile_destroyer = { - group = combat_unit_group_light_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 2 - goods_input_missiles_add = 1 - goods_input_electronics_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - - unit_offense_add = 50 - unit_defense_add = 35 - unit_morale_loss_add = 6 - } - - unlocking_technologies = { naval_guided_missiles } - - upgrades = { - - combat_unit_type_modern_guided_missile_destroyer - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/missile_destroyer.dds" - } -} - -combat_unit_type_guided_missile_cruiser = { - group = combat_unit_group_light_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 3 - goods_input_missiles_add = 2 - goods_input_electronics_add = 2 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 80 - unit_defense_add = 65 - unit_morale_loss_add = 6 - } - - unlocking_technologies = { naval_guided_missiles } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - - texture = "gfx/unit_illustrations/missile_destroyer.dds" - } -} - -combat_unit_type_modern_guided_missile_destroyer = { - group = combat_unit_group_light_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 2 - goods_input_missiles_add = 2 - goods_input_electronics_add = 2 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 75 - unit_defense_add = 55 - unit_morale_loss_add = 4 - } - - unlocking_technologies = { close_in_weapons_systems } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/modern_destroyer.dds" - } -} - -############## New Naval PM's ############## -############## Capital Ships ############## - -combat_unit_type_battleship = { - group = combat_unit_group_capital_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 4 - goods_input_ammunition_add = 2 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 45 - unit_defense_add = 45 - unit_morale_loss_add = 10 - } - - unlocking_technologies = { pre_war_naval_tech } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/battleship.dds" - } -} - -combat_unit_type_wartime_aircraft_carrier = { - group = combat_unit_group_capital_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 4 - goods_input_ammunition_add = 1 - goods_input_military_aircraft_add = 1 - goods_input_refined_fuel_add = 2 - } - - battle_modifier = { - unit_offense_add = 55 - unit_defense_add = 55 - unit_morale_loss_add = 10 - } - - unlocking_technologies = { aircraft_carriers_tech } - - upgrades = { - combat_unit_type_modernised_aircraft_carrier - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/wartime_carrier.dds" - } -} - -combat_unit_type_modernised_aircraft_carrier = { - group = combat_unit_group_capital_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 4 - goods_input_missiles_add = 1 - goods_input_electronics_add = 1 - goods_input_military_aircraft_add = 2 - goods_input_refined_fuel_add = 2 - } - - battle_modifier = { - unit_offense_add = 75 - unit_defense_add = 75 - unit_morale_loss_add = 8 - } - - unlocking_technologies = { angled_flight_decks } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/wartime_carrier.dds" - } -} - -combat_unit_type_supercarrier = { - group = combat_unit_group_capital_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 5 - goods_input_missiles_add = 2 - goods_input_electronics_add = 1 - goods_input_military_aircraft_add = 3 - # [TODO] uncomment this during Militart rework or delete - # goods_input_refined_uranium_add = 1 - } - - battle_modifier = { - unit_offense_add = 120 - unit_defense_add = 120 - unit_morale_loss_add = 8 - } - - unlocking_technologies = { supercarriers } - - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/supercarrier.dds" - } -} - -combat_unit_type_helicopter_carrier = { - group = combat_unit_group_capital_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 3 - goods_input_ammunition_add = 2 - goods_input_military_aircraft_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 55 - unit_defense_add = 75 - unit_morale_loss_add = 8 - } - - unlocking_technologies = { carrier_ski_jump } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/wartime_carrier.dds" - } -} - -combat_unit_type_nuclear_battlecruiser = { - group = combat_unit_group_capital_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_surface_ships_add = 4 - goods_input_missiles_add = 3 - goods_input_electronics_add = 1 - # [TODO] uncomment this during Militart rework or delete - # goods_input_refined_uranium_add = 1 - } - - battle_modifier = { - unit_offense_add = 100 - unit_defense_add = 85 - unit_morale_loss_add = 8 - } - - unlocking_technologies = { vertical_launch_system } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/battlecruiser.dds" - } -} - -############## New Naval PM's ############## -############## Submarines ############## - -combat_unit_type_wartime_submarine = { - group = combat_unit_group_support_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_submarines_add = 1 - goods_input_ammunition_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 20 - unit_defense_add = 10 - unit_morale_loss_add = 10 - unit_convoy_raiding_mult = 0.15 - } - - unlocking_technologies = { wartime_submarines } - - upgrades = { - combat_unit_type_diesel_attack_submarine - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/early_submarine.dds" - } -} - -combat_unit_type_diesel_attack_submarine = { - group = combat_unit_group_support_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_submarines_add = 1 - goods_input_ammunition_add = 2 - goods_input_electronics_add = 1 - goods_input_refined_fuel_add = 1 - } - - battle_modifier = { - unit_offense_add = 35 - unit_defense_add = 15 - unit_morale_loss_add = 8 - unit_convoy_raiding_mult = 0.20 - - } - - unlocking_technologies = { electric_boats } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - - texture = "gfx/unit_illustrations/early_submarine.dds" - } -} - -combat_unit_type_nuclear_attack_submarine = { - group = combat_unit_group_support_ship - - max_manpower = 1000 - - - upkeep_modifier = { - goods_input_submarines_add = 2 - goods_input_ammunition_add = 2 - goods_input_electronics_add = 1 - # [TODO] uncomment this during Militart rework or delete - # goods_input_refined_uranium_add = 1 - } - - battle_modifier = { - unit_offense_add = 55 - unit_defense_add = 20 - unit_morale_loss_add = 6 - unit_convoy_raiding_mult = 0.25 - } - - unlocking_technologies = { nuclear_powered_submarines } - - upgrades = { - combat_unit_type_cruise_missile_submarine - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - texture = "gfx/unit_illustrations/modern_submarine.dds" - } -} - -combat_unit_type_cruise_missile_submarine = { - group = combat_unit_group_support_ship - - max_manpower = 1000 - - upkeep_modifier = { - goods_input_submarines_add = 3 - goods_input_missiles_add = 2 - goods_input_electronics_add = 1 - # [TODO] uncomment this during Militart rework or delete - # goods_input_refined_uranium_add = 1 - } - - battle_modifier = { - unit_offense_add = 75 - unit_defense_add = 35 - unit_morale_loss_add = 4 - unit_convoy_raiding_mult = 0.35 - } - - unlocking_technologies = { sub_launched_cruise_missiles } - - upgrades = { - #WIP - } - - # Fallback if nothing else matches - combat_unit_image = { - trigger = { - always = yes - } - - texture = "gfx/unit_illustrations/modern_submarine.dds" - } -} - diff --git a/common/combat_unit_types/00_land_combat_unit_types.txt b/common/combat_unit_types/00_land_combat_unit_types.txt new file mode 100644 index 000000000..8170388e1 --- /dev/null +++ b/common/combat_unit_types/00_land_combat_unit_types.txt @@ -0,0 +1,938 @@ +### +### Keep "unit tiers" per group in ascending order; the system will determine the default unit type for a country +### by the last defined unit type that it can build +### + +### ARMY + +### Infantry + +combat_unit_type_asymmetrical_forces = { + group = combat_unit_group_frontline_brigades + max_manpower = 1000 + + conscript_peasant_levies = yes + + battle_modifier = { + unit_offense_add = 10 + unit_defense_add = 10 + unit_morale_loss_add = 15 + } + + upkeep_modifier = { + goods_input_small_arms_add = 1 + goods_input_ammunition_add = 1 + } + + combat_unit_image = { + trigger = { + has_culture_graphics = decentralised_americas + } + texture = "gfx/unit_illustrations/infantry_decentralised_americas_irregular.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = polynesian + } + texture = "gfx/unit_illustrations/infantry_decentralised_polynesian_irregular.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/infantry_east_asian_irregular.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/infantry_south_asian_irregular.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/infantry_african_irregular.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/infantry_arabic_irregular.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/infantry_eu_irregular.dds" + } + + upgrades = { + combat_unit_type_infantry_brigade + combat_unit_type_armored_brigade + combat_unit_type_mechanized_brigade + combat_unit_type_air_mobile_brigade + combat_unit_type_tactical_brigade + } +} + +combat_unit_type_infantry_brigade = { + group = combat_unit_group_frontline_brigades + max_manpower = 1000 + + conscript_peasant_levies = yes + + upkeep_modifier = { + goods_input_small_arms_add = 2 + goods_input_ammunition_add = 1 + } + + battle_modifier = { + unit_offense_add = 20 + unit_defense_add = 25 + unit_morale_loss_add = 10 + } + + unlocking_technologies = { industrial_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/infantry_east_asian_line.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/infantry_south_asian_line.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/infantry_african_line.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/infantry_arabic_line.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/infantry_eu_line.dds" + } + + upgrades = { + combat_unit_type_armored_brigade + combat_unit_type_mechanized_brigade + combat_unit_type_air_mobile_brigade + combat_unit_type_tactical_brigade + } +} + +combat_unit_type_armored_brigade = { + group = combat_unit_group_frontline_brigades + max_manpower = 1000 + + conscript_peasant_levies = yes + + upkeep_modifier = { + goods_input_small_arms_add = 2 + goods_input_ammunition_add = 1 + goods_input_refined_fuel_add = 2 + } + + battle_modifier = { + unit_offense_add = 35 + unit_defense_add = 20 + unit_morale_loss_add = 8 + military_formation_movement_speed_mult = 0.25 + } + + unlocking_technologies = { armored_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/infantry_east_asian_skirmish.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/infantry_south_asian_skirmish.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/infantry_african_skirmish.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/infantry_arabic_skirmish.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/infantry_eu_skirmish.dds" + } + + upgrades = { + combat_unit_type_mechanized_brigade + combat_unit_type_air_mobile_brigade + combat_unit_type_tactical_brigade + } +} + +combat_unit_type_mechanized_brigade = { + group = combat_unit_group_frontline_brigades + max_manpower = 1000 + + conscript_peasant_levies = yes + + upkeep_modifier = { + goods_input_tanks_add = 1 + goods_input_small_arms_add = 2 + goods_input_ammunition_add = 1 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 25 + unit_defense_add = 30 + unit_morale_loss_add = 8 + military_formation_movement_speed_mult = 0.25 + unit_occupation_mult = 0.25 + } + + unlocking_technologies = { armored_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/infantry_east_asian_trench.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/infantry_south_asian_trench.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/infantry_african_trench.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/infantry_arabic_trench.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/infantry_eu_trench.dds" + } + + upgrades = { + combat_unit_type_air_mobile_brigade + combat_unit_type_tactical_brigade + } +} + +combat_unit_type_air_mobile_brigade = { + group = combat_unit_group_frontline_brigades + max_manpower = 1000 + + conscript_peasant_levies = yes + + upkeep_modifier = { + goods_input_military_aircraft_add = 1 + goods_input_small_arms_add = 2 + goods_input_ammunition_add = 1 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 35 + unit_defense_add = 20 + unit_morale_loss_add = 10 + military_formation_movement_speed_mult = 0.25 + unit_occupation_mult = 0.5 + } + + unlocking_technologies = { airmobile_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/infantry_east_asian_squad.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/infantry_south_asian_squad.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/infantry_african_squad.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/infantry_arabic_squad.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/infantry_eu_squad.dds" + } + + upgrades = { + combat_unit_type_tactical_brigade + } +} + +combat_unit_type_tactical_brigade = { + group = combat_unit_group_frontline_brigades + max_manpower = 1000 + + upkeep_modifier = { + goods_input_small_arms_add = 2 + goods_input_ammunition_add = 2 + goods_input_refined_fuel_add = 1 + goods_input_computers_add = 1 + goods_input_tanks_add = 1 + } + + battle_modifier = { + unit_offense_add = 25 + unit_defense_add = 35 + unit_morale_loss_add = 6 + } + + unlocking_technologies = { fourth_generation_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/infantry_east_asian_mechanized.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/infantry_south_asian_mechanized.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/infantry_african_mechanized.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/infantry_arabic_mechanized.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/infantry_eu_mechanized.dds" + } +} + +### Artillery + +combat_unit_type_wartime_artillery = { + group = combat_unit_group_fire_support + max_manpower = 1000 + + upkeep_modifier = { + goods_input_artillery_add = 1 + goods_input_ammunition_add = 2 + } + + battle_modifier = { + unit_offense_add = 25 + unit_defense_add = 15 + unit_morale_loss_add = 10 + unit_kill_rate_add = 0.1 + unit_devastation_mult = 0.15 + military_formation_movement_speed_mult = -0.2 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = -0.2 + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { industrial_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/artillery_east_asian_cannon.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/artillery_south_asian_cannon.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/artillery_african_cannon.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/artillery_arabic_cannon.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/artillery_eu_cannon.dds" + } + + upgrades = { + combat_unit_type_self_propelled_guns + combat_unit_type_rocket_artillery + combat_unit_type_airmobile_howitzers + } +} + +combat_unit_type_self_propelled_guns = { + group = combat_unit_group_fire_support + max_manpower = 1000 + + upkeep_modifier = { + goods_input_artillery_add = 1 + goods_input_tanks_add = 1 + goods_input_ammunition_add = 2 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 30 + unit_defense_add = 15 + unit_morale_loss_add = 8 + unit_kill_rate_add = 0.1 + unit_devastation_mult = 0.1 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = -0.2 + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { mobile_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/artillery_east_asian_mobile.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/artillery_south_asian_mobile.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/artillery_african_mobile.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/artillery_arabic_mobile.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/artillery_eu_mobile.dds" + } + + upgrades = { + combat_unit_type_rocket_artillery + combat_unit_type_airmobile_howitzers + } +} + +combat_unit_type_rocket_artillery = { + group = combat_unit_group_fire_support + max_manpower = 1000 + + upkeep_modifier = { + goods_input_artillery_add = 2 + goods_input_ammunition_add = 3 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 40 + unit_defense_add = 15 + unit_morale_loss_add = 8 + unit_kill_rate_add = 0.3 + unit_devastation_mult = 0.25 + unit_morale_damage_mult = 0.15 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = -0.2 + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { rocketry } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/artillery_east_asian_shrapnel.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/artillery_south_asian_shrapnel.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/artillery_african_shrapnel.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/artillery_arabic_shrapnel.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/artillery_eu_shrapnel.dds" + } + + upgrades = { + combat_unit_type_airmobile_howitzers + } +} + +combat_unit_type_airmobile_howitzers = { + group = combat_unit_group_fire_support + max_manpower = 1000 + + upkeep_modifier = { + goods_input_artillery_add = 1 + goods_input_ammunition_add = 2 + goods_input_military_aircraft_add = 1 + } + + battle_modifier = { + unit_offense_add = 35 + unit_defense_add = 20 + unit_morale_loss_add = 6 + unit_kill_rate_add = 0.1 + unit_devastation_mult = 0.1 + military_formation_movement_speed_mult = 0.2 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = -0.2 + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { airmobile_warfare } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/artillery_east_asian_siege.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/artillery_south_asian_siege.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/artillery_african_siege.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/artillery_arabic_siege.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/artillery_eu_siege.dds" + } +} + +combat_unit_type_tbm_launchers = { + group = combat_unit_group_fire_support + max_manpower = 1000 + + upkeep_modifier = { + goods_input_military_aircraft_add = 1 + goods_input_ammunition_add = 2 + goods_input_missiles_add = 1 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 70 + unit_defense_add = 35 + unit_morale_loss_add = 4 + unit_kill_rate_add = 0.25 + unit_morale_damage_mult = 0.15 + unit_devastation_mult = 0.2 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = -0.2 + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { tactical_ballistic_weapons } + + combat_unit_image = { + texture = "gfx/unit_illustrations/artillery_heavy_tank.dds" + } +} + +### Cavalry + +combat_unit_type_wartime_aircraft = { + group = combat_unit_group_aviation + max_manpower = 1000 + + upkeep_modifier = { + goods_input_military_aircraft_add = 1 + goods_input_ammunition_add = 1 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 15 + unit_defense_add = 10 + unit_morale_loss_add = 10 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = 0.25 + military_formation_movement_speed_mult = 0.25 + } + + unlocking_technologies = { military_aviation } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/cavalry_east_asian_hussar.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/cavalry_south_asian_hussar.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/cavalry_african_hussar.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/cavalry_arabic_hussar.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/cavalry_eu_hussar.dds" + } + + upgrades = { + combat_unit_type_air_superiority_fighters + combat_unit_type_tactical_bombers + combat_unit_type_fighter_bombers + } +} + +combat_unit_type_air_superiority_fighters = { + group = combat_unit_group_aviation + max_manpower = 1000 + + upkeep_modifier = { + goods_input_military_aircraft_add = 2 + goods_input_ammunition_add = 2 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 15 + unit_defense_add = 30 + unit_morale_loss_add = 10 + unit_morale_damage_mult = 0.05 + } + + unlocking_technologies = { jet_engine } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/cavalry_east_asian_dragoon.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/cavalry_south_asian_dragoon.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/cavalry_african_dragoon.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/cavalry_arabic_dragoon.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/cavalry_eu_dragoon.dds" + } + + upgrades = { + combat_unit_type_tactical_bombers + combat_unit_type_fighter_bombers + } +} + +combat_unit_type_tactical_bombers = { + group = combat_unit_group_aviation + max_manpower = 1000 + + upkeep_modifier = { + goods_input_military_aircraft_add = 2 + goods_input_ammunition_add = 3 + goods_input_refined_fuel_add = 1 + } + + battle_modifier = { + unit_offense_add = 30 + unit_defense_add = 10 + unit_morale_loss_add = 10 + unit_devastation_mult = 0.1 + unit_kill_rate_add = 0.15 + } + + unlocking_technologies = { heavy_jet_engines } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/cavalry_east_asian_cuirassier.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/cavalry_south_asian_cuirassier.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/cavalry_african_cuirassier.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/cavalry_arabic_cuirassier.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/cavalry_eu_cuirassier.dds" + } + + upgrades = { + combat_unit_type_air_superiority_fighters + combat_unit_type_fighter_bombers + } +} + +combat_unit_type_fighter_bombers = { + group = combat_unit_group_aviation + max_manpower = 1000 + + upkeep_modifier = { + goods_input_military_aircraft_add = 3 + goods_input_missiles_add = 1 + goods_input_refined_fuel_add = 2 + } + + battle_modifier = { + unit_offense_add = 35 + unit_defense_add = 35 + unit_morale_loss_add = 8 + unit_kill_rate_add = 0.15 + unit_morale_damage_mult = 0.1 + } + + unlocking_technologies = { multi_role_jets } + + combat_unit_image = { + trigger = { + has_culture_graphics = east_asian + } + texture = "gfx/unit_illustrations/cavalry_east_asian_lancer.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = south_asian + } + texture = "gfx/unit_illustrations/cavalry_south_asian_lancer.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = african + } + texture = "gfx/unit_illustrations/cavalry_african_lancer.dds" + } + + combat_unit_image = { + trigger = { + has_culture_graphics = arabic + } + texture = "gfx/unit_illustrations/cavalry_arabic_lancer.dds" + } + + combat_unit_image = { + # fallback + texture = "gfx/unit_illustrations/cavalry_eu_lancer.dds" + } + + upgrades = { + combat_unit_type_air_superiority_fighters + combat_unit_type_tactical_bombers + } +} + +combat_unit_type_stealth_aircraft = { + group = combat_unit_group_aviation + max_manpower = 1000 + + upkeep_modifier = { + goods_input_military_aircraft_add = 4 + goods_input_missiles_add = 2 + goods_input_computers_add = 1 + goods_input_refined_fuel_add = 2 + } + + battle_modifier = { + unit_offense_add = 50 + unit_defense_add = 50 + unit_morale_loss_add = 6 + unit_kill_rate_add = 0.1 + unit_morale_damage_mult = 0.15 + } + + formation_modifier = { + military_formation_mobilization_speed_mult = 0.2 + } + + unlocking_technologies = { stealth_aircraft } + + combat_unit_image = { + texture = "gfx/unit_illustrations/cavalry_light_tank.dds" + } +} diff --git a/common/combat_unit_types/01_naval_combat_unit_types.txt b/common/combat_unit_types/01_naval_combat_unit_types.txt new file mode 100644 index 000000000..4bbeb0eaa --- /dev/null +++ b/common/combat_unit_types/01_naval_combat_unit_types.txt @@ -0,0 +1,354 @@ +### +### Keep "unit tiers" per group in ascending order; the system will determine the default unit type for a country +### by the last defined unit type that it can build +### + +### NAVY + +### Light ship group + +combat_unit_type_wartime_escort = { + group = combat_unit_group_escort_ships + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 1 + goods_input_artillery_add = 1 + } + + battle_modifier = { + unit_offense_add = 10 + unit_defense_add = 15 + unit_blockade_add = 10 + unit_morale_loss_add = 10 + } + + unlocking_technologies = { screening_vessels } + + combat_unit_image = { + texture = "gfx/unit_illustrations/light_ships_frigate.dds" + } + + upgrades = { + combat_unit_type_modernized_escort + } +} + +combat_unit_type_modernized_escort = { + group = combat_unit_group_escort_ships + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 1 + goods_input_artillery_add = 1 + goods_input_ammunition_add = 1 + } + + battle_modifier = { + unit_offense_add = 20 + unit_defense_add = 35 + unit_blockade_add = 20 + unit_morale_loss_add = 8 + unit_convoy_defense_mult = 0.20 + } + + formation_modifier = { + military_formation_movement_speed_mult = 0.2 + } + + unlocking_technologies = { anti_submarine_rockets } + + combat_unit_image = { + texture = "gfx/unit_illustrations/capital_ships_monitor.dds" + } + + upgrades = { + combat_unit_type_guided_missile_destroyer + combat_unit_type_guided_missile_corvette + } +} + +combat_unit_type_guided_missile_destroyer = { + group = combat_unit_group_escort_ships + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 2 + goods_input_missiles_add = 2 + goods_input_artillery_add = 1 + } + + battle_modifier = { + unit_offense_add = 30 + unit_defense_add = 40 + unit_blockade_add = 30 + unit_morale_loss_add = 6 + unit_convoy_defense_mult = 0.35 + } + + formation_modifier = { + military_formation_movement_speed_mult = 0.2 + } + + unlocking_technologies = { anti_ship_missile } + combat_unit_image = { + texture = "gfx/unit_illustrations/light_ships_destroyer.dds" + } + + upgrades = { + combat_unit_type_guided_missile_cruiser + } +} + +combat_unit_type_guided_missile_corvette = { + group = combat_unit_group_escort_ships + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 2 + goods_input_missiles_add = 2 + goods_input_ammunition_add = 2 + } + + battle_modifier = { + unit_offense_add = 40 + unit_defense_add = 30 + unit_blockade_add = 30 + unit_morale_loss_add = 8 + unit_convoy_raiding_mult = 0.25 + } + + formation_modifier = { + military_formation_movement_speed_mult = 0.2 + } + + unlocking_technologies = { surface_raiders } + + combat_unit_image = { + texture = "gfx/unit_illustrations/light_ships_torpedo_boat.dds" + } + + upgrades = { + combat_unit_type_guided_missile_cruiser + } +} + +combat_unit_type_guided_missile_cruiser = { + group = combat_unit_group_escort_ships + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 3 + goods_input_missiles_add = 3 + goods_input_computers_add = 1 + } + + battle_modifier = { + unit_offense_add = 50 + unit_defense_add = 50 + unit_blockade_add = 40 + unit_morale_loss_add = 6 + unit_convoy_raiding_mult = 0.25 + unit_convoy_defense_mult = 0.25 + } + + formation_modifier = { + military_formation_movement_speed_mult = 0.2 + } + + unlocking_technologies = { integrated_air_defense } + + combat_unit_image = { + texture = "gfx/unit_illustrations/light_ships_scout_cruiser.dds" + } +} + +### Flagship group + +combat_unit_type_battleship = { + group = combat_unit_group_capital_ship + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 4 + goods_input_artillery_add = 2 + goods_input_ammunition_add = 2 + } + + battle_modifier = { + unit_offense_add = 25 + unit_defense_add = 25 + unit_blockade_add = 100 + unit_morale_loss_add = 10 + unit_convoy_raiding_mult = 0.5 + } + + unlocking_technologies = { naval_warfare } + + combat_unit_image = { + texture = "gfx/unit_illustrations/capital_ships_manowar.dds" + } + + upgrades = { + combat_unit_type_aircraft_carrier + } +} + +combat_unit_type_aircraft_carrier = { + group = combat_unit_group_capital_ship + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 4 + goods_input_military_aircraft_add = 2 + goods_input_ammunition_add = 2 + } + + battle_modifier = { + unit_offense_add = 60 + unit_defense_add = 60 + unit_blockade_add = 200 + unit_morale_loss_add = 8 + unit_convoy_raiding_mult = -0.5 + military_formation_movement_speed_mult = -0.2 + } + + formation_modifier = { + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { naval_aviation } + + combat_unit_image = { + texture = "gfx/unit_illustrations/capital_ships_ironclad.dds" + } + + upgrades = { + combat_unit_type_nuclear_supercarrier + } +} + +combat_unit_type_nuclear_supercarrier = { + group = combat_unit_group_capital_ship + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 5 + goods_input_military_aircraft_add = 3 + goods_input_missiles_add = 2 + goods_input_uranium_add = 1 + } + + battle_modifier = { + unit_offense_add = 120 + unit_defense_add = 120 + unit_blockade_add = 400 + unit_morale_loss_add = 6 + unit_convoy_raiding_mult = -0.5 + military_formation_movement_speed_mult = -0.2 + } + + formation_modifier = { + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { marine_reactor } + + combat_unit_image = { + texture = "gfx/unit_illustrations/capital_ships_dreadnought.dds" + } + + upgrades = { + combat_unit_type_modern_aircraft_carrier + } +} + +combat_unit_type_modern_aircraft_carrier = { + group = combat_unit_group_capital_ship + max_manpower = 1000 + + upkeep_modifier = { + goods_input_surface_ships_add = 4 + goods_input_military_aircraft_add = 3 + goods_input_missiles_add = 3 + goods_input_computers_add = 1 + } + + battle_modifier = { + unit_offense_add = 160 + unit_defense_add = 160 + unit_blockade_add = 400 + unit_morale_loss_add = 6 + unit_convoy_raiding_mult = -0.5 + military_formation_movement_speed_mult = -0.2 + } + + formation_modifier = { + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { modern_aircraft_carriers } + + combat_unit_image = { + texture = "gfx/unit_illustrations/capital_ships_battleship.dds" + } +} + +### Support Ship group + +combat_unit_type_diesel_submarine = { + group = combat_unit_group_submarines + max_manpower = 1000 + + upkeep_modifier = { + goods_input_submarines_add = 1 + goods_input_ammunition_add = 2 + } + + battle_modifier = { + unit_offense_add = 60 + unit_defense_add = 20 + unit_blockade_add = 10 + unit_morale_loss_add = 8 + unit_convoy_raiding_mult = 0.5 + } + + formation_modifier = { + military_formation_movement_speed_mult = 0.2 + } + + unlocking_technologies = { submarines } + + combat_unit_image = { + texture = "gfx/unit_illustrations/support_ships_submarine.dds" + } +} + +combat_unit_type_nuclear_submarine = { + group = combat_unit_group_submarines + max_manpower = 1000 + + upkeep_modifier = { + goods_input_submarines_add = 2 + goods_input_missiles_add = 2 + goods_input_uranium_add = 1 + } + + battle_modifier = { + unit_offense_add = 80 + unit_defense_add = 30 + unit_blockade_add = 10 + unit_morale_loss_add = 6 + unit_convoy_raiding_mult = 1 + } + + formation_modifier = { + military_formation_movement_speed_mult = -0.2 + } + + unlocking_technologies = { marine_reactor } + + combat_unit_image = { + texture = "gfx/unit_illustrations/support_ships_submarine.dds" + } +} diff --git a/common/commander_orders/00_advance.txt b/common/commander_orders/00_advance.txt index 259d8d24c..dc271d3f1 100755 --- a/common/commander_orders/00_advance.txt +++ b/common/commander_orders/00_advance.txt @@ -161,7 +161,7 @@ advance_heavy_barrage = { } commander_military_formation ?= { formation_army_unit_type_fraction = { - target = unit_type:combat_unit_type_mobile_artillery + target = unit_type:combat_unit_type_self_propelled_guns value >= 0.2 } } diff --git a/common/commander_orders/00_defend.txt b/common/commander_orders/00_defend.txt index 6682b910f..0365b4c0c 100755 --- a/common/commander_orders/00_defend.txt +++ b/common/commander_orders/00_defend.txt @@ -202,7 +202,7 @@ defend_guerilla_warfare = { OR = { commander_military_formation ?= { formation_army_unit_type_fraction = { - target = unit_type:combat_unit_type_irregular_infantry + target = unit_type:combat_unit_type_asymmetrical_forces value >= 0.8 } } @@ -220,7 +220,7 @@ defend_guerilla_warfare = { } commander_military_formation ?= { formation_army_unit_type_fraction = { - target = unit_type:combat_unit_type_mechanized_infantry + target = unit_type:combat_unit_type_tactical_brigade value >= 0.8 } } diff --git a/common/history/military_formations/00_military_formations_europe.txt b/common/history/military_formations/00_military_formations_europe.txt index f429b57c4..ffb3c08ba 100644 --- a/common/history/military_formations/00_military_formations_europe.txt +++ b/common/history/military_formations/00_military_formations_europe.txt @@ -16,7 +16,7 @@ count = 5 } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_HOME_COUNTIES count = 5 } @@ -48,7 +48,7 @@ count = 5 } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_YORKSHIRE count = 5 } @@ -94,7 +94,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_MIDLANDS count = 10 } @@ -112,7 +112,7 @@ name = "Home Fleet" combat_unit = { - type = unit_type:combat_unit_type_battleship + type = unit_type:combat_unit_type_modern_aircraft_carrier state_region = s:STATE_WEST_COUNTRY count = 8 } @@ -139,7 +139,7 @@ name = "Pacific Station" combat_unit = { - type = unit_type:combat_unit_type_battleship + type = unit_type:combat_unit_type_modern_aircraft_carrier state_region = s:STATE_HOME_COUNTIES count = 2 } @@ -179,7 +179,7 @@ count = 5 } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_ILE_DE_FRANCE count = 5 } @@ -257,7 +257,7 @@ name = "French Navy" combat_unit = { - type = unit_type:combat_unit_type_battleship + type = unit_type:combat_unit_type_modern_aircraft_carrier state_region = s:STATE_AQUITAINE count = 2 } @@ -301,7 +301,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_BRYANSK count = 10 } @@ -330,7 +330,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_SMOLENSK count = 10 } @@ -359,7 +359,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_LUHANSK count = 10 } @@ -388,7 +388,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_ORSHA count = 10 } @@ -417,7 +417,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_ESTONIA count = 5 } @@ -446,7 +446,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_ASTRAKHAN count = 5 } @@ -540,7 +540,7 @@ name = "North Sea Fleet" combat_unit = { - type = unit_type:combat_unit_type_battleship + type = unit_type:combat_unit_type_modern_aircraft_carrier state_region = s:STATE_ARKHANGELSK count = 2 } diff --git a/common/history/military_formations/01_military_formations_north_america.txt b/common/history/military_formations/01_military_formations_north_america.txt index 5d043abf2..6bc5d2072 100644 --- a/common/history/military_formations/01_military_formations_north_america.txt +++ b/common/history/military_formations/01_military_formations_north_america.txt @@ -18,7 +18,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_VIRGINIAS count = 5 } @@ -48,7 +48,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_NEW_ENGLAND count = 10 } @@ -75,7 +75,7 @@ count = 15 } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_CALIFORNIA count = 15 } @@ -97,7 +97,7 @@ count = 10 } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_GEORGIA count = 5 } @@ -140,7 +140,7 @@ count = 10 } combat_unit = { - type = unit_type:combat_unit_type_mobile_artillery + type = unit_type:combat_unit_type_self_propelled_guns state_region = s:STATE_TEXAS count = 5 } @@ -184,7 +184,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_battleship + type = unit_type:combat_unit_type_modern_aircraft_carrier state_region = s:STATE_HAWAIIAN_ISLANDS count = 5 } @@ -218,7 +218,7 @@ } combat_unit = { - type = unit_type:combat_unit_type_battleship + type = unit_type:combat_unit_type_modern_aircraft_carrier state_region = s:STATE_VIRGINIAS count = 5 } diff --git a/common/history/military_formations/06_military_formations_asia.txt b/common/history/military_formations/06_military_formations_asia.txt index bbff18fb0..4585e3288 100644 --- a/common/history/military_formations/06_military_formations_asia.txt +++ b/common/history/military_formations/06_military_formations_asia.txt @@ -11,12 +11,12 @@ count = 20 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_BEIJING count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_BEIJING service_type = conscript count = 10 @@ -28,12 +28,12 @@ count = 20 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_SHANXI count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_SHANXI service_type = conscript count = 10 @@ -51,12 +51,12 @@ count = 20 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_SHANDONG count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_SHANDONG service_type = conscript count = 20 @@ -68,12 +68,12 @@ count = 15 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_JIANGSU count = 5 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_JIANGSU service_type = conscript count = 20 @@ -86,23 +86,23 @@ name = "Partisan Forces" combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_XIAN count = 15 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_XIAN service_type = conscript count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_HINGGAN count = 15 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_HINGGAN service_type = conscript count = 10 @@ -143,22 +143,22 @@ name = "N.R.A North-West" combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_QINGHAI count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_GANSU count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_TIANSHAN count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_DZUNGARIA count = 10 } @@ -169,22 +169,22 @@ name = "N.R.A South" combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_GUANGXI count = 5 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_SHAOZHOU count = 5 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_HUNAN count = 10 } combat_unit = { - type = unit_type:combat_unit_type_irregular_infantry + type = unit_type:combat_unit_type_asymmetrical_forces state_region = s:STATE_YUNNAN count = 10 } diff --git a/common/history/military_formations/99_military_formations_example.txt b/common/history/military_formations/99_military_formations_example.txt index f678cbe93..ba130aa7b 100644 --- a/common/history/military_formations/99_military_formations_example.txt +++ b/common/history/military_formations/99_military_formations_example.txt @@ -7,20 +7,20 @@ ## name = "Big_Bad_Army" ## ## combat_unit = { -## type = unit_type:combat_unit_type_skirmish_infantry +## type = unit_type:combat_unit_type_armored_brigade ## state_region = s:STATE_BURGUNDY ## count = 5 ## } ## ## combat_unit = { -## type = unit_type:combat_unit_type_skirmish_infantry +## type = unit_type:combat_unit_type_armored_brigade ## service_type = conscript ## state_region = s:STATE_BURGUNDY ## count = 5 ## } ## ## combat_unit = { -## type = unit_type:combat_unit_type_hussars +## type = unit_type:combat_unit_type_wartime_aircraft ## state_region = s:STATE_BURGUNDY ## count = 5 ## } diff --git a/common/mobilization_option_groups/00_mobilization_option_groups.txt b/common/mobilization_option_groups/00_mobilization_option_groups.txt index 822b26019..8864ecaaa 100644 --- a/common/mobilization_option_groups/00_mobilization_option_groups.txt +++ b/common/mobilization_option_groups/00_mobilization_option_groups.txt @@ -1,39 +1,29 @@ -army_supplies = { +supplies = { icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" weight = 5 } -army_rations = { +support_weapons = { icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" weight = 5 } -army_battledress = { +transport = { icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" - weight = 5 -} - -army_luxuries = { - icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" - weight = 5 -} - -army_logistics = { - icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" - weight = 5 + weight = 4 } -army_communications = { +reconnaissance = { icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" - weight = 5 + weight = 3 } -army_support_weaponry = { +special_munitions = { icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" - weight = 5 + weight = 2 } -army_medical_support = { +medic_support = { icon = "gfx/interface/icons/generic_icons/generic_concept_icon.dds" - weight = 5 + weight = 1 } diff --git a/common/mobilization_options/00_mobilization_option.txt b/common/mobilization_options/00_mobilization_option.txt index 53714ca40..f5b33ba29 100644 --- a/common/mobilization_options/00_mobilization_option.txt +++ b/common/mobilization_options/00_mobilization_option.txt @@ -1,595 +1,959 @@ -mobilization_basic_supplies = { +mobilization_option_basic_supplies = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" can_be_turned_off = { - always = no + custom_tooltip = { + text = mobilization_option_basic_supplies_can_be_turned_off_tt + always = no + } } - upkeep_modifier_unscaled = { - goods_input_small_arms_mult = 0.15 - goods_input_ammunition_mult = 0.15 - goods_input_missiles_mult = 0.15 - goods_input_consumer_electronics_mult = 0.15 - goods_input_tanks_mult = 0.15 - goods_input_military_aircraft_mult = 0.15 - goods_input_explosives_mult = 0.15 - goods_input_tools_mult = 0.15 - goods_input_electronics_mult = 0.15 - } - - unit_modifier = { - #Basic Unit + upkeep_modifier = { + goods_input_grain_add = 0.75 } - ai_weight = { - value = 1 + upkeep_modifier_unscaled = { + goods_input_small_arms_mult = 0.5 + goods_input_artillery_mult = 0.5 + goods_input_ammunition_mult = 0.5 + goods_input_refined_fuel_mult = 0.5 + goods_input_tanks_mult = 0.5 + goods_input_missiles_mult = 0.5 + goods_input_military_aircraft_mult = 0.5 } - group = army_supplies -} - -mobilization_additional_supplies = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_basic_supplies } - } - upkeep_modifier_unscaled = { - goods_input_small_arms_mult = 0.15 - goods_input_ammunition_mult = 0.15 - goods_input_missiles_mult = 0.15 - goods_input_consumer_electronics_mult = 0.15 - goods_input_tanks_mult = 0.15 - goods_input_military_aircraft_mult = 0.15 - goods_input_explosives_mult = 0.15 - goods_input_tools_mult = 0.15 - goods_input_electronics_mult = 0.15 - } - unit_modifier = { - unit_offense_mult = 0.10 - unit_defense_mult = 0.10 + # empty on purpose - this is the minimum mobilization cost } ai_weight = { value = 1 } - group = army_supplies + group = supplies } -mobilization_priority_supplies = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - unlocking_technologies = { - modernized_logistics - } +mobilization_option_extra_supplies = { + texture = "gfx/interface/icons/mobilization_options/extra_supplies.dds" + possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_additional_supplies } - } - upkeep_modifier_unscaled = { - goods_input_small_arms_mult = 0.15 - goods_input_ammunition_mult = 0.15 - goods_input_missiles_mult = 0.15 - goods_input_consumer_electronics_mult = 0.15 - goods_input_tanks_mult = 0.15 - goods_input_military_aircraft_mult = 0.15 - goods_input_explosives_mult = 0.15 - goods_input_tools_mult = 0.15 - goods_input_electronics_mult = 0.15 - } - - unit_modifier = { - unit_offense_mult = 0.10 - unit_defense_mult = 0.10 - } - ai_weight = { - value = 1 + market ?= { + mg:groceries ?= { + has_potential_supply = yes + } + } } - group = army_supplies -} + on_deactivate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_remove_supplies_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + } + } -### Army Rations -mobilization_basic_rations = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - can_be_turned_off = { - always = no - } upkeep_modifier = { - goods_input_meat_add = 0.5 - goods_input_grain_add = 0.5 + goods_input_groceries_add = 1.5 + } + upkeep_modifier_unscaled = { + goods_input_small_arms_mult = 0.25 + goods_input_artillery_mult = 0.25 + goods_input_ammunition_mult = 0.25 + goods_input_refined_fuel_mult = 0.25 + goods_input_tanks_mult = 0.25 + goods_input_missiles_mult = 0.25 + goods_input_military_aircraft_mult = 0.25 } - - unit_modifier = { + unit_modifier = { + unit_morale_loss_mult = -0.05 + unit_offense_mult = 0.1 + unit_defense_mult = 0.1 } ai_weight = { value = 1 + + if = { + limit = { + c:SPC ?= this + scope:military_formation ?= { + any_combat_unit = { + building = { + state = { + state_region = { + OR = { + this = s:STATE_ARAGON + this = s:STATE_CATALONIA + } + } + } + } + percent >= 0.2 + } + } + } + add = -1000000 + } } - group = army_rations + group = supplies } -mobilization_canned_rations = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" +mobilization_option_luxurious_supplies = { + texture = "gfx/interface/icons/mobilization_options/luxurious_supplies.dds" + possible = { - scope:military_formation = { - NOR = { - has_mobilization_option = mobilization_option:mobilization_catering_rations - has_mobilization_option = mobilization_option:mobilization_mre_rations + scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_option_extra_supplies } + market ?= { + mg:meat ?= { + has_potential_supply = yes + } + mg:wine ?= { + has_potential_supply = yes + } + } + } + + on_deactivate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_remove_supplies_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } } } } + upkeep_modifier = { - goods_input_groceries_add = 0.5 - goods_input_grain_add = -0.5 - goods_input_meat_add = -0.5 + goods_input_meat_add = 1.5 + goods_input_wine_add = 1.5 + } + upkeep_modifier_unscaled = { + goods_input_small_arms_mult = 0.25 + goods_input_artillery_mult = 0.25 + goods_input_ammunition_mult = 0.25 + goods_input_refined_fuel_mult = 0.25 + goods_input_tanks_mult = 0.25 + goods_input_missiles_mult = 0.25 + goods_input_military_aircraft_mult = 0.25 } - + unit_modifier = { unit_morale_loss_mult = -0.05 + unit_offense_mult = 0.1 + unit_defense_mult = 0.1 } ai_weight = { value = 1 } - group = army_rations + group = supplies } -mobilization_mre_rations = { +mobilization_option_recoilless_rifles = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" + unlocking_technologies = { - packaging + squad_specialist_weapons } + possible = { - scope:military_formation = { - NOR = { - has_mobilization_option = mobilization_option:mobilization_catering_rations - has_mobilization_option = mobilization_option:mobilization_canned_rations + market ?= { + mg:small_arms ?= { + has_potential_supply = yes + } + mg:ammunition ?= { + has_potential_supply = yes } } } + + on_deactivate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_remove_supplies_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + } + } + upkeep_modifier = { - goods_input_groceries_add = 0.5 - goods_input_plastics_add = 0.5 - goods_input_grain_add = -0.5 - goods_input_meat_add = -0.5 + goods_input_small_arms_add = 1 + goods_input_ammunition_add = 1 } - unit_modifier = { - unit_morale_loss_mult = -0.1 + unit_offense_add = 5 + unit_defense_add = 15 } ai_weight = { value = 1 + + if = { + limit = { + c:SPC ?= this + scope:military_formation ?= { + any_combat_unit = { + building = { + state = { + state_region = { + OR = { + this = s:STATE_ARAGON + this = s:STATE_CATALONIA + } + } + } + } + percent >= 0.2 + } + } + } + add = -1000000 + } } - group = army_rations + group = support_weapons } -mobilization_catering_rations = { +mobilization_option_atgm_deployment = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" + unlocking_technologies = { - food_scanning + guided_anti_tank_weapons } + possible = { - scope:military_formation = { - NOR = { - has_mobilization_option = mobilization_option:mobilization_mre_rations - has_mobilization_option = mobilization_option:mobilization_canned_rations + market ?= { + mg:missiles ?= { + has_potential_supply = yes + } + } + } + + on_deactivate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_remove_supplies_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } } } } + upkeep_modifier = { - goods_input_groceries_add = 1.0 - goods_input_plastics_add = 0.5 - goods_input_grain_add = -0.5 - goods_input_meat_add = -0.5 + goods_input_missiles_add = 0.5 } - unit_modifier = { - unit_morale_loss_mult = -0.15 + unit_offense_add = 5 + unit_defense_add = 15 } ai_weight = { value = 1 - } - - group = army_rations -} -### Battledress -mobilization_no_standard_dress = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - can_be_turned_off = { - always = no - } - unit_modifier = { - unit_morale_loss_mult = 0.25 - unit_recovery_rate_add = -0.20 - } - ai_weight = { - value = 1 + if = { + limit = { + c:SPC ?= this + scope:military_formation ?= { + any_combat_unit = { + building = { + state = { + state_region = { + OR = { + this = s:STATE_ARAGON + this = s:STATE_CATALONIA + } + } + } + } + percent >= 0.2 + } + } + } + add = -1000000 + } } - group = army_battledress + group = support_weapons } -mobilization_webbing_and_helmets = { +mobilization_option_manpad_deployment = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" + unlocking_technologies = { - squad_based_infantry_tactics - } - upkeep_modifier = { - goods_input_clothes_add = 0.5 - goods_input_steel_add = 0.1 + portable_anti_air_systems } - unit_modifier = { - unit_morale_loss_mult = -0.25 - unit_recovery_rate_add = 0.20 - } - ai_weight = { - value = 1 - } - - group = army_battledress -} -mobilization_flak_vests = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_webbing_and_helmets } + market ?= { + mg:missiles ?= { + has_potential_supply = yes + } + } } - unlocking_technologies = { - body_armor + + on_deactivate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_remove_supplies_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + } } + upkeep_modifier = { - goods_input_steel_add = 0.4 + goods_input_liquor_add = 0.5 } unit_modifier = { - unit_morale_loss_mult = -0.1 + unit_offense_add = 5 + unit_defense_add = 15 } ai_weight = { value = 1 + + if = { + limit = { + c:SPC ?= this + scope:military_formation ?= { + any_combat_unit = { + building = { + state = { + state_region = { + OR = { + this = s:STATE_ARAGON + this = s:STATE_CATALONIA + } + } + } + } + percent >= 0.2 + } + } + } + add = -1000000 + } } - group = army_battledress + group = support_weapons } -mobilization_ballistic_vests = { +mobilization_option_combat_drones = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_flak_vests } - } + unlocking_technologies = { - ballistic_vests - } - upkeep_modifier = { - goods_input_steel_add = -0.4 - goods_input_plastics_add = 0.5 - goods_input_high_quality_fabric_add = 0.5 - } - unit_modifier = { - unit_morale_loss_mult = -0.1 - } - ai_weight = { - value = 1 + infantry_combat_drones } - group = army_battledress -} + possible = { + market ?= { + mg:military_aircraft ?= { + has_potential_supply = yes + } + mg:ammunition ?= { + has_potential_supply = yes + } + } + } -### Luxuries + on_deactivate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_remove_supplies_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + } + } -mobilization_alchohol = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" upkeep_modifier = { - goods_input_liquor_add = 0.5 + goods_input_military_aircraft_add = 0.5 + goods_input_ammunition_add = 1 } unit_modifier = { - unit_recovery_rate_add = 0.10 + unit_offense_add = 20 + unit_defense_add = 5 } ai_weight = { value = 1 + + if = { + limit = { + c:SPC ?= this + scope:military_formation ?= { + any_combat_unit = { + building = { + state = { + state_region = { + OR = { + this = s:STATE_ARAGON + this = s:STATE_CATALONIA + } + } + } + } + percent >= 0.2 + } + } + } + add = -1000000 + } } - group = army_luxuries + group = support_weapons } -mobilization_tobacco = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - upkeep_modifier = { - goods_input_tobacco_add = 0.5 - } - unit_modifier = { - unit_recovery_rate_add = 0.10 +mobilization_option_airborne_logistics = { + texture = "gfx/interface/icons/mobilization_options/forced_march.dds" + + unlocking_technologies = { + cargo_jets } - ai_weight = { - value = 1 + + possible = { + scope:military_formation = { + NOR = { + has_mobilization_option = mobilization_option:mobilization_option_motorization + has_mobilization_option = mobilization_option:mobilization_option_rail_logistics + } + } + market ?= { + mg:military_aircraft ?= { + has_potential_supply = yes + } + mg:refined_fuel ?= { + has_potential_supply = yes + } + } } - group = army_luxuries -} + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_when_you_force_people_to_march_faster_while_in_combat_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + } + } -mobilization_chocolate = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" upkeep_modifier = { - goods_input_sugar_add = 1 + goods_input_military_aircraft_add = 2 + goods_input_refined_fuel_add = 1 } unit_modifier = { - unit_recovery_rate_add = 0.10 + military_formation_movement_speed_mult = 0.6 + military_formation_mobilization_speed_mult = 0.4 + military_formation_attrition_risk_mult = -0.2 } ai_weight = { - value = 1 + value = 0 + + if = { + limit = { + scope:military_formation = { + highest_ranked_commander ?= { + OR = { + has_trait = cruel + has_trait = reckless + has_trait = arrogant + } + } + } + } + add = 1 + } } - group = army_luxuries + group = transport } -mobilization_entertainment = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - upkeep_modifier = { - goods_input_media_add = 0.5 - goods_input_paper_add = 0.5 - } - unit_modifier = { - unit_recovery_rate_add = 0.10 +mobilization_option_motorization = { + texture = "gfx/interface/icons/mobilization_options/truck_transport.dds" + + possible = { + scope:military_formation = { + NOR = { + has_mobilization_option = mobilization_option:mobilization_option_airborne_logistics + has_mobilization_option = mobilization_option:mobilization_option_rail_logistics + } + } + market ?= { + mg:automobiles ?= { + has_potential_supply = yes + } + mg:refined_fuel ?= { + has_potential_supply = yes + } + } } - ai_weight = { - value = 1 + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } } - group = army_luxuries -} + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } -mobilization_radio_and_television = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" unlocking_technologies = { - transcontinental_television_services + mobile_warfare } upkeep_modifier = { - goods_input_consumer_electronics_add = 0.5 - goods_input_telecommunications_add = 0.5 + goods_input_automobiles_add = 0.5 + goods_input_refined_fuel_add = 0.5 } unit_modifier = { - unit_recovery_rate_add = 0.15 + military_formation_movement_speed_mult = 0.3 + military_formation_mobilization_speed_mult = 0.2 } ai_weight = { value = 1 } - group = army_luxuries + group = transport } -### Logistics +mobilization_option_rail_logistics = { + texture = "gfx/interface/icons/mobilization_options/rail_transport.dds" -mobilization_rail_logistics = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - unlocking_technologies = { - heavy_military_industry - } - upkeep_modifier = { - goods_input_engines_add = 0.5 - } - unit_modifier = { - military_formation_movement_speed_mult = 0.3 + possible = { + scope:military_formation = { + NOR = { + has_mobilization_option = mobilization_option:mobilization_option_airborne_logistics + has_mobilization_option = mobilization_option:mobilization_option_motorization + } + } + market ?= { + mg:engines ?= { + has_potential_supply = yes + } + } } - ai_weight = { - value = 1 + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } } - group = army_logistics -} + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } -mobilization_truck_logistics = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" unlocking_technologies = { - light_utility_vehicles + divisional_organization } upkeep_modifier = { - goods_input_automobiles_add = 0.5 + goods_input_engines_add = 0.5 } unit_modifier = { military_formation_movement_speed_mult = 0.2 - military_formation_mobilization_speed_mult = 0.2 } ai_weight = { value = 1 } - group = army_logistics + group = transport } -mobilization_airborne_logistics = { +mobilization_option_thermobaric_munitions = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" + + possible = { + market ?= { + mg:refined_fuel ?= { + has_potential_supply = yes + } + mg:phosphorus ?= { + has_potential_supply = yes + } + } + } + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } + + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } + unlocking_technologies = { - wide_body_aircraft + thermobarics } upkeep_modifier = { - goods_input_commercial_aircraft_add = 0.5 + goods_input_refined_fuel_add = 1 + goods_input_phosphorus_add = 1 } unit_modifier = { - military_formation_movement_speed_mult = 0.5 - military_formation_mobilization_speed_mult = 0.4 + unit_offense_add = 20 + unit_kill_rate_add = 0.5 + unit_devastation_mult = 0.5 } ai_weight = { value = 1 } - group = army_logistics + group = special_munitions } -### Communications - -mobilization_army_mail_system = { +mobilization_option_depleted_uranium_munitions = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - can_be_turned_off = { - always = no - } - unit_modifier = { - military_formation_mobilization_speed_mult = -0.2 - unit_occupation_mult = -0.15 - unit_morale_loss_mult = 0.1 + + possible = { + market ?= { + mg:uranium ?= { + has_potential_supply = yes + } + mg:ammunition ?= { + has_potential_supply = yes + } + } } - ai_weight = { - value = 1 + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } } - group = army_communications -} + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } -mobilization_military_radios = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" unlocking_technologies = { - military_radio + depleted_uranium_rounds } upkeep_modifier = { - goods_input_electronics_mult = 0.5 + goods_input_uranium_add = 0.5 + goods_input_ammunition_add = 1 } unit_modifier = { - military_formation_mobilization_speed_mult = 0.2 - unit_occupation_mult = 0.30 - unit_morale_loss_mult = -0.1 + unit_offense_add = 15 + unit_defense_add = 15 } ai_weight = { value = 1 } - group = army_communications + group = special_munitions } -mobilization_military_phone_network = { +mobilization_option_napalm = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" + possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_military_radios } + market ?= { + mg:refined_fuel ?= { + has_potential_supply = yes + } + } + } + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } + + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } } + unlocking_technologies = { - encrypted_communications + aerial_napalm } upkeep_modifier = { - goods_input_telecommunications_add = 0.5 + goods_input_refined_fuel_add = 2 } unit_modifier = { - unit_occupation_mult = 0.15 - unit_morale_loss_mult = -0.1 + unit_offense_add = 15 + unit_devastation_mult = 0.25 + unit_kill_rate_add = 0.25 } ai_weight = { value = 1 } - group = army_communications + group = special_munitions } -mobilization_command_and_control_network = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" +mobilization_option_mobile_recon = { + texture = "gfx/interface/icons/mobilization_options/motorized_reconaissance.dds" + possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_military_phone_network } + market ?= { + mg:automobiles ?= { + has_potential_supply = yes + } + mg:refined_fuel ?= { + has_potential_supply = yes + } + } } + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } + + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } + unlocking_technologies = { - command_and_control_networks + mobile_warfare } upkeep_modifier = { - goods_input_computers_add = 0.5 + goods_input_automobiles_add = 1 + goods_input_refined_fuel_add = 0.5 } unit_modifier = { - unit_occupation_mult = 0.20 - unit_morale_loss_mult = -0.15 + unit_occupation_mult = 0.5 + military_formation_movement_speed_mult = 0.3 + character_battle_condition_surprise_maneuver_mult = 0.5 } ai_weight = { value = 1 } - group = army_communications + group = reconnaissance } -### Support Weaponry - -mobilization_rocket_propelled_grenades = { +mobilization_option_helicopter_recon = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" + unlocking_technologies = { - rocket_propelled_grenades - } - upkeep_modifier = { - goods_input_small_arms_add = 0.1 - goods_input_explosives_add = 0.4 + utility_helicopters } - unit_modifier = { - unit_offense_add = 15 - unit_defense_add = 10 - } - ai_weight = { - value = 1 + + possible = { + market ?= { + mg:military_aircraft ?= { + has_potential_supply = yes + } + mg:refined_fuel ?= { + has_potential_supply = yes + } + } } - group = army_support_weaponry -} + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } -mobilization_anti_tank_guided_missiles = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - unlocking_technologies = { - wire_guided_anti_tank_weapons + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.25 + } + } } + upkeep_modifier = { - goods_input_artillery_add = 0.1 - goods_input_explosives_add = 0.4 + goods_input_military_aircraft_add = 2 + goods_input_refined_fuel_add = 0.5 } unit_modifier = { - unit_offense_add = 20 - unit_defense_add = 10 + unit_occupation_mult = 0.8 + character_battle_condition_charted_terrain_mult = 0.5 } ai_weight = { value = 1 } - group = army_support_weaponry + group = reconnaissance } -mobilization_manned_portable_air_defence = { +mobilization_option_recon_drones = { texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" - unlocking_technologies = { - man_portable_air_defense_systems - } - upkeep_modifier = { - goods_input_small_arms_add = 0.2 - goods_input_electronics_add = 0.2 - goods_input_explosives_add = 0.2 - } - unit_modifier = { - unit_offense_add = 10 - unit_defense_add = 20 - } - ai_weight = { - value = 1 + + possible = { + market ?= { + mg:military_aircraft ?= { + has_potential_supply = yes + } + mg:computers ?= { + has_potential_supply = yes + } + mg:refined_fuel ?= { + has_potential_supply = yes + } + } } - group = army_support_weaponry -} + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } -### Support Weaponry + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_when_you_adjust_equipment_tt + add_organization = { + value = organization + multiply = -0.5 + } + } + } -mobilization_first_aid = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" unlocking_technologies = { - combat_medics + recon_drones } upkeep_modifier = { - goods_input_liquor_add = 1 - goods_input_fabric_add = 2 + goods_input_military_aircraft_add = 1 + goods_input_computers_add = 1 + goods_input_refined_fuel_add = 0.5 } unit_modifier = { - unit_recovery_rate_add = 0.20 + unit_occupation_mult = 1 + character_battle_condition_rapid_advance_mult = 1 + character_battle_condition_lost_mult = -0.5 } ai_weight = { value = 1 } - group = army_medical_support + group = reconnaissance } -mobilization_field_hospitals = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" +mobilization_option_first_aid = { + + unlocking_technologies = { + divisional_organization + } possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_first_aid } + NOT = { scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_option_field_hospitals } } + market ?= { + mg:fabric ?= { + has_potential_supply = yes + } + mg:pharmaceuticals ?= { + has_potential_supply = yes + } + } } - unlocking_technologies = { - field_hospitals + texture = "gfx/interface/icons/mobilization_options/basic_medical_aid.dds" + + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_to_add_medic_support_tt + add_organization = { + value = organization + multiply = -0.25 + } + } + } + + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_and_organization_when_you_remove_medic_support_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + add_organization = { + value = organization + multiply = -0.25 + } + } } + upkeep_modifier = { - goods_input_pharmaceuticals_add = 1 - goods_input_tools_add = 0.5 + goods_input_fabric_add = 1 + goods_input_pharmaceuticals_add = 2 } unit_modifier = { unit_recovery_rate_add = 0.20 @@ -598,26 +962,61 @@ mobilization_field_hospitals = { value = 1 } - group = army_medical_support + group = medic_support } -mobilization_medevac = { - texture = "gfx/interface/icons/mobilization_options/basic_supplies.dds" +mobilization_option_field_hospitals = { + texture = "gfx/interface/icons/mobilization_options/field_hospitals.dds" + + unlocking_technologies = { + utility_helicopters + } possible = { - scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_field_hospitals } + NOT = { scope:military_formation = { has_mobilization_option = mobilization_option:mobilization_option_first_aid } } + market ?= { + mg:pharmaceuticals ?= { + has_potential_supply = yes + } + mg:tools ?= { + has_potential_supply = yes + } + } } - unlocking_technologies = { - medevac + on_activate_while_mobilized = { + custom_tooltip = { + text = mobilization_option_it_hurts_organization_to_add_medic_support_tt + add_organization = { + value = organization + multiply = -0.25 + } + } + } + + on_deactivate = { + custom_tooltip = { + text = mobilization_option_it_hurts_morale_and_organization_when_you_remove_medic_support_tt + every_combat_unit = { + add_morale = { + value = morale + multiply = -0.5 + } + } + add_organization = { + value = organization + multiply = -0.25 + } + } } upkeep_modifier = { - goods_input_commercial_aircraft_add = 0.5 + goods_input_pharmaceuticals_add = 2 + goods_input_tools_add = 1 } unit_modifier = { - unit_recovery_rate_add = 0.20 + unit_recovery_rate_add = 0.40 } ai_weight = { value = 1 } - group = army_medical_support -} \ No newline at end of file + group = medic_support +} diff --git a/common/modifier_type_definitions/_cwp_replace_unit_modifier_types.txt b/common/modifier_type_definitions/_cwp_replace_unit_modifier_types.txt index 981734b52..2659274dc 100644 --- a/common/modifier_type_definitions/_cwp_replace_unit_modifier_types.txt +++ b/common/modifier_type_definitions/_cwp_replace_unit_modifier_types.txt @@ -340,7 +340,7 @@ unit_supply_consumption_mult={ ################################################### # Unit Modifiers - Mobile Artillery -unit_combat_unit_type_mobile_artillery_offense_mult={ +unit_combat_unit_type_self_propelled_guns_offense_mult={ decimals=0 color=good percent=yes @@ -352,7 +352,7 @@ unit_combat_unit_type_mobile_artillery_offense_mult={ ################################################### # Unit Modifiers - Mechanized Infantry -unit_combat_unit_type_mechanized_infantry_offense_add={ +unit_combat_unit_type_tactical_brigade_offense_add={ decimals=0 color=good game_data={ diff --git a/common/scripted_triggers/_cwp_replace_00_gfx_route_graphics_triggers.txt b/common/scripted_triggers/_cwp_replace_00_gfx_route_graphics_triggers.txt index 9c325f27e..c7125d626 100644 --- a/common/scripted_triggers/_cwp_replace_00_gfx_route_graphics_triggers.txt +++ b/common/scripted_triggers/_cwp_replace_00_gfx_route_graphics_triggers.txt @@ -115,7 +115,7 @@ gfx_military_mobilization_culture_is_south_asian = { gfx_military_infantry_unit_is_footsoldier = { scope:military_formation = { OR = { - any_combat_unit = { has_unit_type = unit_type:combat_unit_type_irregular_infantry } + any_combat_unit = { has_unit_type = unit_type:combat_unit_type_asymmetrical_forces } any_combat_unit = { has_unit_type = unit_type:combat_unit_type_light_infantry } } } @@ -125,7 +125,7 @@ gfx_military_infantry_unit_is_mobile = { scope:military_formation = { OR = { any_combat_unit = { has_unit_type = unit_type:combat_unit_type_motorized_infantry } - any_combat_unit = { has_unit_type = unit_type:combat_unit_type_mechanized_infantry } + any_combat_unit = { has_unit_type = unit_type:combat_unit_type_tactical_brigade } } } } diff --git a/events/agitators_events/revolution_events_02.txt b/events/agitators_events/revolution_events_02.txt index 250061450..fef9f1fad 100644 --- a/events/agitators_events/revolution_events_02.txt +++ b/events/agitators_events/revolution_events_02.txt @@ -726,11 +726,11 @@ revolution_pulse_events.5 = { } OR = { country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_battleship + target = unit_type:combat_unit_type_modern_aircraft_carrier value >= 0.1 } country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_dreadnought + target = unit_type:combat_unit_type_nuclear_supercarrier value >= 0.1 } } @@ -786,11 +786,11 @@ revolution_pulse_events.5 = { commander_military_formation = { OR = { formation_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_battleship + target = unit_type:combat_unit_type_modern_aircraft_carrier value >= 0.2 } formation_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_dreadnought + target = unit_type:combat_unit_type_nuclear_supercarrier value >= 0.2 } } diff --git a/events/dreadnought_hoax.txt b/events/dreadnought_hoax.txt index 876e6dbd0..e837ee951 100644 --- a/events/dreadnought_hoax.txt +++ b/events/dreadnought_hoax.txt @@ -30,7 +30,7 @@ } } country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_battleship + target = unit_type:combat_unit_type_modern_aircraft_carrier value >= 0.1 } any_scope_pop = { diff --git a/gfx/map/army_dioramas/military_diorama_battle.txt b/gfx/map/army_dioramas/military_diorama_battle.txt index e7ca5cb68..dffa9ab12 100644 --- a/gfx/map/army_dioramas/military_diorama_battle.txt +++ b/gfx/map/army_dioramas/military_diorama_battle.txt @@ -3,12 +3,12 @@ # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 80 - combat_unit_group_artillery = 8 - combat_unit_group_cavalry = 12 + combat_unit_group_frontline_brigades = 80 + combat_unit_group_fire_support = 8 + combat_unit_group_aviation = 12 } - required_unit_types = { combat_unit_type_irregular_infantry } + required_unit_types = { combat_unit_type_asymmetrical_forces } # Distance between the center of the diorama and the frontline distance = 5 @@ -145,25 +145,25 @@ attach = { locator = irregular_ground_loc entity = "diorama_battle_irregular_ground_01_entity" } ##### FLAG ATTACHMENTS ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_10_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_10_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### attach = { locator = general_01_loc entity_group = "general" general = yes } @@ -188,12 +188,12 @@ diorama_battle_line_01 = { # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 72 - combat_unit_group_artillery = 8 - combat_unit_group_cavalry = 20 + combat_unit_group_frontline_brigades = 72 + combat_unit_group_fire_support = 8 + combat_unit_group_aviation = 20 } - required_unit_types = { combat_unit_type_line_infantry } + required_unit_types = { combat_unit_type_infantry_brigade } # Distance between the center of the diorama and the frontline distance = 5 @@ -329,25 +329,25 @@ diorama_battle_line_01 = { attach = { locator = line_ground_loc entity = "diorama_battle_line_ground_01_entity" } ##### FLAG ATTACHMENTS ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_04_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_04_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### attach = { locator = general_01_loc entity_group = "general" general = yes } @@ -372,12 +372,12 @@ diorama_battle_skirmish_01 = { # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 6 - combat_unit_group_artillery = 1 - combat_unit_group_cavalry = 1 + combat_unit_group_frontline_brigades = 6 + combat_unit_group_fire_support = 1 + combat_unit_group_aviation = 1 } - required_unit_types = { combat_unit_type_skirmish_infantry } + required_unit_types = { combat_unit_type_armored_brigade } # Distance between the center of the diorama and the frontline distance = 5 @@ -513,25 +513,25 @@ diorama_battle_skirmish_01 = { attach = { locator = skirmish_ground_loc entity = "diorama_battle_skirmish_ground_01_entity" } ##### FLAG ATTACHMENTS ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_03_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_03_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### attach = { locator = general_01_loc entity_group = "general" general = yes } @@ -556,12 +556,12 @@ diorama_battle_squad_01 = { # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 730 - combat_unit_group_artillery = 135 - combat_unit_group_cavalry = 135 + combat_unit_group_frontline_brigades = 730 + combat_unit_group_fire_support = 135 + combat_unit_group_aviation = 135 } - required_unit_types = { combat_unit_type_squad_infantry } + required_unit_types = { combat_unit_type_air_mobile_brigade } # Distance between the center of the diorama and the frontline distance = 5 @@ -691,24 +691,24 @@ diorama_battle_squad_01 = { attach = { locator = squad_ground_loc entity = "diorama_battle_squad_ground_01_entity" } ##### FLAG ATTACHMENTS ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_03_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_03_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### attach = { locator = general_01_loc entity_group = "general" general = yes } @@ -733,12 +733,12 @@ diorama_battle_trench_01 = { # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 80 - combat_unit_group_artillery = 8 - combat_unit_group_cavalry = 12 + combat_unit_group_frontline_brigades = 80 + combat_unit_group_fire_support = 8 + combat_unit_group_aviation = 12 } - required_unit_types = { combat_unit_type_trench_infantry } + required_unit_types = { combat_unit_type_mechanized_brigade } # Distance between the center of the diorama and the frontline distance = 5 @@ -874,25 +874,25 @@ diorama_battle_trench_01 = { attach = { locator = trench_ground_loc entity = "diorama_battle_trench_ground_01_entity" } ##### FLAG ATTACHMENTS ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_10_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_10_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### attach = { locator = general_01_loc entity_group = "general" general = yes } @@ -917,12 +917,12 @@ diorama_battle_mechanized_01 = { # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 78 - combat_unit_group_artillery = 9 - combat_unit_group_cavalry = 13 + combat_unit_group_frontline_brigades = 78 + combat_unit_group_fire_support = 9 + combat_unit_group_aviation = 13 } - required_unit_types = { combat_unit_type_mechanized_infantry } + required_unit_types = { combat_unit_type_tactical_brigade } # Distance between the center of the diorama and the frontline distance = 5 @@ -1047,23 +1047,23 @@ diorama_battle_mechanized_01 = { attach = { locator = mechanized_ground_loc entity = "diorama_battle_mechanized_ground_01_entity" } ##### FLAG ATTACHMENTS ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" can_be_defeated = yes is_visible = { scope:num_units > 0 } } ##### FLAG ATTACHMENTS ##### attach = { locator = general_01_loc entity_group = "general" general = yes } diff --git a/gfx/map/army_dioramas/military_diorama_frontline.txt b/gfx/map/army_dioramas/military_diorama_frontline.txt index a213c6e28..0ffdb856e 100644 --- a/gfx/map/army_dioramas/military_diorama_frontline.txt +++ b/gfx/map/army_dioramas/military_diorama_frontline.txt @@ -3,9 +3,9 @@ # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 56 - combat_unit_group_artillery = 39 - combat_unit_group_cavalry = 5 + combat_unit_group_frontline_brigades = 56 + combat_unit_group_fire_support = 39 + combat_unit_group_aviation = 5 } # Distance between the center of the diorama and the frontline @@ -125,29 +125,29 @@ ##### 01 BARRICADES ##### - attach = { locator = barricade_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "barricade" is_visible = { scope:num_units > 0 }} - attach = { locator = barricade_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "barricade" is_visible = { scope:num_units > 0 }} + attach = { locator = barricade_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "barricade" is_visible = { scope:num_units > 0 }} + attach = { locator = barricade_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "barricade" is_visible = { scope:num_units > 0 }} ##### 02 INFANTRY ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0 }} - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0.25 }} - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0 }} - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 1 }} - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 2 }} + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0 }} + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0.25 }} + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0 }} + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 1 }} + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 2 }} ##### 03 ARTILLERY ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" is_visible = { scope:num_units > 0 }} - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" is_visible = { scope:num_units > 1 }} - attach = { locator = artillery_03_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" is_visible = { scope:num_units > 2 }} + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" is_visible = { scope:num_units > 0 }} + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" is_visible = { scope:num_units > 1 }} + attach = { locator = artillery_03_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" is_visible = { scope:num_units > 2 }} ##### 04 PROPS ##### - attach = { locator = props_artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_01" is_visible = { scope:num_units > 0 }} - attach = { locator = props_artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_02" is_visible = { scope:num_units > 0 }} - attach = { locator = props_artillery_03_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_01" is_visible = { scope:num_units > 1 }} - attach = { locator = props_artillery_04_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_02" is_visible = { scope:num_units > 1 }} + attach = { locator = props_artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_01" is_visible = { scope:num_units > 0 }} + attach = { locator = props_artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_02" is_visible = { scope:num_units > 0 }} + attach = { locator = props_artillery_03_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_01" is_visible = { scope:num_units > 1 }} + attach = { locator = props_artillery_04_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_02" is_visible = { scope:num_units > 1 }} ##### 05 CAVALRY ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" is_visible = { scope:num_units > 0 }} + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" is_visible = { scope:num_units > 0 }} ##### 06 GENERAL ##### attach = { locator = general_01_loc entity_group = "general" general = yes } @@ -169,9 +169,9 @@ front_diorama_basecamp_01 = { # Unit composition is checked when picking a diorama for a certain province # The closer the composition of the army in the province corresponds to the percentage, the higher the chance of choosing this diorama unit_composition = { - combat_unit_group_infantry = 69 - combat_unit_group_artillery = 19 - combat_unit_group_cavalry = 12 + combat_unit_group_frontline_brigades = 69 + combat_unit_group_fire_support = 19 + combat_unit_group_aviation = 12 } # Distance between the center of the diorama and the frontline @@ -328,33 +328,33 @@ front_diorama_basecamp_01 = { ##### 01 BARRICADE ##### - attach = { locator = barricade_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "barricade" is_visible = { scope:num_units > 0 } } - attach = { locator = barricade_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "barricade" is_visible = { scope:num_units > 0 } } + attach = { locator = barricade_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "barricade" is_visible = { scope:num_units > 0 } } + attach = { locator = barricade_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "barricade" is_visible = { scope:num_units > 0 } } ##### 02 INFANTRY ##### - attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0.25 } } - attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 1 } } - attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0 } } - attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 1 } } - attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 0.25 } } - attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 1 } } - attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 1.5 } } - attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" is_visible = { scope:num_units > 2 } } + attach = { locator = infantry_01_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_02_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0.25 } } + attach = { locator = infantry_03_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 1 } } + attach = { locator = infantry_04_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0 } } + attach = { locator = infantry_05_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 1 } } + attach = { locator = infantry_06_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 0.25 } } + attach = { locator = infantry_07_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 1 } } + attach = { locator = infantry_08_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 1.5 } } + attach = { locator = infantry_09_loc combat_unit_group = combat_unit_group_frontline_brigades entity_group = "infantry" is_visible = { scope:num_units > 2 } } ##### 03 ARTILLERY ##### - attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" is_visible = { scope:num_units > 0 } } - attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "artillery" is_visible = { scope:num_units > 1 } } + attach = { locator = artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" is_visible = { scope:num_units > 0 } } + attach = { locator = artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "artillery" is_visible = { scope:num_units > 1 } } ##### 04 PROPS ##### - attach = { locator = props_artillery_01_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_01" is_visible = { scope:num_units > 0 }} - attach = { locator = props_artillery_02_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_02" is_visible = { scope:num_units > 1 }} - attach = { locator = props_artillery_03_loc combat_unit_group = combat_unit_group_artillery entity_group = "props_artillery_01" is_visible = { scope:num_units > 2 }} + attach = { locator = props_artillery_01_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_01" is_visible = { scope:num_units > 0 }} + attach = { locator = props_artillery_02_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_02" is_visible = { scope:num_units > 1 }} + attach = { locator = props_artillery_03_loc combat_unit_group = combat_unit_group_fire_support entity_group = "props_artillery_01" is_visible = { scope:num_units > 2 }} ##### 05 CAVALRY ##### - attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" is_visible = { scope:num_units > 0 } } - attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" is_visible = { scope:num_units > 1 } } - attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_cavalry entity_group = "cavalry" is_visible = { scope:num_units > 2 } } + attach = { locator = cavalry_01_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" is_visible = { scope:num_units > 0 } } + attach = { locator = cavalry_02_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" is_visible = { scope:num_units > 1 } } + attach = { locator = cavalry_03_loc combat_unit_group = combat_unit_group_aviation entity_group = "cavalry" is_visible = { scope:num_units > 2 } } ##### 06 GENERAL ##### attach = { locator = general_01_loc entity_group = "general" general = yes } diff --git a/gfx/map/front_entities/battle_entities_ground.txt b/gfx/map/front_entities/battle_entities_ground.txt index d77ce27f7..281d85360 100644 --- a/gfx/map/front_entities/battle_entities_ground.txt +++ b/gfx/map/front_entities/battle_entities_ground.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} @@ -32,7 +32,7 @@ diorama_battle_irregular_ground_diorama_01_entity = { group = "ground" trigger = { - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -83,7 +83,7 @@ diorama_battle_mechanized_ground_diorama_01_entity = { trigger = { OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } diff --git a/gfx/map/front_entities/front_entities_artillery.txt b/gfx/map/front_entities/front_entities_artillery.txt index e0e5b05e9..f98e5bbbb 100644 --- a/gfx/map/front_entities/front_entities_artillery.txt +++ b/gfx/map/front_entities/front_entities_artillery.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} @@ -42,7 +42,7 @@ military_artillery_mobile_generic_diorama_entity = { group = "artillery" trigger = { - scope:combat_unit_type = unit_type:combat_unit_type_mobile_artillery + scope:combat_unit_type = unit_type:combat_unit_type_self_propelled_guns } } @@ -72,6 +72,6 @@ military_artillery_siege_generic_diorama_entity = { # group = "artillery" # # trigger = { -# scope:combat_unit_type = unit_type:combat_unit_type_heavy_tank +# scope:combat_unit_type = unit_type:combat_unit_type_tbm_launchers # } #} \ No newline at end of file diff --git a/gfx/map/front_entities/front_entities_artillery_props.txt b/gfx/map/front_entities/front_entities_artillery_props.txt index c08aec61d..459bf9c9a 100644 --- a/gfx/map/front_entities/front_entities_artillery_props.txt +++ b/gfx/map/front_entities/front_entities_artillery_props.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} @@ -52,7 +52,7 @@ military_props_artillery_mobile_01_diorama_entity = { group = "props_artillery_01" trigger = { - scope:combat_unit_type = unit_type:combat_unit_type_mobile_artillery + scope:combat_unit_type = unit_type:combat_unit_type_self_propelled_guns } } @@ -62,7 +62,7 @@ military_props_artillery_mobile_02_diorama_entity = { group = "props_artillery_02" trigger = { - scope:combat_unit_type = unit_type:combat_unit_type_mobile_artillery + scope:combat_unit_type = unit_type:combat_unit_type_self_propelled_guns } } diff --git a/gfx/map/front_entities/front_entities_barricades.txt b/gfx/map/front_entities/front_entities_barricades.txt index 2aa625192..8656ffea4 100644 --- a/gfx/map/front_entities/front_entities_barricades.txt +++ b/gfx/map/front_entities/front_entities_barricades.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} @@ -31,7 +31,7 @@ military_barricade_irregular_01_diorama_entity = { group = "barricade" trigger = { - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -82,7 +82,7 @@ military_barricade_mechanized_01_diorama_entity = { trigger = { OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } diff --git a/gfx/map/front_entities/front_entities_basecamps.txt b/gfx/map/front_entities/front_entities_basecamps.txt index 2335b738c..e0068fcfc 100644 --- a/gfx/map/front_entities/front_entities_basecamps.txt +++ b/gfx/map/front_entities/front_entities_basecamps.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} diff --git a/gfx/map/front_entities/front_entities_cavalry.txt b/gfx/map/front_entities/front_entities_cavalry.txt index f6e0bb81c..1ea3abcda 100644 --- a/gfx/map/front_entities/front_entities_cavalry.txt +++ b/gfx/map/front_entities/front_entities_cavalry.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} @@ -61,7 +61,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = european # } # -# scope:combat_unit_type = unit_type:combat_unit_type_hussars +# scope:combat_unit_type = unit_type:combat_unit_type_wartime_aircraft # } #} @@ -74,7 +74,7 @@ military_tank_light_generic_diorama_entity = { # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_dragoons +# scope:combat_unit_type = unit_type:combat_unit_type_air_superiority_fighters # } #} @@ -87,7 +87,7 @@ military_tank_light_generic_diorama_entity = { # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_cuirassiers +# scope:combat_unit_type = unit_type:combat_unit_type_tactical_bombers # } #} @@ -100,7 +100,7 @@ military_tank_light_generic_diorama_entity = { # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_lancers +# scope:combat_unit_type = unit_type:combat_unit_type_fighter_bombers # } #} @@ -121,7 +121,7 @@ military_tank_light_generic_diorama_entity = { # } # } # -# scope:combat_unit_type = unit_type:combat_unit_type_hussars +# scope:combat_unit_type = unit_type:combat_unit_type_wartime_aircraft # } #} @@ -136,7 +136,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = african # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_dragoons +# scope:combat_unit_type = unit_type:combat_unit_type_air_superiority_fighters # } #} @@ -151,7 +151,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = african # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_cuirassiers +# scope:combat_unit_type = unit_type:combat_unit_type_tactical_bombers # } #} @@ -166,7 +166,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = african # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_lancers +# scope:combat_unit_type = unit_type:combat_unit_type_fighter_bombers # } #} @@ -188,7 +188,7 @@ military_tank_light_generic_diorama_entity = { # } # } # -# scope:combat_unit_type = unit_type:combat_unit_type_hussars +# scope:combat_unit_type = unit_type:combat_unit_type_wartime_aircraft # } #} @@ -203,7 +203,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = arabic # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_dragoons +# scope:combat_unit_type = unit_type:combat_unit_type_air_superiority_fighters # } #} @@ -218,7 +218,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = arabic # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_cuirassiers +# scope:combat_unit_type = unit_type:combat_unit_type_tactical_bombers # } #} @@ -233,7 +233,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = arabic # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_lancers +# scope:combat_unit_type = unit_type:combat_unit_type_fighter_bombers # } #} @@ -255,7 +255,7 @@ military_tank_light_generic_diorama_entity = { # } # } # -# scope:combat_unit_type = unit_type:combat_unit_type_hussars +# scope:combat_unit_type = unit_type:combat_unit_type_wartime_aircraft # } #} @@ -270,7 +270,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = east_asian # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_dragoons +# scope:combat_unit_type = unit_type:combat_unit_type_air_superiority_fighters # } #} @@ -285,7 +285,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = east_asian # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_cuirassiers +# scope:combat_unit_type = unit_type:combat_unit_type_tactical_bombers # } #} @@ -300,7 +300,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = east_asian # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_lancers +# scope:combat_unit_type = unit_type:combat_unit_type_fighter_bombers # } #} @@ -322,7 +322,7 @@ military_tank_light_generic_diorama_entity = { # } # } # -# scope:combat_unit_type = unit_type:combat_unit_type_hussars +# scope:combat_unit_type = unit_type:combat_unit_type_wartime_aircraft # } #} @@ -337,7 +337,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = south_asian # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_dragoons +# scope:combat_unit_type = unit_type:combat_unit_type_air_superiority_fighters # } #} @@ -352,7 +352,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = south_asian # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_cuirassiers +# scope:combat_unit_type = unit_type:combat_unit_type_tactical_bombers # } #} @@ -367,7 +367,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = south_asian # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_lancers +# scope:combat_unit_type = unit_type:combat_unit_type_fighter_bombers # } #} @@ -389,7 +389,7 @@ military_tank_light_generic_diorama_entity = { # } # } # -# scope:combat_unit_type = unit_type:combat_unit_type_hussars +# scope:combat_unit_type = unit_type:combat_unit_type_wartime_aircraft # } #} @@ -404,7 +404,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = decentralised_americas # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_dragoons +# scope:combat_unit_type = unit_type:combat_unit_type_air_superiority_fighters # } #} @@ -419,7 +419,7 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = decentralised_americas # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_cuirassiers +# scope:combat_unit_type = unit_type:combat_unit_type_tactical_bombers # } #} @@ -434,6 +434,6 @@ military_tank_light_generic_diorama_entity = { # has_culture_graphics = decentralised_americas # } # } -# scope:combat_unit_type = unit_type:combat_unit_type_lancers +# scope:combat_unit_type = unit_type:combat_unit_type_fighter_bombers # } #} \ No newline at end of file diff --git a/gfx/map/front_entities/front_entities_generals.txt b/gfx/map/front_entities/front_entities_generals.txt index b47a9ca43..3275fd10b 100644 --- a/gfx/map/front_entities/front_entities_generals.txt +++ b/gfx/map/front_entities/front_entities_generals.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} diff --git a/gfx/map/front_entities/front_entities_infantry.txt b/gfx/map/front_entities/front_entities_infantry.txt index 923393991..57afc153c 100644 --- a/gfx/map/front_entities/front_entities_infantry.txt +++ b/gfx/map/front_entities/front_entities_infantry.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} @@ -41,7 +41,7 @@ military_infantry_european_irregular_diorama_entity = { scope:culture = { has_culture_graphics = european } - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -107,7 +107,7 @@ military_infantry_european_mechanized_diorama_entity = { has_culture_graphics = european } OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } @@ -127,7 +127,7 @@ military_infantry_african_irregular_diorama_entity = { scope:culture = { has_culture_graphics = african } - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -193,7 +193,7 @@ military_infantry_african_mechanized_diorama_entity = { has_culture_graphics = african } OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } @@ -213,7 +213,7 @@ military_infantry_arabic_irregular_diorama_entity = { scope:culture = { has_culture_graphics = arabic } - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -279,7 +279,7 @@ military_infantry_arabic_mechanized_diorama_entity = { has_culture_graphics = arabic } OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } @@ -299,7 +299,7 @@ military_infantry_eastasian_irregular_diorama_entity = { scope:culture = { has_culture_graphics = east_asian } - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -365,7 +365,7 @@ military_infantry_eastasian_mechanized_diorama_entity = { has_culture_graphics = east_asian } OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } @@ -385,7 +385,7 @@ military_infantry_southasian_irregular_diorama_entity = { scope:culture = { has_culture_graphics = south_asian } - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -398,7 +398,7 @@ military_infantry_southasian_line_diorama_entity = { scope:culture = { has_culture_graphics = south_asian } - scope:combat_unit_type = unit_type:combat_unit_type_line_infantry + scope:combat_unit_type = unit_type:combat_unit_type_infantry_brigade } } @@ -411,7 +411,7 @@ military_infantry_southasian_skirmish_diorama_entity = { scope:culture = { has_culture_graphics = south_asian } - scope:combat_unit_type = unit_type:combat_unit_type_skirmish_infantry + scope:combat_unit_type = unit_type:combat_unit_type_armored_brigade } } @@ -424,7 +424,7 @@ military_infantry_southasian_trench_diorama_entity = { scope:culture = { has_culture_graphics = south_asian } - scope:combat_unit_type = unit_type:combat_unit_type_trench_infantry + scope:combat_unit_type = unit_type:combat_unit_type_mechanized_brigade } } @@ -437,7 +437,7 @@ military_infantry_southasian_squad_diorama_entity = { scope:culture = { has_culture_graphics = south_asian } - scope:combat_unit_type = unit_type:combat_unit_type_squad_infantry + scope:combat_unit_type = unit_type:combat_unit_type_air_mobile_brigade } } @@ -451,7 +451,7 @@ military_infantry_southasian_mechanized_diorama_entity = { has_culture_graphics = south_asian } OR = { - scope:combat_unit_type = unit_type:combat_unit_type_mechanized_infantry + scope:combat_unit_type = unit_type:combat_unit_type_tactical_brigade scope:combat_unit_type = unit_type:combat_unit_type_modern_battle_tanks } } @@ -470,7 +470,7 @@ military_infantry_nativeamerican_irregular_diorama_entity = { scope:culture = { has_culture_graphics = decentralised_americas } - scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry + scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces } } @@ -483,7 +483,7 @@ military_infantry_nativeamerican_line_diorama_entity = { scope:culture = { has_culture_graphics = decentralised_americas } - scope:combat_unit_type = unit_type:combat_unit_type_line_infantry + scope:combat_unit_type = unit_type:combat_unit_type_infantry_brigade } } @@ -496,6 +496,6 @@ military_infantry_nativeamerican_skirmish_diorama_entity = { scope:culture = { has_culture_graphics = decentralised_americas } - scope:combat_unit_type = unit_type:combat_unit_type_skirmish_infantry + scope:combat_unit_type = unit_type:combat_unit_type_armored_brigade } } \ No newline at end of file diff --git a/gfx/map/front_entities/front_entities_misc.txt b/gfx/map/front_entities/front_entities_misc.txt index 64c36e104..092899077 100644 --- a/gfx/map/front_entities/front_entities_misc.txt +++ b/gfx/map/front_entities/front_entities_misc.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} diff --git a/gfx/map/front_entities/front_entities_support.txt b/gfx/map/front_entities/front_entities_support.txt index 243e65cc6..fa1eba63b 100644 --- a/gfx/map/front_entities/front_entities_support.txt +++ b/gfx/map/front_entities/front_entities_support.txt @@ -17,7 +17,7 @@ # scope:culture = { # has_culture_graphics = european # } -# scope:combat_unit_type = unit_type:combat_unit_type_irregular_infantry +# scope:combat_unit_type = unit_type:combat_unit_type_asymmetrical_forces # } #} diff --git a/gfx/map/spline_network/military_route_graphics/03_naval_vehicles.txt b/gfx/map/spline_network/military_route_graphics/03_naval_vehicles.txt index d9f3165a2..e2f70491c 100644 --- a/gfx/map/spline_network/military_route_graphics/03_naval_vehicles.txt +++ b/gfx/map/spline_network/military_route_graphics/03_naval_vehicles.txt @@ -42,7 +42,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_frigate + has_unit_type = unit_type:combat_unit_type_wartime_escort } } } @@ -53,7 +53,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_destroyer + has_unit_type = unit_type:combat_unit_type_guided_missile_destroyer } } } @@ -64,7 +64,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_monitor + has_unit_type = unit_type:combat_unit_type_modernized_escort } } } @@ -75,7 +75,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_torpedo_boat + has_unit_type = unit_type:combat_unit_type_guided_missile_corvette } } } @@ -86,7 +86,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_scout_cruiser + has_unit_type = unit_type:combat_unit_type_guided_missile_cruiser } } } @@ -100,7 +100,7 @@ naval_route_graphics_01 = { } country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_man_o_war + target = unit_type:combat_unit_type_battleship value > 0.0 } } @@ -110,7 +110,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_man_o_war + has_unit_type = unit_type:combat_unit_type_battleship } } } @@ -126,7 +126,7 @@ naval_route_graphics_01 = { } country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_ironclad + target = unit_type:combat_unit_type_aircraft_carrier value > 0.0 } } @@ -136,7 +136,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_ironclad + has_unit_type = unit_type:combat_unit_type_aircraft_carrier } } } @@ -152,7 +152,7 @@ naval_route_graphics_01 = { } country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_dreadnought + target = unit_type:combat_unit_type_nuclear_supercarrier value > 0.0 } } @@ -162,7 +162,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_dreadnought + has_unit_type = unit_type:combat_unit_type_nuclear_supercarrier } } } @@ -178,7 +178,7 @@ naval_route_graphics_01 = { } country_navy_unit_type_fraction = { - target = unit_type:combat_unit_type_battleship + target = unit_type:combat_unit_type_modern_aircraft_carrier value > 0.0 } } @@ -188,7 +188,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_battleship + has_unit_type = unit_type:combat_unit_type_modern_aircraft_carrier } } } @@ -201,7 +201,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_submarine + has_unit_type = unit_type:combat_unit_type_diesel_submarine } } } @@ -212,7 +212,7 @@ naval_route_graphics_01 = { is_fleet = yes any_combat_unit = { - has_unit_type = unit_type:combat_unit_type_carrier + has_unit_type = unit_type:combat_unit_type_nuclear_submarine } } }