To whom it may concern: Cause and fix for Gaia terraforming destroying features

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

dezuman

Retired M&T team member
73 Badges
Nov 1, 2011
1.167
652
  • Europa Universalis III
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Cities: Skylines
  • BATTLETECH
  • Stellaris: Nemesis
  • Surviving Mars
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
I haven't after a casual look found this already posted, so here:

The reason Gaia terraforming destroy features is because the three special 1-district gaia features all have zero weight, which apparently blocks terraforming swapping. Setting their weight to e.g. 0.01 will fix this.
Code:
If you want to fix it yourself:
Open up stellaris/common/deposits/01_planetary_deposits.txt,
go to the bottom of the file, and change this:

    drop_weight = {
        weight = 0 #does not occur naturally
        modifier = {
            factor = 0
            NOT = { is_planet_class = pc_gaia }
        }      
    }

To this:

    drop_weight = {
        weight = 0.01 #does not occur naturally
        modifier = {
            factor = 0
            NOT = { is_planet_class = pc_gaia }
        }      
    }

For the last three entries (d_buzzing_plains, d_mineral_striations and d_natural_farmland)
 

Xentropy

Private
125 Badges
Jan 8, 2019
20
1
  • Tyranny - Tales from the Tiers
  • Stellaris: Synthetic Dawn
  • Tyranny: Archon Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Victoria 3 Sign Up
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Age of Wonders: Planetfall
  • Crusader Kings II: Conclave
  • Cities: Skylines - Campus
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Magicka: Wizard Wars Founder Wizard
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • BATTLETECH
  • Surviving Mars
  • Tyranny - Bastards Wound
  • Prison Architect
  • Cities: Skylines - Parklife
  • Age of Wonders
  • Imperator: Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV
  • Age of Wonders II
  • Europa Universalis IV: Golden Century
  • Europa Universalis III Complete
  • Imperator: Rome Deluxe Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis III Complete
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Shadowrun: Dragonfall
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Victoria 2
  • Warlock: Master of the Arcane
  • War of the Roses
  • Cities: Skylines
Probably won't help planets that have already been terraformed, since I suspect the features are irrevocably lost after the conversion. Should work for a game-in-progress before terraforming completion though.

There was a thread calling out this issue with a link to a mod fix a while back, but can't remember whether it was in the main or bug subforum.
 

dezuman

Retired M&T team member
73 Badges
Nov 1, 2011
1.167
652
  • Europa Universalis III
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Cities: Skylines
  • BATTLETECH
  • Stellaris: Nemesis
  • Surviving Mars
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
Thanks for the tip!
The potential of these deposits already says "is_planet_class = pc_gaia". Why are you adding
Code:
           modifier = {
           factor = 0
            NOT = { is_planet_class = pc_gaia }
        }
to the drop weight?

Isn't it like that in the base game? I have no idea why I would have added it xD
 

Masoz

Captain
16 Badges
Sep 3, 2018
380
1
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Stellaris: Synthetic Dawn
Huh. I thought there were no 1-district gaia features in the code. Seems the intention was to make them never occur naturally and only as a terraforming feature.
 

dezuman

Retired M&T team member
73 Badges
Nov 1, 2011
1.167
652
  • Europa Universalis III
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Cities: Skylines
  • BATTLETECH
  • Stellaris: Nemesis
  • Surviving Mars
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
Huh. I thought there were no 1-district gaia features in the code. Seems the intention was to make them never occur naturally and only as a terraforming feature.

That's the thing: Initially Gaia terraforming destroyed features because the 1-district features of normal planets had no Gaia-equivalent to swap to. In 2.2.3? they added these, but with 0 weight of occurring. This last point however also prevented them from being swapped to by terraforming, thus not fixing the issue it was supposed to.
 

Rithral

Major
35 Badges
Dec 16, 2002
757
160
Visit site
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Colonel
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
  • Semper Fi
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • For the Motherland
  • Hearts of Iron III
  • Victoria: Revolutions
  • Hearts of Iron II: Armageddon
  • Victoria 2
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
That's the thing: Initially Gaia terraforming destroyed features because the 1-district features of normal planets had no Gaia-equivalent to swap to. In 2.2.3? they added these, but with 0 weight of occurring. This last point however also prevented them from being swapped to by terraforming, thus not fixing the issue it was supposed to.
Which means they implement a fix with out testing it...