2024-05-12 12:55:52 +08:00
|
|
|
########################
|
|
|
|
# BASIC SHIP COMPUTERS #
|
|
|
|
########################
|
|
|
|
|
|
|
|
utility_component_template = {
|
2024-05-12 13:07:03 +08:00
|
|
|
key = "RG_COMBAT_COMPUTER_SWARM_DEFAULT"
|
2024-05-12 12:55:52 +08:00
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_default"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power0
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ship_behavior = "swarm"
|
|
|
|
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_SWARM_BASIC"
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_PICKET_DEFAULT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_default"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power0
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ship_behavior = "picket"
|
|
|
|
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_PICKET_BASIC"
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_LINE_DEFAULT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_default"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power0
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ship_behavior = "line"
|
|
|
|
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_LINE_BASIC"
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_ARTILLERY_DEFAULT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_default"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power0
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ship_behavior = "artillery"
|
|
|
|
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_ARTILLERY_BASIC"
|
|
|
|
ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_TORPEDO_DEFAULT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_default"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power0
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ship_behavior = "torpedo"
|
|
|
|
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_TORPEDO_BASIC"
|
|
|
|
ai_tags = { explosive explosive_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# 'SWARM' COMPUTERS #
|
|
|
|
#####################
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_SWARM_BASIC"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_basic"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power1
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "swarm"
|
|
|
|
prerequisites = { "tech_combat_computers_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_SWARM_ADVANCED"
|
|
|
|
ai_tags = { gunship brawler brawler_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.05
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.05
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_SWARM_ADVANCED"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_advanced"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power2
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "swarm"
|
|
|
|
prerequisites = { "tech_combat_computers_2" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_SWARM_SAPIENT"
|
|
|
|
ai_tags = { gunship brawler brawler_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.10
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_SWARM_SAPIENT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "swarm"
|
|
|
|
prerequisites = { "tech_combat_computers_3" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { gunship brawler brawler_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.25
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
OR = {
|
|
|
|
has_global_flag = ghost_signal_5_flag
|
|
|
|
has_global_flag = ghost_signal_4_flag
|
|
|
|
has_global_flag = ghost_signal_3_flag
|
|
|
|
has_global_flag = ghost_signal_2_flag
|
|
|
|
has_global_flag = ghost_signal_1_flag
|
|
|
|
has_policy_flag = ai_outlawed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_SWARM_AUTONOMOUS"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "swarm"
|
|
|
|
prerequisites = { "tech_combat_computers_autonomous" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { gunship brawler brawler_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.25
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_SWARM_PRECOG"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_precog"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "swarm"
|
|
|
|
prerequisites = { "tech_precognition_interface" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { gunship brawler brawler_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.15
|
|
|
|
ship_speed_mult = 0.20
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# 'TORPEDO' COMPUTERS #
|
|
|
|
#####################
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_TORPEDO_BASIC"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_basic"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power1
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "torpedo"
|
|
|
|
prerequisites = { "tech_combat_computers_1" "tech_torpedoes_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_SWARM_ADVANCED"
|
|
|
|
ai_tags = { explosive explosive_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
weapon_type_explosive_weapon_damage_mult = 0.05
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_TORPEDO_ADVANCED"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_advanced"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power2
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "torpedo"
|
|
|
|
prerequisites = { "tech_combat_computers_2" "tech_torpedoes_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_TORPEDO_SAPIENT"
|
|
|
|
ai_tags = { explosive explosive_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
weapon_type_explosive_weapon_damage_mult = 0.10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_TORPEDO_SAPIENT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "torpedo"
|
|
|
|
prerequisites = { "tech_combat_computers_3" "tech_torpedoes_1" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { explosive explosive_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.10
|
|
|
|
weapon_type_explosive_weapon_damage_mult = 0.15
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
OR = {
|
|
|
|
has_global_flag = ghost_signal_5_flag
|
|
|
|
has_global_flag = ghost_signal_4_flag
|
|
|
|
has_global_flag = ghost_signal_3_flag
|
|
|
|
has_global_flag = ghost_signal_2_flag
|
|
|
|
has_global_flag = ghost_signal_1_flag
|
|
|
|
has_policy_flag = ai_outlawed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_TORPEDO_AUTONOMOUS"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "torpedo"
|
|
|
|
prerequisites = { "tech_combat_computers_autonomous" "tech_torpedoes_1" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { explosive explosive_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.10
|
|
|
|
weapon_type_explosive_weapon_damage_mult = 0.15
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_TORPEDO_PRECOG"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_swarm_precog"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "torpedo"
|
|
|
|
prerequisites = { "tech_precognition_interface" "tech_torpedoes_1" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { explosive explosive_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
weapon_type_explosive_weapon_damage_mult = 0.15
|
|
|
|
ship_tracking_add = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
######################
|
|
|
|
# 'PICKET' COMPUTERS #
|
|
|
|
######################
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_PICKET_BASIC"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_picket_basic"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power1
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "picket"
|
|
|
|
prerequisites = { "tech_combat_computers_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_PICKET_ADVANCED"
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.05
|
|
|
|
ship_tracking_add = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_PICKET_ADVANCED"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_picket_advanced"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power2
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "picket"
|
|
|
|
prerequisites = { "tech_combat_computers_2" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_PICKET_SAPIENT"
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.10
|
|
|
|
ship_tracking_add = 20
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_PICKET_SAPIENT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_picket_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "picket"
|
|
|
|
prerequisites = { "tech_combat_computers_3" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.10
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
ship_tracking_add = 30
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
OR = {
|
|
|
|
has_global_flag = ghost_signal_5_flag
|
|
|
|
has_global_flag = ghost_signal_4_flag
|
|
|
|
has_global_flag = ghost_signal_3_flag
|
|
|
|
has_global_flag = ghost_signal_2_flag
|
|
|
|
has_global_flag = ghost_signal_1_flag
|
|
|
|
has_policy_flag = ai_outlawed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_PICKET_AUTONOMOUS"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_picket_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "picket"
|
|
|
|
prerequisites = { "tech_combat_computers_autonomous" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
modifier = {
|
|
|
|
ship_evasion_mult = 0.10
|
|
|
|
}
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
ship_tracking_add = 30
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_PICKET_PRECOG"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_picket_precog"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "picket"
|
|
|
|
prerequisites = { "tech_precognition_interface" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { screen }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.20
|
|
|
|
ship_tracking_add = 40
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
####################
|
|
|
|
# 'LINE' COMPUTERS #
|
|
|
|
####################
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_LINE_BASIC"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_line_basic"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power1
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "line"
|
|
|
|
prerequisites = { "tech_combat_computers_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_LINE_ADVANCED"
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.05
|
|
|
|
ship_accuracy_add = 5
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_LINE_ADVANCED"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_line_advanced"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power2
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "line"
|
|
|
|
prerequisites = { "tech_combat_computers_2" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_LINE_SAPIENT"
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.10
|
|
|
|
ship_accuracy_add = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_LINE_SAPIENT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_line_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "line"
|
|
|
|
prerequisites = { "tech_combat_computers_3" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.20
|
|
|
|
ship_accuracy_add = 20
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
OR = {
|
|
|
|
has_global_flag = ghost_signal_5_flag
|
|
|
|
has_global_flag = ghost_signal_4_flag
|
|
|
|
has_global_flag = ghost_signal_3_flag
|
|
|
|
has_global_flag = ghost_signal_2_flag
|
|
|
|
has_global_flag = ghost_signal_1_flag
|
|
|
|
has_policy_flag = ai_outlawed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_LINE_AUTONOMOUS"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_line_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "line"
|
|
|
|
prerequisites = { "tech_combat_computers_autonomous" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.20
|
|
|
|
ship_accuracy_add = 20
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_LINE_PRECOG"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_line_precog"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "line"
|
|
|
|
prerequisites = { "tech_precognition_interface" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { gunship }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
ship_accuracy_add = 15
|
|
|
|
ship_tracking_add = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
######################
|
|
|
|
# 'ARTILLERY' COMPUTERS #
|
|
|
|
######################
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_ARTILLERY_BASIC"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_artillery_basic"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power1
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "artillery"
|
|
|
|
prerequisites = { "tech_combat_computers_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_ARTILLERY_ADVANCED"
|
|
|
|
ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.05
|
|
|
|
ship_weapon_range_mult = 0.05
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_ARTILLERY_ADVANCED"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_artillery_advanced"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power2
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "artillery"
|
|
|
|
prerequisites = { "tech_combat_computers_2" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_ARTILLERY_SAPIENT"
|
|
|
|
ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.10
|
|
|
|
ship_weapon_range_mult = 0.10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_ARTILLERY_SAPIENT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_artillery_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "artillery"
|
|
|
|
prerequisites = { "tech_combat_computers_3" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.20
|
|
|
|
ship_weapon_range_mult = 0.20
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
OR = {
|
|
|
|
has_global_flag = ghost_signal_5_flag
|
|
|
|
has_global_flag = ghost_signal_4_flag
|
|
|
|
has_global_flag = ghost_signal_3_flag
|
|
|
|
has_global_flag = ghost_signal_2_flag
|
|
|
|
has_global_flag = ghost_signal_1_flag
|
|
|
|
has_policy_flag = ai_outlawed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_ARTILLERY_AUTONOMOUS"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_artillery_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "artillery"
|
|
|
|
prerequisites = { "tech_combat_computers_autonomous" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.20
|
|
|
|
ship_weapon_range_mult = 0.20
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_ARTILLERY_PRECOG"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_artillery_precog"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "artillery"
|
|
|
|
prerequisites = { "tech_precognition_interface" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { artillery artillery_stealth energy_torpedoes energy_torpedoes_stealth }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_fire_rate_mult = 0.15
|
|
|
|
ship_weapon_range_mult = 0.15
|
|
|
|
ship_tracking_add = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
######################
|
|
|
|
# 'CARRIER' COMPUTERS #
|
|
|
|
######################
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_CARRIER_BASIC"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_carrier_basic"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power1
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "carrier"
|
|
|
|
prerequisites = { "tech_combat_computers_1" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_CARRIER_ADVANCED"
|
|
|
|
ai_tags = { carrier }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_engagement_range_mult = 0.25
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 2
|
|
|
|
modifier = {
|
|
|
|
factor = 5
|
|
|
|
is_preferred_weapons = weapon_type_strike_craft
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "RG_COMBAT_COMPUTER_CARRIER_ADVANCED"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_carrier_advanced"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power2
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "carrier"
|
|
|
|
prerequisites = { "tech_combat_computers_2" "tech_gray_interdictor_4" }
|
|
|
|
upgrades_to = "RG_COMBAT_COMPUTER_CARRIER_SAPIENT"
|
|
|
|
ai_tags = { carrier }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_engagement_range_mult = 0.50
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 3
|
|
|
|
modifier = {
|
|
|
|
factor = 5
|
|
|
|
is_preferred_weapons = weapon_type_strike_craft
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_CARRIER_SAPIENT"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_carrier_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "carrier"
|
|
|
|
prerequisites = { "tech_combat_computers_3" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { carrier }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_engagement_range_mult = 1.0
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 5
|
|
|
|
is_preferred_weapons = weapon_type_strike_craft
|
|
|
|
}
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
OR = {
|
|
|
|
has_global_flag = ghost_signal_5_flag
|
|
|
|
has_global_flag = ghost_signal_4_flag
|
|
|
|
has_global_flag = ghost_signal_3_flag
|
|
|
|
has_global_flag = ghost_signal_2_flag
|
|
|
|
has_global_flag = ghost_signal_1_flag
|
|
|
|
has_policy_flag = ai_outlawed
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_CARRIER_AUTONOMOUS"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_carrier_sapient"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "carrier"
|
|
|
|
prerequisites = { "tech_combat_computers_autonomous" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { carrier }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_engagement_range_mult = 1.0
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 5
|
|
|
|
modifier = {
|
|
|
|
factor = 5
|
|
|
|
is_preferred_weapons = weapon_type_strike_craft
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
utility_component_template = {
|
|
|
|
key = "COMBAT_COMPUTER_CARRIER_PRECOG"
|
|
|
|
size = small
|
|
|
|
icon = "GFX_ship_part_computer_carrier_precog"
|
|
|
|
icon_frame = 1
|
|
|
|
power = @power3
|
|
|
|
resources = {
|
|
|
|
category = ship_components
|
|
|
|
cost = {
|
|
|
|
alloys = @cost3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class_restriction = { shipclass_military shipclass_starbase shipclass_military_special }
|
|
|
|
size_restriction = {
|
|
|
|
RG_graygoo_destroyer
|
|
|
|
RG_graygoo_interdictor
|
|
|
|
RG_graygoo_Arsenal
|
|
|
|
RG_graygoo_mothership
|
|
|
|
RG_gray_juggernaut
|
|
|
|
RG_graygoo_capitalship
|
|
|
|
}
|
|
|
|
component_set = "combat_computers"
|
|
|
|
ship_behavior = "carrier"
|
|
|
|
prerequisites = { "tech_precognition_interface" "tech_gray_interdictor_4" }
|
|
|
|
ai_tags = { carrier }
|
|
|
|
ai_tag_weight = 0
|
|
|
|
|
|
|
|
ship_modifier = {
|
|
|
|
ship_engagement_range_mult = 0.75
|
|
|
|
ship_tracking_add = 10
|
|
|
|
}
|
|
|
|
|
|
|
|
ai_weight = {
|
|
|
|
weight = 4
|
|
|
|
modifier = {
|
|
|
|
factor = 5
|
|
|
|
is_preferred_weapons = weapon_type_strike_craft
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|