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

mial42

Lt. General
21 Badges
Sep 28, 2020
1.441
3.103
  • Stellaris - Path to Destruction bundle
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Charlemagne
So I made a quick mod that allows a player to designate a planet as an emmigration source and an immigration target, which dramatically increases emigration push and immigration pull. The idea is to allow for pseudo-automated resettlement of organic slaves without a performance hit. Part of the mod is this defines file:
NPop = {
MAX_EMIGRATION_PUSH = 99999
MAX_GROWTH_FROM_IMMIGRATION = 9999
MAX_GROWTH_PENALTY_FROM_EMIGRATION = .99 # Fraction of base monthly growth
}

The first two work fine, but in game MAX_GROWTH_PENALTY_FROM_EMIGRATION isn't working. On an ecumenepolis with 7.59 organic growth / month, only 7.21 are emigrating, which is .95 * 7.59 (the default value), not .99 * 7.59. No other mod overwrites this define, and I have this mod last in the load order.

EDIT: My mistake, I didn't realize you needed the 0 in front of .99.
 
Last edited: