Fractal Softworks Forum

Starsector => General Discussion => Topic started by: n3xuiz on June 13, 2022, 05:57:07 PM

Title: a way to change the size of a planet?
Post by: n3xuiz 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.
Title: Re: a way to change the size of a planet?
Post by: SafariJohn 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.
Title: Re: a way to change the size of a planet?
Post by: n3xuiz on June 13, 2022, 06:45:48 PM
i found it! thanks for the advice.