StarModule
No Description Found
curve
Scale this object over time. Time is in minutes. Value is a multiplier of the size of the object.
lifespan
How long in minutes this star will last until it dies. This value is ignored if stellarDeathType is set to None.
hasStarController
The StarController component is used to calculate atmospheric shaders (e.g., sunrise/sunset and) on planets.
When there are multiple stars in a system, the closest and brightest one to the player is used to calculate these.
Sometimes you do not want a StarController, say if the star is within clouds or an atmosphere or is meant to be overpowered by a brighter star.
In those instances, set this to False. An atmosphere which has shaders enabled with a star inside it will appear bugged.
hasAtmosphere
The default sun has its own atmosphere that is different from regular planets. If you want that, set this to
`true`.
size
Radius of the star.
solarLuminosity
Relative strength of the light compared to the sun.
supernovaSize
Radius of the supernova. Any planets within this will be destroyed.
supernovaSpeed
Speed of the supernova wall in meters per second.
supernovaTint
The tint of the supernova this star creates when it dies.
starRampTexture
Path to the texture to put as the star ramp. Optional.
starCollapseRampTexture
Path to the texture to put as the star ramp while it is collapsing. Optional.
lightRadius
How far the light from the star can reach.
stellarDeathType
The type of death your star will have.
stellarRemnantType
The type of stellar remnant your star will leave behind.
solarFlareSettings
Allows overriding solar flare graphical settings.