Srly? Do you know what's ship_class in stellaris?
If i must explain, yes i know how to make new ship in stellaris but i wanna to make a new class of ships...
Part of the code:
cruiser = {
formation_priority = @cruiser_formation_priority
max_speed = @speed_default
acceleration = 0.25
rotation_speed = 0.175
collision_radius = @cruiser_collision_radius
max_hitpoints = @cruiser_hp
modifier = {
ship_evasion_add = @cruiser_evasion
ship_piracy_suppression_add = 6
}
size_multiplier = 4
fleet_slot_size = 3
section_slots = { "bow" = { locator = "part1" } "mid" = { locator = "part2" } "stern" = { locator = "part3" } }
num_target_locators = 4
is_space_station = no
icon_frame = 4
base_buildtime = @cruiser_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
default_behavior = line
prerequisites = { "tech_cruisers" }
combat_disengage_chance = 1.50
class = shipclass_military <--------------
HERE is definied ship_class and i want to create new but dnt know where they are definied how a code...
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "combat_computers"
resources = {
category = ships
upkeep = {
energy = @cruiser_upkeep_energy
alloys = @cruiser_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 4
}
}