Formula for finding The max population of a planet??? |
I was wondering if there is a way to determine the max population for a planet. What I am trying to do is make a race trait or societ that can have higher populations without just adding a number to the max. I want to add a %. I.E. race1 planet max pop is 150% higher. instead of how I am doing it now with race1 gets 2000 more max pop on planets.
Re: Formula for finding The max population of a planet???
Ahh...
Its highly complex, as you have to tell the game to calculate it on the fly. There is no way to directly look it up.
As you are working with the data fils, it is even more complex, and the ability to look up the nessesary information might not even be available depending on the file you are working with.
It is probably impossible to set it up directly as a Racial Ability.
You might be able to include a new facility that requires a certain ability, and have that facility modify the max pop in the way you want. IF it works (and that is unlikely), you are in for some complicated iif statements.
"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod
Re: Formula for finding The max population of a planet???
I agree.
Multiplying by a percent beats adding a flat number any day.
"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod




Re: Formula for finding The max population of a planet???
Is this in the Data files, or in the AI script?
"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
GidMod