Dear community.
Whenever I mod an existing section, let's say, of a transport ship, to add a gun to it, I get the following errors in the error log, for every culture type:
I assume it complains about finding a place to put the locator I created on the model.
I tried to create a file gfx\model\ships\mammalian_01 and make _mammalian_01_ships_entities.asset in it, and add the following line to the transport there:
However that does not seem to fix the error. Could someone give me a few hints how to handle it?
My mod file contents are below:
As a separate question, this does generate an error:
Does this simply mean that I replaced the section, or will it actually store two copies in the memory and some errors may come from it? Is it safe to mode sections like this, or am I supposed to replace the whole file?
Whenever I mod an existing section, let's say, of a transport ship, to add a gun to it, I get the following errors in the error log, for every culture type:
Code:
[05:23:11][section.cpp:327]: ship section entity "mammalian_01_transport_ship_entity" is missing required locator "small_gun_01"
[05:23:11][ship_design_templates.cpp:403]: Section template "DEFAULT_TRANSPORT_SECTION" with entity "mammalian_01_transport_ship_entity" is missing locator "small_gun_01".
I assume it complains about finding a place to put the locator I created on the model.
I tried to create a file gfx\model\ships\mammalian_01 and make _mammalian_01_ships_entities.asset in it, and add the following line to the transport there:
Code:
locator = { name = "small_gun_01" position = { 0 0 0 } }
However that does not seem to fix the error. Could someone give me a few hints how to handle it?
My mod file contents are below:
Code:
ship_section_template = {
key = "DEFAULT_TRANSPORT_SECTION"
ship_size = transport
fits_on_slot = mid
entity = "transport_ship_entity"
icon = "GFX_ship_part_core_mid"
component_slot = {
name = "SMALL_GUN_01"
slot_size = small
slot_type = weapon
locatorname = "small_gun_01"
}
small_utility_slots = 2
medium_utility_slots = 2
aux_utility_slots = 1
}
As a separate question, this does generate an error:
Code:
[05:23:11][ship_design_templates.cpp:219]: duplicate section template found. Multiple sections are named [DEFAULT_TRANSPORT_SECTION]. file: common/section_templates/transport.txt line: 11
Does this simply mean that I replaced the section, or will it actually store two copies in the memory and some errors may come from it? Is it safe to mode sections like this, or am I supposed to replace the whole file?