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

Ventessel

Second Lieutenant
8 Badges
Aug 31, 2014
193
114
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis IV
  • Hearts of Iron III
  • Pillars of Eternity
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
I want to create a mod that differentiates the factions based on their species, but I'm not sure quite how to do that.

Can anyone with knowledge of the game engine chime in and let me know if this might work?

What I'm thinking is that I'll write up some special traits, initially for races, but later for leaders too if this works. I'd like to have a function check their species for purposes of giving certain traits only to certain races.

The other factor is that I'd like for this to be reflected in the empire creation screen when the player is designing a custom empire. If I have trait conditions dependent on the species, will they update if/when the player changes their species while creating their empire? Would this need to be scripted in defines.lua as well?

Thanks!