• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

MarKr

First Lieutenant
18 Badges
Nov 10, 2017
211
4
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris
  • Stellaris: Humanoids Species Pack
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
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:

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:
entities = {
weapon_type_kinetic = "medium_kinetic_gun_entity"
weapon_type_energy = "medium_laser_gun_entity"
}
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.

Any idea how to make this work or if it even is possible to make it work?