• 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.

CrouchingLemur

Sergeant
97 Badges
Jan 3, 2016
85
466
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - After Dark
  • Crusader Kings II: Jade Dragon
  • Pillars of Eternity
  • Cities: Skylines Deluxe Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • The Showdown Effect
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Third Rome
  • Dungeonland
  • Europa Universalis III
  • Hearts of Iron III
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Warlock: Master of the Arcane
  • Teleglitch: Die More Edition
Hello everyone!
Today, I began my journey with modding games - Stellaris in particular!
I made some simple mods with almost only changing defines, only in one of them I had to play with localisation too.
Now I have some different idea, more complicated, and I have no idea how to make it. :(
Full disclaimer: I don't expect anyone to do the mod for me, I just need some guidelines.

I want to make a mod that would make it possible to give controlled planet a permanent modifier, which could be upgraded or would stack. Let's say, +2% happiness. I am thinking of doing it with edict, so for example, there would be edict "Happiness Growth" which would either give a permanent bonus +2% happines for this planet, or it would give this planet a modifier. Then, edict "Happiness Growth II" would appear in edict list, as it would only appear once said planet had previous modifier/edict on it.

What I don't know:
1) where to add planet modifier in files so it could be used in game?
2) how to make an edict give planet said modifier? (or make edict permanent)
3) how to make an edict check if there is already said modifier(or permanent edict) on planet so it could be upgraded by next edict?
4) where can I find modifier "capital world"(or sth like that) so I could use it as a pattern?

With answers to these question I hope to be able to create the mod I have in mind.
 
Last edited: