Skip to content

Planet Size

MMZTimeLord edited this page Mar 6, 2021 · 11 revisions

Galactic Scale Plug-In - Planet Size

Generalities

The vanilla game has 3 types of planitary bodies that it generates:

  • Telluric planets (Rocky Planets - such as Mercury, Earth, Mars, etc. in our own Solar System)
  • Gas Giant planets (Also known as Jovian planets - Saturn, Jupiter, Neptune, etc. in our own Solar System)
  • Moons orbiting around Gas Giants (limited to Telluric types for now)

Inside the vanilla game the telluric planets & the moons are the same size. The Planet Size Module, allows you to customize the size of the planets generated in the universe.

A planet Size is always dependant of 2 factors: Radius and Scale

Vanilla Values for these planets are as follows:

Moons & Telluric Planets have a Radius of 200 and Scale of 1 (Real Size = Radius x Scale = 200 x 1 = 200)

Gas Giant have a Radius of 80 and Scale of 10 (Real Size = Radius x Scale = 80 x 10 = 800)

How to configure the sizes of these planets?

Go into the config files and modify : Dyson Sphere Program\BepInEx\config\touhma.dsp.galactic-scale.planet-size.cfg

You can also change these parameters in r2modman in the Config editor section and pick touhma.dsp.galactic-scale.planet-size

Telluric Planets & Moons Size Settings

EnableMoonSizeFailSafe (boolean): True (enabled) / False (disabled)

Default value: true.

Enable and the moon will never be bigger than the host planet.

This is a limited version of the resizing feature. This is temporary until variable resizing feature can be fixed.

EnableLimitedResizingFeature (boolean): True (enabled) / False (disabled)

Default value: true.

If either EnableLimitedResizingFeature or EnableResizingFeature are true it will automatically set EnableCustomStarAlgorithm=true.

The EnableLimitedResizingFeature has priority over EnableResizingFeature.

LimitedResizingArray (array): Chain of integers. Comma delimited.

Default value: 50, 100, 200

These are values we KNOW work in the current mod. Change at your own risk!

LimitedResizingChances (array): Chain of floats. Comma delimited. Percentages expressed as floats.

Default value: 0.5,0.8,1

A random percentage is generated for each planet. Chances for each size to appear: 0-50% (0.5) for first size, 51-80% (0.8) for second size, 81-100% for third size.

This translates to a 50% chance of the first size, 30% chance of the second size and 20% chance of the third size.

Gas Giant Size

Now this one is a bit more tricky. As I said before, the scale of the gasgiant have a value of 10 so keep in mind your value will be divided by 10. A value of 800 will lead to a size 800 in the end ( the vanilla size )

BaseGasGiantSize (integer) : Default = 2000

BaseGasGiantSizeVariationFactor (integer) : Default = 1200 (This will randomly generate a number in a range between -1200 and 1200 in steps of 10)

The Final result will take BaseGasGiantSize and randomly add or remove BaseGasGiantSizeVariationFactor

I highly recommand to keep the minimum size of a gas giant at a minimum of 800

Based on the defaults 2000-1200 = 800 = minimum size. 2000+1200 = 3200 = maximum size. This Results in a Gas Giant size ranging from 800 to 3200 in steps of 10. i.e. 800, 810, 820, etc. all the way to 3200.


This is the Variable version of the resizing feature. This is broken for now.

DO NOT USE!

EnableResizingFeature (boolean): True (enabled) / False (disabled)

BaseTelluricSize (integer) : Default = 280

MinTelluricSize (integer) : Default = 80

MaxTelluricSize (integer) : Default = 480

BaseTelluricSizeVariationFactor (integer) : Default = 200 (This will randomly generate a number in a range between -200 and 200 in steps of 10)

The Final result will take BaseTelluricSize and randomly add or remove BaseTelluricSizeVariationFactor but keeping the value between MinTelluricSize & MaxTelluricSize

Based on the defaults 280-200 = 80 = minimum size. 280+200 = 480 = maximum size. This Results in a Telluric Planet size ranging from 80 to 480 in steps of 10. i.e. 80, 90, 100, etc. all the way to 480.