Logo Platform
logo amplifiers simplified
Frogsquadron

Frogsquadron

7 years ago Dec 05,2017, 14:56:58 PM

Modding 101

Reply
2 295 Views
11 Comments



Hey everyone!


Over the next couple of weeks, we will give the beginners among you some help in attempting to create your first mod. The prize? The potential to win one of ModDB's Endless Space 2 Modding Contest's awesome prizes!


Let's do it by the book, quite literally, and start with a reference guide that will help you take your first steps in modding ES2. It contains heaps of helpful advice, from "hot not to mess up your game" to "how to restore it once you've gone ahead and messed it up anyway." Make sure you take a look: Modding - Endless Space 2



But if you've got no time to spare, you could always look at the examples below and let your creativity loose! (But once you've messed up with your game, make sure you check the guide for more info)



CREATING A MOD FOR PEOPLE WITH LOTS OF IDEAS AND LITTLE TIME

Community folder 

If it doesn't already exist, create a new folder named “Community” in:
On PC: My Documents\Endless Space 2
On Mac: in “Library” then open the folder Application support\Endless Space 2
It's in this folder that you will place your mod folders.


Starter Pack

We prepared a starter pack that contains all files and folders you need to create your first mod:

StarterPack.zip

You can also look at our example mods to understand how to build your mod:

ExampleReskin.zip: Reskins the Sophon Home World + Craver large ship
ExampleTechnology.zip: Adds an era1 technology
ExampleSimpleQuests.zip: Adds a quest with two variants

ExampleModule.zip: Adds a negative evasion value to the basic defense module

OverColonizationValue.zip: Changes the over colonization threshold to 100 for all galaxy size
ExampleHero.zip: Adds a new Hero to the roster (For testing purposes, modifies the United Empire to have it unlocked immediately)

ExampleBalancing.zip: Reduces the cost of the starting improvements



Structure

In the Starter Pack you will find: 

  • Gabarit.xml: an XML file (commented!) which must be at the root of your mod folder. You just need to replace all "#########" with your own data. Be sure to name your mod folder and your XML without spaces or special characters (like "&").
  • Documentation folder contains information files like: 
    • DataTypes.txt: your new best friend! This file lists all the different data types that can be edited through XML, as well as their respective files, located in ES2's installation folder's subfolder "Public". The very last version of all our DataTypes could be seen here (v.22062017): Endless Space 2-22062017.xml
    • Interpreter.txt: Interpreter Formula Documentation
    • Simulation.txt: Simulation Syntax Documentation
    • Schemas Folder: It will help you to fill or check your XML files (need to be called in the file header)


COMMUNITY TUTORIALS

- FACTION TRAITS + EXAMPLE MOD  by Cyrob


MISCELLANEOUS

- List of all ships models and their module slot names



And that's it! This is pretty much all you need to do to get your hands dirty and start messing with the game's XML. If you have any questions, you can always ask the pros the Modding forum.



What's the mod you're itching to try your hand at?

Copied to clipboard!
0Send private message
7 years ago
Dec 5, 2017, 4:01:40 PM

I can't say enough how helpful the Discord channel is. If you want to mod, it's an amazing resource (and the people there are awesome). And there's a Cyrob too! <3

0Send private message
7 years ago
Dec 5, 2017, 6:21:25 PM

Man, it doesn't help that this is happening during exam week for me. Otherwise, I'd have tried my hand at making a Heretic Vodyani Ship-Skin Mod.

0Send private message
7 years ago
Dec 5, 2017, 11:58:23 PM

No other company does this, you guys are amazing 

0Send private message
7 years ago
Dec 6, 2017, 5:07:33 AM

Oh wow, I have to give this a go. Is it possible to make new minor factions? I refuse to believe that the Drakken, canonically, never made it off Auriga-!

0Send private message
7 years ago
Dec 6, 2017, 10:36:22 AM

As Cyrob pointed out, we're always happy to help out on the modding chan of the Discord! Don't hesitate to ping Amplitude there.

Updated 7 years ago.
0Send private message
0Send private message
7 years ago
Dec 12, 2017, 3:07:32 PM

I have a good idea of mod but won't get time to do it : progressive difficulty.

A mod looking what I did for EL. I think there is a need, I saw some comment on steam about that, it could help to overcome the "snowball effect".

0Send private message
7 years ago
Dec 18, 2017, 12:00:12 PM

I'd quite like to implement the riftborn time warp effect reskin I suggested here:
https://www.games2gether.com/endless-space-2/ideas/526-saturation-lenses-clean-and-more-scientifically-explainable-time-warp-effects

I'll look into how feesible this is and try and port some of my dev-ops knowledge to modding. :P

I might settle with adding in icons above the system affected by the singularity kindda like the vodyani hunting grounds icon. Famous last words -> "How hard can it be?"

0Send private message
7 years ago
Dec 24, 2017, 1:30:57 PM

There is one thing I would be very interested to do. The one thing that bothers me is how certain anomalies show up on planets that could not support them in real life (not counting the fictitious ones). I would like to sit down and go through all one day.

So if I was to make the Ultimate Anomalies Mod, where would I need to start?

0Send private message
7 years ago
Jan 9, 2018, 2:51:46 PM
twimpix wrote:

There is one thing I would be very interested to do. The one thing that bothers me is how certain anomalies show up on planets that could not support them in real life (not counting the fictitious ones). I would like to sit down and go through all one day.

So if I was to make the Ultimate Anomalies Mod, where would I need to start?

Hello twimpix,


You have a file called AnomalyDefinition.xml that will allow you to add Generator information to forbid planet types for each anomaly


Cheers,

0Send private message
?

Click here to login

Reply
Comment