This is a Step by Step pictorial guide to creating you first mod. It will be a simple Starting Solar System Mod, but using these steps you will be able to create any number of mods afterwards. The only tool you will need is a text editor, I suggest notepad++ as an first editor.
First Step, use the "Mod Tool" in the launcher:
Type in the name of the Mod you want to create, in this case we will use "Solar Systems". For simplicity on this first mod we will have both Name and Directory called the same thing.
Once you Click the Create Button a Mod will be created in the file:
C:\Users\<user>\Documents\Paradox Interactive\Stellaris\mod
As seen here
Now COPY the "solarsystem" file into the "solarsystem" folder. Once complete edit the solarsystem file INSIDE the folder. Since we are adding a custom solar system and we want a description for it we will also need to add a localization file. The 'path' needs to follow the same 'path' as if it were in the installed game files. Where 'mod' stands in for 'stellaris'
Next we need to mod up a solar system. This first one is just a black hole with one planet with a moon and one asteroid. The text for that can be found in the file at the bottom of the post. You will notice that there are some init_effect for the planet. These are to insure the capital and a few resources are placed. You can copy those or change them to fill all the slots on a planet and any that are left blank will be auto generated randomly. For more modifiers you can look in these game files:
\Stellaris\common\planet_modifiers
\Stellaris\common\planet_classes
\Stellaris\common\buildings
\Stellaris\common\tile_blockers
Once done, using folders create the same 'path' as in the mod file. Saving the system in to there.
Lastly we need create the localisation file. This is to give a description to the system on the planet type selection screen in the species maker. The name of the file is 'solarsystem_l_english.yml' if you speak a different language, ensure the language you pick is supported. The naming convention will be the same. Place the file in the same 'path' for localization as you did for the last file.
Once placed inside the proper file, edit solarsystem_l_english.yml with a texted editor. We will be adding three lines of text to the file. They are:
l_english:
black_hole_system_NAME: "Black Hole"
black_hole_system_DESC: "This is a test system.\n\n$system_initializer_DESC$"
This will give the system a name and description. As you will notice the name here is the same as the name on the system in the Black Hole System file you have previously placed. This is important otherwise the game will not find the name properly.
Once complete you should have a brand new working starter solar system.
Have fun making Mods!
First Step, use the "Mod Tool" in the launcher:
Type in the name of the Mod you want to create, in this case we will use "Solar Systems". For simplicity on this first mod we will have both Name and Directory called the same thing.
Once you Click the Create Button a Mod will be created in the file:
C:\Users\<user>\Documents\Paradox Interactive\Stellaris\mod
As seen here
Now COPY the "solarsystem" file into the "solarsystem" folder. Once complete edit the solarsystem file INSIDE the folder. Since we are adding a custom solar system and we want a description for it we will also need to add a localization file. The 'path' needs to follow the same 'path' as if it were in the installed game files. Where 'mod' stands in for 'stellaris'
Next we need to mod up a solar system. This first one is just a black hole with one planet with a moon and one asteroid. The text for that can be found in the file at the bottom of the post. You will notice that there are some init_effect for the planet. These are to insure the capital and a few resources are placed. You can copy those or change them to fill all the slots on a planet and any that are left blank will be auto generated randomly. For more modifiers you can look in these game files:
\Stellaris\common\planet_modifiers
\Stellaris\common\planet_classes
\Stellaris\common\buildings
\Stellaris\common\tile_blockers
Once done, using folders create the same 'path' as in the mod file. Saving the system in to there.
Lastly we need create the localisation file. This is to give a description to the system on the planet type selection screen in the species maker. The name of the file is 'solarsystem_l_english.yml' if you speak a different language, ensure the language you pick is supported. The naming convention will be the same. Place the file in the same 'path' for localization as you did for the last file.
Once placed inside the proper file, edit solarsystem_l_english.yml with a texted editor. We will be adding three lines of text to the file. They are:
l_english:
black_hole_system_NAME: "Black Hole"
black_hole_system_DESC: "This is a test system.\n\n$system_initializer_DESC$"
This will give the system a name and description. As you will notice the name here is the same as the name on the system in the Black Hole System file you have previously placed. This is important otherwise the game will not find the name properly.
Once complete you should have a brand new working starter solar system.
Have fun making Mods!
Attachments
Last edited:
- 4
- 2