Stellaris modding Let's add ship component slot like weapon, reactor


Let's add more weapons and reactors.
There are many modes to add new ships.
Users want a lot, and they are so popular.
In Vanilla, there are four types of ships.
I wanted to use a variety of high-grade ships.
When I played, I got a ship that was not used because there were too many ships.
I would rather add an armor weapon or reactor rather than a ship.

Use the Find feature to work more efficiently.

Go to Recommended Collection


Related folder path

common\section_templates

Select your desired ship txt file
  • corvette
  • destroyer
  • cruiser
  • battleship



Stellaris modding
< 2-1 >

Position BOW / MID / STERN on the ship

When you open the desired ship file, it is classified into #BOW #MID #STERN.
Stellaris ship design can be equipped with weapons and reactors armors in 3 parts in total.

You can add it all, or you can just add whatever you want.
The # before the code does not work with comments.
# Can be cleared and used.




Stellaris modding
< 2-2 >

Ship_section_template

key = "BATTLESHIP_BOW_M3S2" 
         Medium 3 / small 2 can be mounted in front of the warship
ship_size = battleship

Add / delete the component_slot part in the 2-2 picture.
component_slot = {name slot_size slot_type locatorname}
This means a slot with a weapon.
  • name = EXTRA_LARGE
  • name = LARGE
  • name = MEDIUM
  • name = SMALL
  • name = TORPEDO
  • name = STRIKE_CRAFT
You can find it in a corvette, destroyer, cruiser, battleship text file.


The utility

small medium large is the reactor, hull-point and armor size.
aux means auxiliary module such as increase of HP, increase of shield recovery.
  • small_utility = ?
  • medium_utility = ?
  • large_utility = ?
  • aux_utility = ?


Use of AI

If you only want to use it, add ai_weight = {factor = 0} to the floor like key, ship_size component_slot.

Cost means you can set the price.

Way

  1. Add S M L as many as you want to the existing ship_setion_template.
  2. Copy the entire ship_setion_template and add a new one
Make sure to save and finish editing.





Let's make it once.

Weapons are large 4, medium 4, point-defense 4, paper airplane 2
Utility Small 2, Medium 4, Large 12

It is enormous.

Stellaris modding

Stellaris modding





The new ship addition mod is OFF.
If the modified file is duplicated in the mod file, it may not work properly.
The mod file is preferred over vanilla by guess. I'm not sure.
If you want to use a new ship,
Let's modify the mod file.

The mod file does not know whether it works even if it is modified.
I added extra-large weapons but it did not work.