This mod adds gravity wells to all the stars in the game. I liked the way it worked in Eternity Port, so I figured it might be worth fiddling with...and since stars in this game are all defined in one XML, it was fairly easy to make them all have gravity and killzones.
This mod is not scientifically accurate (but then again, gravity behaves oddly in T anyway and we don't have proper orbital mechanics), but the general pattern is that larger, brighter stars have bigger gravity wells than smaller ones. It's not as complex as RPC's old Gravity mod: it just uses the system George added for white dwarf stars and applies it to everything else by over-writing the default stars. It's experimental, but I really like flying with it so I'm releasing it here (Attached below).
Known issues:
-If killed by a star, it will be indicated as "Killed by a (type G star)" or whatever. May be fixable in the future, might not be.
-Random crashes may occur in systems with larger stars: Any object spawned into the killzone of a gravity-well will immediately crash the game. The wells should be small enough that this doesn't happen, but it's a possibility. I cannot fix this.
-Larger ships may not be able to escape the pull of gravity because of low acceleration and capped top speed. This is due to the game not allowing a transfer burn to get into orbit at low altitudes due to the speed limits. Install a drive, or fly more carefully.
-The gravity warning sounds too early, and you don't get another one when you're close to the killzone. This is an engine problem that I cannot alter.
-Wrecks will be sucked in even if they're plot critical. Don't let the Svalbard die in heretic!
-Arms cache encounters are almost certainly going to be sucked into the star if they spawn close to it.
-Stations orbiting close to larger stars may be impossible to safely visit. This is due to a lack of testing of these larger stars. If this occurs, note the type of star and let me know in this thread: I'll retune the values for gravity based on feedback.
Hints for flying with stellar gravity
-Don't try sitting on stars to refuel with solar panels.
-Orbiting close to a star is good for a refuel, but beware enemies with momentum weapons or EMP
-Getting EMP'd near a star is an instakill.
-Likewise, shooting out the drive on a large ship will usually doom it if you can keep it down.
-Ships destroyed by gravity do not leave wrecks.
-Don't leave stuff in crates/wrecks near stars
-The AI in combat will usually avoid gravity wells.
-The "killzone" extends a certain distance away from the star, influenced by mass. With small stuff (red and white dwarf) you can get very close and still slingshot away. With larger stars, attempting a close pass will kill you. Try to avoid doing this.
Have fun!
Universal Stellar Gravity (Experimental, for 1.6B2)
-
- Fleet Officer
- Posts: 1452
- Joined: Tue Aug 19, 2014 10:17 pm
Just curious, how'd you implement this?The AI in combat will usually avoid gravity wells.
- AssumedPseudonym
- Fleet Officer
- Posts: 1190
- Joined: Thu Aug 29, 2013 5:18 am
- Location: On the other side of the screen.
The AI avoids gravity wells by default (sometimes better than others). That’s more a question for George than Shrike.
Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)
My mods on Xelerus: Click here!
Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
- Aury
- Fleet Admiral
- Posts: 5421
- Joined: Tue Feb 05, 2008 1:10 am
- Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.
yay *installs*
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
JohnBWatson wrote:Just curious, how'd you implement this?The AI in combat will usually avoid gravity wells.
Pretty much what AP says....it's default behaviour. I'm just noting it so people don't try using it as a weapon. Freighters on routes may have trouble though.
Mischievous local moderator. She/Her pronouns.
noArticle="true" works for stars.Shrike wrote:-If killed by a star, it will be indicated as "Killed by a (type G star)" or whatever. May be fixable in the future, might not be.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!
Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!
Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
Ok, I'm not moving this past experimentals at this time. There are some game-breaking bugs I can't fix (they're engine-side):
-Escort targets do not avoid gravity wells
-Many ships cannot avoid gravity wells because of capped speed and low TWR.
-Some plot-critical stuff isn't anchored against gravity (might be able to do something to this)
-Escort targets do not avoid gravity wells
-Many ships cannot avoid gravity wells because of capped speed and low TWR.
-Some plot-critical stuff isn't anchored against gravity (might be able to do something to this)
Mischievous local moderator. She/Her pronouns.