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

Magical Chicken

Sergeant
24 Badges
Apr 15, 2016
66
73
  • Cities: Skylines Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Cities: Skylines
  • Crusader Kings II
Earth, mars and the moon have custom entities that override their appearance. This can be done by pre-scripting a system and can be modified by messing around with the save files. However I was wondering whether there is a command that allows you to easily change entities in game (preferably through an event)? Planet class, for example, can be easily changed with the console 'planet_class' command or in events with 'change_pc'. Is there an entity equivalent?
 
Did you ever figure this out? I'm trying to make it work as well.

I tried using this in the code, but it doesn't seem to work:

Code:
if = {
           limit = { is_planet_class = pc_continental }
           entity = "continental_planet_earth_entity"
           }

Ideally, this would prevent the custom texture from appearing unless Earth was a continental world. In practice, though, it ignores the entity and just spawns a regular continental planet.
 
hmmm, this should be possible through events, maybe.

You have planets that change type (as mentioned in the original post) through event, for example, and thus change entity. I will have a look and see if I can find anything
 
A temporary work-around would be a bunch of custom planet-classes with entity pre-defined. Then you could use change_pc to switch.

Of course, that then results in a lot of reliances, such as custom habitability traits.
 
Did you ever figure this out? I'm trying to make it work as well.

I tried using this in the code, but it doesn't seem to work:

Code:
if = {
           limit = { is_planet_class = pc_continental }
           entity = "continental_planet_earth_entity"
           }

Ideally, this would prevent the custom texture from appearing unless Earth was a continental world. In practice, though, it ignores the entity and just spawns a regular continental planet.
I haven't actually managed to get anything to work yet.
But I can tell you what doesn't work!
- 'entity' obviously
- 'entity_name' (from save files)
- 'change_entity' <- at this point I was just guessing
 
Necromancing this thread to give the solution:

effect set_planet_entity = { entity = "continental_planet_earth_entity" }

effect set_planet_entity = { entity = "cold_barren_planet_luna_entity" }

effect set_planet_entity = { entity = "barren_planet_mars_entity" }
 
  • 1
Reactions: