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!
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!