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

LogicSequence

Lightwave Alien
25 Badges
Sep 25, 2006
452
11
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Age of Wonders: Planetfall - Revelations
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Ancient Space
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • Magicka
  • Crusader Kings II
So i've run into a problem with the change_pc command and i don't know how to solve it (via scripting at least). In my custom solar system there is a planet that is a standard planet class, but has a custom entity:

Code:
    planet = {
        class = "pc_ringworld_habitable"
        entity = "ringworld_habitable_custom_01_entity"
...

Now because it has a custom entity, whenever change_pc is used on it, the planet class changes, but the entity (the model, graphics, etc...) remain unchanged. Is there any way to deal with this? Is there a way to change the entity as well via scripting?