Space Engineers

Space Engineers

Real Stars
 This topic has been pinned, so it's probably important
Echthros  [developer] 12 Feb, 2024 @ 8:47pm
Config Values
---General Settings---
<OverrideFromConfig> Default = false
When true, the world will read from the Config.xml file to load the stars instead of from the info stored in the Sandbox.sbc. Will be set back to false on the next save.

<GlobalSunlightColor> Default = (255, 255, 255)
Sets the color of global directional light.

<LensFlareOpacityMult> Default = 1
Multiplier to the strength of the lens flare on stars.

<LensFlareSizeMult> Default = 1
Multiplier to the size of the lens flare on stars.

<SolarBlocksEffectivenessMin> Default = 0.01
Minimum effectiveness multiplier to solar block productivity based on distance from nearby stars. A value of 0 means that their productivity has no lower limit. A value of 1 means they will never drop below normal productivity.

<SolarBlocksEffectivenessMax> Default = 10
Maximum effectiveness multiplier to solar block productivity based on distance from nearby stars. A value of 1 means that their productivity will not go above normal. A very high value means that their productivity will keep rising the closer to the star you get.

<SunDamagePlayers> Default = true
Sets whether the player take damage from getting too close to stars.

<SunDamageGrids> Default = true
Sets whether grids take damage from getting too close to stars.

<DrawPlanetSpawnGuideLines> Default = true
Sets whether the planet placement guidelines will appear around stars after opening/closing the debug spawn menu. Generally leave this as true while constructing your system(s) and set to false when you are ready to play. Leaving it on won't hurt anything, but it will draw big debug lines every time you close the spawn menu.

---Individual Star Settings---

<StarName>
Name of the star in the world. Used to identify which star the settings will affect.
DO NOT CHANGE!

<StarCustomName>
Name of the star used in the Config. Used only as an identifier to keep track of which star is which in the file. Can be set to anything.

<Radius> Default = 50
Radius of the star in km.

<EffectColor> Default = (255, 200, 20)
Color of the star visual effects.

<EffectBrightness> Default = 1
Multiplier to the brightness of the star visual effects. Does not affect actual light output.

<LightBrightness> Default = 1
Multiplier to the brightness of the light the star emits.

<DamageRadius> Default = 150
Radius of the star's damage field in km.

<GravityStrength> Default = 10
Strength of the star's gravity.

<GravityFalloff> Default = 7
Falloff power for the star's gravity. Set to 7 for default planet falloff. Set to 2 for realistic falloff (and for use with Real Orbits).

---Individual Planet Settings---

<PlanetName>
Name of the planet in the world. Used to identify which planet the settings will affect.
DO NOT CHANGE!

<PlanetCustomName>
Name of the planet used in the Config. Used only as an identifier to keep track of which planet is which in the file. Can be set to anything.

<DayCycleEnabled> Default = true
If true, the planet will have a day/night cycle, with the stars/suns appearing to orbit around the planet. If false, the planet will be tidally locked and have no cycle.

<DayLengthSeconds> Default = 7200
Day length on the planet in seconds. Default is 2 hours.

<SpinCounterClockwise> Default = true
If true, the sun/stars will rise in the east and set in the west. If false, the reverse.

<ExtraZoneRadiusKm> Default = 0
Extra radius around the planet that will be experience the day/night cycle of that planet. Priority will be given to the closest planet if within multiple zones.
Last edited by Echthros; 2 Nov, 2024 @ 2:25pm
< >
Showing 1-6 of 6 comments
Lady Sorcia 17 Mar, 2024 @ 4:13pm 
I noticed you have min and max intensity of the sunlight on the surface but do you have a radius of intensity? I use SE World Gen Plugin and the distance from the center of the solar system can sometimes be in the light seconds away from the sun and even the closest planets to the sun have dimmer days then earth (IRL [being the 3rd closest to the sun]) so I'm unsure how id go about setting the intensity radius having the min and max distance from the min and max values.
Echthros  [developer] 17 Mar, 2024 @ 7:00pm 
The only min and max values in the config pertain to the effectiveness of solar blocks. I'm not sure what you mean by "intensity radius". If you want a star to have the same brightness and intensity as the default sun, then setting its radius to 50 and its distance to 1000km away will give you that appearance. If you want to move it 10x further away, then just make the radius 10x larger to compensate. You only need to to touch the <LightBrightness> multiplier if you want to change the brightness of the sunlight relative to the star's distance and radius.
VivaVii 23 Apr, 2024 @ 1:16pm 
Does the ExtrazoneRadius read negative values? I feel like i can't get the transition point to be within a planets atmosphere
Echthros  [developer] 23 Apr, 2024 @ 1:31pm 
It currently is clamped to prevent negative values, but I can remove that if it's something you'll use. The default min height is the very top of what the game considers the atmosphere (the render element, not the gas element).
Echthros  [developer] 23 Apr, 2024 @ 2:03pm 
Fixed. The value is no longer clamped.
Yorghalum_se 13 Oct, 2024 @ 10:27am 
Originally posted by Kitty Of Pathos:
I noticed you have min and max intensity of the sunlight on the surface but do you have a radius of intensity? I use SE World Gen Plugin and the distance from the center of the solar system can sometimes be in the light seconds away from the sun and even the closest planets to the sun have dimmer days then earth (IRL [being the 3rd closest to the sun]) so I'm unsure how id go about setting the intensity radius having the min and max distance from the min and max values.

Is your question is about solar blocks effectiveness ? About "intensity" of energy transmited from star to solar panel ?
Your mentions to min and max and distance from star make me feel it's your question.
I did some tests because, like you seem to do, I was wondering which distance for a vanilla EarthLike solar panel output.
Without modifying real star default config, I found that 1270 km from a 60-km-radius star was quite near 158 kW max output.
On vanilla EarthLike, max outpu is 159 kW.
So if you would like to have your "tempered" planet near Earth standard, 1270 km seems the value you're looking for.
Any planet, or solar block, closer than that will be more efficient.
Any solar block further than that will be less.

I guess that, when Echthros talks about same sun appearrance at 1000 km for a 50-km-radius star, it's also true for the average solar block output.

@Echthros : thanks for the mod :)
Last edited by Yorghalum_se; 13 Oct, 2024 @ 10:36am
< >
Showing 1-6 of 6 comments
Per page: 1530 50