Skip to content

StarModule

Schema Type: JSON Type: object

No Description Found

curve

Type: array

Scale this object over time. Time value is in minutes.

Items

Type: TimeValuePair

No Description Found

See Definitions/TimeValuePair

endTint

Type: MColor

Colour of the star at the end of its lifespan.

See Definitions/MColor

lifespan

Type: number Default: 22

How long in minutes this star will last until it supernovas.


hasStarController

Type: boolean Default: true

Should we add a star controller to this body? If you want clouds to work on a binary brown dwarf system, set this to false.


hasAtmosphere

Type: boolean Default: true

The default sun has its own atmosphere that is different from regular planets. If you want that, set this to
`true`.


lightTint

Type: MColor

Colour of the light given off. Defaults to yellowish.

See Definitions/MColor

size

Type: number Minimum: 0Default: 2000

Radius of the star.


solarLuminosity

Type: number Minimum: 0Default: 1

Relative strength of the light compared to the sun.


supernovaSize

Type: number Minimum: 0Default: 50000

Radius of the supernova. Any planets within this will be destroyed.


supernovaSpeed

Type: number Minimum: 1Default: 1000

Speed of the supernova wall in meters per second.


supernovaTint

Type: MColor

The tint of the supernova this star creates when it dies.

See Definitions/MColor

tint

Type: MColor

Colour of the star.

See Definitions/MColor

starRampTexture

Type: string

Path to the texture to put as the star ramp. Optional.


starCollapseRampTexture

Type: string

Path to the texture to put as the star ramp while it is collapsing. Optional.


lightRadius

Type: number Minimum: 0Default: 50000

How far the light from the star can reach.


stellarDeathType

Type: StellarDeathType Default: default

The type of death your star will have.

See Definitions/StellarDeathType

stellarRemnantType

Type: StellarRemnantType Default: default

The type of stellar remnant your star will leave behind.

See Definitions/StellarRemnantType

solarFlareSettings

Type: SolarFlareModule

Allows overriding solar flare graphical settings.

See Definitions/SolarFlareModule