Starbound

Starbound

TrueSpace
This topic has been locked
Dr Funny Bone 25 Jan, 2017 @ 12:32am
Frackin' Universe's Planets Undersize
When using this mod in conjunction with FU, the planets only form in post-1.0 planetary sizes (i.e 1000-6000 sectors in size). In FU, planets form in pre-1.0 sizes which are significantly larger. Is there a way to restore TS's planets to form with FU sizes?
< >
Showing 1-7 of 7 comments
Dr Funny Bone 25 Jan, 2017 @ 12:34am 
I saw this in the comments and thought that I would make a discussion about it, to help other users with the same problem. I have been looking into the celestial.config.patch file in TS but I cannot figure out how to change the planet size. Any help is appreciated.
HammyHammerGuy  [developer] 25 Jan, 2017 @ 6:10am 
The way I see it potentially, its to make a mod with a dependency for FU and TS that alters the "variationParameters" for the planet types in "celestial.config.patch". Alternatively, to skip having FU as a dependency, make a separate version using FU's planet size specs as a base from its "terrestrial_worlds.config.patch" leaving TS as the lone dependency.
bk3000  [developer] 25 Jan, 2017 @ 6:22am 
You don't replace this mod's celestial.config.patch with FU's, but you do integrate some of the data from it particularly with regards to planet size selection.

Look at /planetaryTypes/ and the planets within. For example look at this path.
/planetaryTypes/blackSunHabitable/values/variationParameters
You see the size selections there.

I'm talking about in FU's patch file, as there is no "blackSunHabitable" type in TS. Rather they just added the FU biomes to the planet types that you'll find in TS systems.

You see things like this in TS
"variationParameters": [ { "imageScale": 0.1, "smallImageScale": 0.5, "worldSize": "medium" }, { "imageScale": 0.125, "smallImageScale": 0.6, "worldSize": "large" } ]
but in FU you see things like this
"variationParameters" : [ { "imageScale" : 0.075, "smallImageScale" : 0.4, "worldSize" : "small" }, { "imageScale" : 0.1, "smallImageScale" : 0.5, "worldSize" : "medium" }, { "imageScale" : 0.15, "smallImageScale" : 0.6, "worldSize" : "large" }, { "imageScale" : 0.21, "smallImageScale" : 0.70, "worldSize" : "huge" }, { "imageScale" : 0.27, "smallImageScale" : 0.75, "worldSize" : "mega" }, { "imageScale" : 0.32, "smallImageScale" : 0.80, "worldSize" : "immense" } ]

So take that particular data and replace TS's own "variationParameters" data with it.

In fact, you do as you like so you could delete the "small" and "medium" worlds if you like.
Last edited by bk3000; 25 Jan, 2017 @ 6:35am
bk3000  [developer] 25 Jan, 2017 @ 7:05am 
Originally posted by HammyHammerGuy:
The way I see it potentially, its to make a mod with a dependency for FU and TS that alters the "variationParameters" for the planet types in "celestial.config.patch". Alternatively, to skip having FU as a dependency, make a separate version using FU's planet size specs as a base from its "terrestrial_worlds.config.patch" leaving TS as the lone dependency.

This is of course your mod so I won't tell you to add larger planets or not. But if you wanted to without need of FU as a dependency.

terrestrial_worlds.config.patch -
[ [ { "op" : "test", "path" : "/planetSizes/huge", "inverse" : true }, { "op" : "add", "path" : "/planetSizes/huge", "value" : { "size" : [8000, 4000], "gravityRange" : [80, 110], "dayLengthRange" : [900, 2000], "layerDefaults" : { "secondaryRegionPeriod" : [5000, 5000], "secondaryRegionSize" : [0.5, 1.3], "secondaryRegionCount" : [1, 5], "subRegionSize" : [0.25, 0.47], "dungeonCountRange" : [1, 6] }, "layers" : { "space" : { "baseHeight" : 3500, "layerLevel" : 3000 }, "atmosphere" : { "baseHeight" : 3000, "layerLevel" : 2600 }, "surface" : { "baseHeight" : 2000, "layerLevel" : 1800 }, "subsurface" : { "baseHeight" : 1200, "layerLevel" : 1000 }, "underground1" : { "baseHeight" : 900, "layerLevel" : 800 }, "underground2" : { "baseHeight" : 700, "layerLevel" : 600 }, "underground3" : { "baseHeight" : 500, "layerLevel" : 400 }, "core" : { "baseHeight" : 220, "layerLevel" : 0 } } } } ], [ { "op" : "test", "path" : "/planetSizes/mega", "inverse" : true }, { "op" : "add", "path" : "/planetSizes/mega", "value" : { "size" : [11000, 7000], "gravityRange" : [90, 150], "dayLengthRange" : [1200, 3000], "layerDefaults" : { "secondaryRegionPeriod" : [3000, 3000], "secondaryRegionSize" : [0.5, 1.5], "secondaryRegionCount" : [1, 8], "subRegionSize" : [0.25, 0.5], "dungeonCountRange" : [2, 7] }, "layers" : { "space" : { "baseHeight" : 6500, "layerLevel" : 5700 }, "atmosphere" : { "baseHeight" : 5500, "layerLevel" : 4600 }, "surface" : { "baseHeight" : 4000, "layerLevel" : 3200 }, "subsurface" : { "baseHeight" : 3000, "layerLevel" : 2500 }, "underground1" : { "baseHeight" : 1500, "layerLevel" : 1000 }, "underground2" : { "baseHeight" : 900, "layerLevel" : 800 }, "underground3" : { "baseHeight" : 700, "layerLevel" : 600 }, "core" : { "baseHeight" : 400, "layerLevel" : 0 } } } } ], [ { "op" : "test", "path" : "/planetSizes/immense", "inverse" : true }, { "op" : "add", "path" : "/planetSizes/immense", "value" : { "size" : [16000, 8000], "gravityRange" : [90, 180], "dayLengthRange" : [1500, 4000], "layerDefaults" : { "secondaryRegionPeriod" : [3000, 3000], "secondaryRegionSize" : [0.5, 0.92], "secondaryRegionCount" : [1, 12], "subRegionSize" : [0.25, 0.55], "dungeonCountRange" : [3, 9] }, "layers" : { "space" : { "baseHeight" : 7500, "layerLevel" : 6600 }, "atmosphere" : { "baseHeight" : 6500, "layerLevel" : 5500 }, "surface" : { "baseHeight" : 4200, "layerLevel" : 3100 }, "subsurface" : { "baseHeight" : 2800, "layerLevel" : 2000 }, "underground1" : { "baseHeight" : 1900, "layerLevel" : 1700 }, "underground2" : { "baseHeight" : 1575, "layerLevel" : 1200 }, "underground3" : { "baseHeight" : 1225, "layerLevel" : 950 }, "core" : { "baseHeight" : 200, "layerLevel" : 0 } } } } ] ]

This mod loads after FU if present anyhow. And that patch would avoid patchwork that is already done, but if not then it adds those planet sizes. I did JSON LINT test it this time :P but you still might want to test it in game... supposing you want to include larger planets.
HammyHammerGuy  [developer] 25 Jan, 2017 @ 7:16am 
I recommended it as a potential standalone mod of a mod as its personal choice to keep it more in line with vanilla game world sizes; however I can see the appeal of larger sizes if someone was using FU and wanted to keep their planet count on the down low.
bk3000  [developer] 25 Jan, 2017 @ 7:23am 
True not everyone would want that. Adding the larger planets might as well be it's own mod(I don't "think" one is out there like that currently). That mod could in turn alter planet size selections from this mod if present.

I might as well pop that mod out, unless you'd rather do it.

correction:
There is a mod that does the planet sizes(and varied gravity according to size) as part of Unigen. But then it doesn't handle adding them into TS systems if present and I don't think it would play well with FU either. So I could make a mod that does this but is more flexible so that it still works with or without other mods.
Last edited by bk3000; 25 Jan, 2017 @ 7:32am
HammyHammerGuy  [developer] 26 Jan, 2017 @ 9:35am 
Closed in favor of bk3000's released relevant mod in a pinned topic.
< >
Showing 1-7 of 7 comments
Per page: 1530 50