中级玩家
![Rank: 3](static/image/common/star_level2.gif) ![Rank: 3](static/image/common/star_level1.gif)
- 贡献度
- 4
- 金元
- 1695
- 积分
- 186
- 精华
- 0
- 注册时间
- 2013-10-18
|
照教學在ship_sizes加了這
@destroyer_combat_speed = 1.0 # picket ships, should stay with the battleships
@destroyer_combat_rotation = 0.05
@destroyer_collision_radius = 2.5
Heavy_Corvette = {
max_speed = 4.5
acceleration = 0.3
rotation_speed = 0.2
combat_max_speed = @destroyer_combat_speed
combat_rotation_speed = @destroyer_combat_rotation
collision_radius = @destroyer_collision_radius
modifier = {
ship_evasion_add = 25
ship_armor_add = 25
ship_weapon_range_mult = 0.1
ship_weapon_damage = 0.1
ship_sensor_range_mult = 0.1
ship_auto_repair_add = 0.1 # Regenerates 1% ship-health per month
ship_shield_hp_add = 1000
ship_shield_hp_mult = 0.1
ship_shield_regen_add = 100
ship_shield_regen_mult = 0.1
}
max_hitpoints = 1000
size_multiplier = 2
fleet_slot_size = 2
section_slots = { "mid" = { locator = "part1" } }
num_target_locators = 0
icon_frame = 3
base_buildtime = 120
required_spaceport_level = 2
can_have_federation_design = no
enable_default_design = yes #if yes, countries will have an auto-generated design at start
class = shipclass_military
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "ai_behaviour"
required_component_set = "special_ship_slot"
required_component_set = "thruster_components"
required_component_set = "thruster_components"
required_component_set = "ship_sensor_components"
required_component_set = "powerstation_components"
required_component_set = "powerstation_components"
}
在section_templates增加這段
ship_section_template = {
key = "Heavy_Corvette"
ship_size = Heavy_Corvette
fits_on_slot = mid
entity = "pirates_destroyer01_1l_2s_entity"
icon = "GFX_ship_part_core_mid"
component_slot = {
name = "LARGE_GUN_01"
slot_size = large
slot_type = weapon
locatorname = "large_gun_01"
}
component_slot = {
name = "SMALL_GUN_01"
slot_size = small
slot_type = weapon
locatorname = "small_gun_01"
}
component_slot = {
name = "SMALL_GUN_02"
slot_size = small
slot_type = weapon
locatorname = "small_gun_02"
}
small_utility_slots = 4
medium_utility_slots = 4
aux_utility_slots = 1
}
ship_section_template = {
key = "Heavy_Corvette"
ship_size = Heavy_Corvette
fits_on_slot = mid
entity = "pirates_destroyer01_1m_2s_1m_entity"
icon = "GFX_ship_part_core_mid"
component_slot = {
name = "MEDIUM_GUN_01"
slot_size = medium
slot_type = weapon
locatorname = "medium_gun_01"
}
component_slot = {
name = "MEDIUM_GUN_02"
slot_size = medium
slot_type = weapon
locatorname = "medium_gun_02"
}
component_slot = {
name = "SMALL_GUN_01"
slot_size = small
slot_type = weapon
locatorname = "small_gun_01"
}
component_slot = {
name = "PD_01"
slot_size = point_defence
slot_type = weapon
locatorname = "small_gun_02"
}
small_utility_slots = 4
medium_utility_slots = 4
aux_utility_slots = 1
}
改出來的船會少AI並且沒辦法換船體
|
|