How to place a planet at the center of the system?

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

Mitchz95

Field Marshal
17 Badges
Feb 4, 2016
3.537
2.571
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Major Wiki Contributor
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
I've been trying to do this for a mod I'm working on, but it's running into some trouble. When I place the planet at the center (where the star would normally be) it turns invisible. If I place it close to the center (orbit_distance = 5) it appears tilted on its side and turns invisible again if I zoom in on it.

Are there any mods that do this successfully? Any tips I could use to fix mine?
 

ZomgK3tchup

Into the Future
128 Badges
Dec 25, 2009
4.993
4.708
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Rome: Vae Victis
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • The Kings Crusade
  • Majesty 2 Collection
  • March of the Eagles
  • Victoria 2: Heart of Darkness
  • Pirates of Black Cove
  • Gettysburg
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Deus Vult
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Arsenal of Democracy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
My knowledge of Stellaris modding is tenuous, but...

Have you tried making a star that functions as a planet instead of a planet that functions as a star? If you haven't already, what about adding "star = yes" to the planet class?
 

Mitchz95

Field Marshal
17 Badges
Feb 4, 2016
3.537
2.571
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Major Wiki Contributor
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
Have you tried making a star that functions as a planet instead of a planet that functions as a star? If you haven't already, what about adding "star = yes" to the planet class?

I did try this, but it applies the star light to the planet and I can't figure out how to remove it.

n5rBDws.jpg