Space Engineers

Space Engineers

482 ratings
Real Stars
16
6
3
5
2
2
3
3
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Skybox, Planet
File Size
Posted
Updated
1.086 MB
2 Feb, 2024 @ 9:20am
24 Aug @ 9:52pm
76 Change Notes ( view )

Subscribe to download
Real Stars

Description
Tired of the old skybox sun that you can never reach? Wishing you could explore a real solar system or three? Want to burn yourself to ash diving into the stellar plasma? Well now you can!

With this mod you can construct as many solar systems as you like in a world with stars of whatever size, color, brightness, and incinerative capacity that you desire. So whether you want to set up a cozy little vanilla system around an authentic sun or travel between exotic systems in search of the perfect planetoid, the skybox is no longer the limit.

The wait is over. It's time to get some sun.

Features
1. The skybox sun is removed entirely.

2. A new star "planet" is added than can be placed anywhere and adjusted via config file. There are no limits on size, brightness, gravity, etc.

3. The global sunlight will adjust in strength and orientation as you move around the system (or between them) to match the current position of the nearest star. The sun direction is NOT synced between client and server, so every player will see the sunlight from their own perspective.

4. Each planet will have its own day/night cycle which is configurable from the Config file. While players are in space, the stars and skybox will be fixed. While near a planet, the stars and skybox will rotate around the planet and simulate the normal day cycle. There is a visual crossfade between zones when the player approaches or leaves a planet. No grids, GPSs or voxels are actually moving.

5. Solar blocks will also respect the sun direction from their perspective and adjust output based on star distance and brightness.

6. Stars will damage grids and players that get too close (values are fully configurable).

7. Fully compatible with the Real Orbits mod, so feel free to set the solar gravity falloff to 2 and try orbiting a star!

Limitations
1. Sunlight angle can only rotate around the Up-axis, so the light may look like it's coming from the wrong direction if you get too high above or below a star. Try to construct each solar system in roughly the same plane to avoid oddities (the stars will draw some helper lines in the world as you're placing planets to help keep them straight).

Fix Slanted Sun Axis
If the sunlight axis in your world is slanted and you want it to be flat (light orbits around planet equators), then you'll need to either edit your save file to fix it, or make sure to start with a default Star System world and delete the planets before building your world.

DO NOT START WITH THE DEFAULT EMPTY WORLD UNLESS YOU WANT THE SUN AXIS TO BE SLANTED!

How to Fix Sun Angle in Save Files:
Edit Sandbox.sbc
<BaseSunDirection x="0" y="0" z="1" />
<SunDirectionNormalized x="0" y="0" z="1" />

Edit SANDBOX_0_0_0_.sbs
<SunAzimuth>3.14159274</SunAzimuth>
<SunElevation>0</SunElevation>

Delete SANDBOX_0_0_0_.sbsB5

Preset Worlds
3 Systems:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3159754894
3 Systems (No Asteroids):
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3164575082

Custom World Setup
1. Create a new world with the Star System preset (this preset has the sunlight rotate around the planet equators) and delete all of the planets. Add this mod.

2. Use the planet spawn menu (Shift+F10) to spawn whatever stars you want (RealStar planet) at whatever positions you want. Save and quit.

3. Go to the save folder for the world and look for the Config.xml inside of the Storage folder (...\Roaming\SpaceEngineers\Saves\<SteamId>\<SaveGameName>\Storage\3152436752.sbm_RealSun\Config.xml).

4. Edit the Config.xml to adjust the settings for the world and each individual star. Make sure to set <OverrideFromConfig> to true. Save the file.

5. Load back into the save and place whatever planets you want around the stars. Try to keep the planets in the same plane as the guide lines drawn around the nearest star.

6. Enjoy exploring!

Real Stars Config Values
https://gtm.steamproxy.vip/workshop/filedetails/discussion/3152436752/4206994473255087421/

Real Stars API for Modders
https://gtm.steamproxy.vip/workshop/filedetails/discussion/3152436752/4339851480050769308/

Special thanks to Digi for scripting assistance!




Try with "Real Orbits" Mod!
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2609118808

Other Mods:
https://gtm.steamproxy.vip/id/adrsquared/myworkshopfiles/?appid=244850

Join My Discord for Mod Discussion and Bug Reports
Mods by Echthros[discord.gg]

Support Future Mods/Updates
[ko-fi.com]
[www.paypal.com]
Popular Discussions View All (2)
9
13 Apr, 2024 @ 4:20pm
Real Stars Mod API
Echthros
6
13 Oct, 2024 @ 10:27am
PINNED: Config Values
Echthros
291 Comments
lechkingofdead 18 Sep @ 4:02pm 
idk if any other have the issue but just finished a solar panel as a side add for an alge farm and i noticed the pannel is red lighted and thats normally only at night. but its mid fragging day currently (ssr)
Judger 15 Sep @ 6:59am 
Resolved itself after installing eclipse mod as well, don't know why but works for me!
Echthros  [author] 13 Sep @ 12:22pm 
Looking into it.
Judger 13 Sep @ 10:11am 
New hotfix caused RealStar- ID to be visible in the middle of the screen for everyone on the server.
howardxu23 11 Sep @ 6:24pm 
currently directional solar radiation and algae farms don't actually work with realstar mod(it is patch day, I suppose)_
rkirk395 10 Sep @ 11:03am 
Is this going to be updated to add the new solar radiation effect from Apex Survival?
Echthros  [author] 7 Sep @ 12:04pm 
1. Make sure that "Enable Sun Rotation" is on in the world settings.
2. If you make any changes to the Config.xml, make sure that <OverrideFromConfig> is also set to true at the top of the file.
3. And if you happen to be using Real Solar Systems as well, the day cycle settings from RSS will be used instead of from Real Stars.
Hetzerfeind 7 Sep @ 8:00am 
I keep having no day at all when running this mod? Even when i set the day length down to 72 seconds I couldn't see light at all.
Echthros  [author] 4 Sep @ 12:40pm 
You need to also set <OverrideFromConfig> to true at the top of the file if you want to make changes to the config.
| n f a m o u s 3 Sep @ 11:27pm 
for the life of me I cannot get the config values to save and not reset. This and the gas giants... overwrite from config is true. Is there a specific order of operation or save, edit, load order I need to be following? I can edit it, and load the world with edits to the config. But those edits don't appear despite existing in the config which is saved and still open while I'm playing showing the discrepancy.. function unchanged, config appearance changed? When I save and reload it resets the config back so it both appears and functions unchanged