Hi,
I have my mod where I changed Missiles back into S and M sizes and G slots are reserved for Torpedoes only. This makes the Missiles occupy the weapon slots added to a Space station with "Add Guns" upgrade (the one that is supoessed to add 2 M-size kinetic or energy weapons.
Is there a way to limit the slots for kinetic and energy weapons even when there are explosive weapons available for the slot?
I noticed that slots are now handled with "slot templates" where you define what size a given slot is and if it is a turret, fixed weapon and if it "visible" or not. I noticed there that there is this:
So my idea was to make a new entry named "medium_gun_turret" and in "entities" would be only:
Any idea how to make this work or if it even is possible to make it work?
I have my mod where I changed Missiles back into S and M sizes and G slots are reserved for Torpedoes only. This makes the Missiles occupy the weapon slots added to a Space station with "Add Guns" upgrade (the one that is supoessed to add 2 M-size kinetic or energy weapons.
Is there a way to limit the slots for kinetic and energy weapons even when there are explosive weapons available for the slot?
I noticed that slots are now handled with "slot templates" where you define what size a given slot is and if it is a turret, fixed weapon and if it "visible" or not. I noticed there that there is this:
medium_turret = {
size = medium
component = weapon
entities = {
weapon_type_kinetic = "medium_kinetic_gun_entity"
weapon_type_energy = "medium_laser_gun_entity"
weapon_type_explosive = "turret_missile_medium_entity" # Failsafe for saved "invalid designs"
}
}
So my idea was to make a new entry named "medium_gun_turret" and in "entities" would be only:
so that the explosive weapons would not be listed and so not possible to mount. As you can guess, when I did that (and changed the starbases to use the "medium_gun_turret"), the slots still use Missiles.entities = {
weapon_type_kinetic = "medium_kinetic_gun_entity"
weapon_type_energy = "medium_laser_gun_entity"
}
Any idea how to make this work or if it even is possible to make it work?