# Small formations keep the scan model's battlefield rendering cost bounded.
cmp_fumo_battle_diorama = {
    unit_composition = { combat_unit_group_infantry = 100 }
    required_unit_types = { combat_unit_type_cmp_fumo_infantry }
    distance = 5
    battle_side = either
    locator = { name = "fumo_01_loc" position = { -1.3 0.0 0.8 } rotation = { -8.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "fumo_02_loc" position = { 0.8 0.0 1.2 } rotation = { 12.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "fumo_03_loc" position = { -0.4 0.0 -1.2 } rotation = { 4.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "fumo_04_loc" position = { 1.5 0.0 -0.9 } rotation = { -12.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "flag_loc" position = { 0.0 0.0 2.0 } rotation = { 0.0 0.0 0.0 } scale = 1.0 }
    attach = { locator = fumo_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } }
    attach = { locator = fumo_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 1 } }
    attach = { locator = fumo_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 2 } }
    attach = { locator = fumo_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 3 } }
    attach = { locator = flag_loc entity_group = "flag" }
}

cmp_fumo_front_diorama = {
    unit_composition = { combat_unit_group_infantry = 100 }
    required_unit_types = { combat_unit_type_cmp_fumo_infantry }
    distance = 8
    basecamp = no
    locator = { name = "fumo_01_loc" position = { -1.6 0.0 1.0 } rotation = { -12.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "fumo_02_loc" position = { 0.6 0.0 1.7 } rotation = { 8.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "fumo_03_loc" position = { -0.3 0.0 -0.8 } rotation = { 16.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "fumo_04_loc" position = { 1.7 0.0 -0.4 } rotation = { -8.0 0.0 0.0 } scale = 1.0 }
    locator = { name = "flag_loc" position = { 0.0 0.0 2.5 } rotation = { 0.0 0.0 0.0 } scale = 1.0 }
    attach = { locator = fumo_01_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 0 } }
    attach = { locator = fumo_02_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 1 } }
    attach = { locator = fumo_03_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 2 } }
    attach = { locator = fumo_04_loc combat_unit_group = combat_unit_group_infantry entity_group = "infantry" can_be_defeated = yes is_visible = { scope:num_units > 3 } }
    attach = { locator = flag_loc entity_group = "flag" }
}
