Space Engineers
842 оценки
Real Orbits
25
9
13
8
12
3
5
5
2
2
2
   
Награда
Добавяне към любими
В любими
Премахване от любими
Type: Mod
Mod category: Script, Character, Planet
Тагове: hud
Размер на файла
Публикуван на
Обновен на
698.931 KB
22 септ. 2021 в 21:26
22 ноем. 2024 в 14:35
46 бележки за промени ( преглед )

Абониране, за да се свали
Real Orbits

Описание
Ever wanted to put a relay satellite in orbit? Rendezvous with a moving space station? Drop from an orbiting flagship in a lander? Well now you can!

With this mod you will have the tools to set your grids up in stable orbits around planetary bodies while visualizing the orbit and its relevant info.

What This Mod Does
1. Override gravitation falloff for all newly created planets to 2 (inverse square falloff with distance) so that orbits are possible. This will not affect planets that were created before the mod was added. (Now affects all planets.)
2. Override your global maximum speed to whatever you want to allow you to to move fast enough to achieve stable orbits.
3. Circumvent grid stopping mechanism that normally prevents unmanned ships from attaining stable orbits (normally grids will get stopped by the engine after 15 mins and then plummet to the surface).
4. Display orbit info to players' screens to allow them to effectively set up their orbits.
5. Display apoapsis (highest point in orbit) and periapsis (lowest point in orbit) in world as GPS markers.
6. Display orbit paths in world (drawn ellipse).
7. Display orbiting grid positions as GPS markers to mark where the grids currently are in their path to allow for rendezvous.

* All of these mechanics are fully customizable and togglable in the associated config file.

Displayed Info
Orbital info drawn to the screen is presented as follows:

<orbit_state>
Periapsis: <periapsis_height> <time_to_periapsis>
Apoapsis: <apoapsis_height> <time_to_apoapsis>
e: <eccentricity> i: <inclination> T: <orbital_period>

<orbit_state>: Indicates the state of the orbit (decaying, escaping, or stable).

<periapsis_height>: The lowest point in the orbit (relative to the planet's core).

<time_to_periapsis>: How long it will take to reach the periapsis.

<apoapsis_height>: The highest point in the orbit (relative to the planet's core).

<time_to_apoapsis>: How long it will take to reach the apoapsis.

<eccentricity>: How circular/oval the orbit is. Values close to 0 are more circular. Values close to 1 are more oval. Values above 1 will escape the gravity well entirely.

<inclination>: The angle of the orbital plane relative to the planet's poles (will be near zero when orbiting the equator).

<orbital_period>: The total time it will take the grid to orbit once.

Controls
Ctrl+O: Toggle Orbit Info Display
Shift+O: Toggle Orbit Path

Config Setup
This mod can be customized by making use of the Config.xml file that generates once the mod is loaded. Loading a file with this mod active creates a Config.xml file inside of the save folder (...\Roaming\SpaceEngineers\Saves\<SteamId>\<SaveGameName>\Storage\2609118808.sbm_RealisticGravity). You can edit the values in this file to change those values in game after loading back into the save.

Setup Steps:
1. Subscribe to the mod
2. Add mod to world
3. Load into world once to generate the Config.xml file
4. Exit world
5. Make changes to the Config.xml file at above location
6. Load back into world to see changes

Config Values
https://steamoss.com/workshop/filedetails/discussion/2609118808/3112542578505238970/

Other Notes/Recommendations
1. Once a grid's orbit is set up, it should be reasonably stable, but you may still crash into an asteroid depending on its path. You may want to play with lower asteroid density or with no asteroids to avoid this. However, it is possible to orbit even with the highest asteroid density; just more dangerous.

2. You will almost certainly need to play with a higher max speed to achieve stable orbits. A max speed to 1000 m/s should allow for most orbits around vanilla planets.

3. This mod does not cover proper predictive pathing for a grid under the influence of multiple gravitational fields or transitions between different bodies (like you have in KSP).

4. Only planets with a gravity falloff of 2 will be considered valid targets to orbit as no other value will allow for stable orbits.

5. Grids not under the influence of any gravity well or on the surface of a planet cannot be considered in orbit, and will not be tracked or have any info displayed.

6. I'm not planning on adding any new major features at this time, but I will fix any bugs/crashes that people find. So make sure to let me know in the comments if anything seems buggy.



Try with Preset Star System
Vanilla Planets: https://steamoss.com/sharedfiles/filedetails/?id=2724315617
Vanilla Planets (x2 size): https://steamoss.com/sharedfiles/filedetails/?id=2724371901

Try with "Kinetic Devastation" Mod!
https://steamoss.com/sharedfiles/filedetails/?id=2649159807

Other Mods:
https://steamoss.com/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]
Популярни дискусии Всички (10)
4
17 юни 2024 в 6:09
Possible to change gravity radius?
ФBOMBREDEEMERФ
9
16 ян. в 18:26
Orbital paths not shown on screen
BoB
10
15 окт. 2021 в 22:02
Possible bug
Wolfeman
647 коментара
Andrew900460 .;UbErZ;. 23 ян. в 23:13 
This is something I've always wanted to do in this game.
Echthros  [автор] 15 ян. в 23:09 
Not currently, but a few people have requested something similar, so I may add that at some point.
ELLIOTTCABLE on Discord 15 ян. в 12:09 
Is there any API for scripts to grab values from Real Orbits' calculations, so as to avoid doubling the performance cost of recalculating them constantly?
Echthros  [автор] 14 ян. в 21:16 
Yes, this is compatible with RSS. I haven't tested with Realistic Thrusters, but I don't think there would be a conflict.
ELLIOTTCABLE on Discord 14 ян. в 14:06 
Ditto @Em Trish; Real Solar Systems (and potentially Realistic Thrusters ) definitely deserves a mention in the description/README. These mods seem like they'd go together really well; but also like they'd potentially conflict!
Em Trish 9 ян. в 18:36 
does this work with real solar systems?
yoda25025legion 26 дек. 2024 в 19:57 
I am not able to see any of the heads up info that I normally do, displaying the trajectory. Is this a bug I can fix, or did it break with a recent update? for the record I have tried loading onto a world with only this mod and it still wasn't showing
silverbluemx 22 дек. 2024 в 9:00 
Thanks. I'll have a look and see if I can improve on the approximations used in my script.
Echthros  [автор] 21 дек. 2024 в 11:03 
The formula is something like this:
var PlanetMaxRadius = (PlanetRadius * (1 + HillParams.Max);
var Gravity = SurfaceGravityStrength * ( (DistFromPlanetCenter / PlanetMaxRadius) ^ -GravityFalloff);

The gravity falloff starts at the planet's "MaxRadius" which includes the HillParams adjustment. You can find the HillParams value in the planet definition.
silverbluemx 21 дек. 2024 в 10:45 
Hello ,
Thank you so much Echthros for this mod that brings back a bit of realism into Space Engineers !
I've developed for myself yet another landing script with a few extra features, one of them is computing an estimate of a planet surface gravity while still far away, by sampling the gravity field while descending and solving for the inverse square law. The very first public version is here:
https://steamoss.com/sharedfiles/filedetails/?id=3388634309

While I find that it mostly works, it doesn't quite get the value right. I assume that it's because even with this mod the inverse square law only kicks in at some distance from the surface, with constant gravity below that. I'm trying to figure out where that threshold is exactly. Is it a constant distance, does it depend on the surface gravity value, planet diameter, or other ? Any help would be appreciated.