Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: a way to change the size of a planet?  (Read 1713 times)

n3xuiz

  • Commander
  • ***
  • Posts: 219
    • View Profile
a way to change the size of a planet?
« on: June 13, 2022, 05:57:07 PM »

in the past i've changed the size (radius) of planets i colonized to make them bigger. the thing is once i've colonized them i can't reliably find the radius value in the save file.

before colonization i'd just open the campaign.xml in np++ and search for planet name and then change the radius value that was nearby. but once i've settled the planet and built some industries the tons of added lines mean i can't find it anymore.


is there

a) a way for me to step-by-step search the file to find the value

b) a way to edit it ingame via a console command ala runcode(...)

i'd really appreciate any advice so i can increase the size of my planet to finally be able to build astropoli around it.
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3010
    • View Profile
Re: a way to change the size of a planet?
« Reply #1 on: June 13, 2022, 06:31:52 PM »

Every saved object has an ID that is unique in that save file. If you can find any entry referencing the planet, you can pull up all entries with that ID and one of them should have the radius variable in its data.
Logged

n3xuiz

  • Commander
  • ***
  • Posts: 219
    • View Profile
Re: a way to change the size of a planet?
« Reply #2 on: June 13, 2022, 06:45:48 PM »

i found it! thanks for the advice.
Logged