Space Engineers

Space Engineers

323 ratings
Enhanced Gravity Generators - pulling ships together, literally
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Other
File Size
Posted
Updated
75.984 KB
19 Jun, 2015 @ 7:03pm
19 Sep, 2019 @ 9:40am
11 Change Notes ( view )

Subscribe to download
Enhanced Gravity Generators - pulling ships together, literally

In 1 collection by Digi
Digi's Space Engineers mods
50 items
Description
This mod extends the functionality of both the vanilla gravity generators by allowing them to pull ships without the need for artificial mass.

You must enable this functionality per generator by adding the flags to the names, the generators will be unaffected otherwise.


How to use
Add any/all of these flags to the name of a gravity generator:
@small - generator affects small ships/blocks
@large - generator affects large ships/blocks
@counterpush - adds the same force on the gravity generator's grid in the opposite direction for each thing it pulls, this is useful for ships to not be pushed around when something is sitting on it due to gravity.

You can still see these flag mentioned in the gravity generator's control panel on the bottom right, as shown in the second screenshot.

Warning:
Consider the exterior of your ship when adding any of these flags to your generators, I suggest measuring your fields to be sure they're within the insides of your ship only, as it can go seriously wrong for anyone involved :P


Known issues
- The custom info in the control panel for the Gravity Generator doesn't visibly update right away, you need to click the block again (or reopen the terminal).
- FIXED not adjusted for planets, it will work in planets gravity which isn't how the vanilla gravgen works, I'll fix this in the future


NOTE:
Ships are detected by their oriented bounding box. Detecting ships using their physical shape is inaccessible in the modAPI right now (like sensors do).


Related mods
Gravity Collector - pulls and collects floating objects


mod io?
Please read[gist.github.com]
Popular Discussions View All (7)
11
3 Feb, 2019 @ 3:29pm
suggestion - ripping force
jackik
4
20 Apr, 2016 @ 7:12pm
Clipping shamelessly...
Visvires
3
24 Sep, 2015 @ 7:52am
Not sure if bug or not.
Ranos
225 Comments
Digi  [author] 10 Nov, 2024 @ 7:19pm 
This is only additive to the behavior of the artificial gravity, which is hardcoded to behave less efficiently in gravity down to 0 yes.

You'll need a mod that adds artificial gravity manually which has downsides like characters not being auto-rotated and not seeing it in HUD...
If you wanna program that, head over to keen's discord ( https://discord.gg/keenswh ) at #modding-programming :P
MaxStone 10 Nov, 2024 @ 5:18pm 
is there a gravity mod that allows gravity generators (or a custom made variant) to function in gravity? I cant find anything about that, and from what i've found, i need artificial mass blocks, yet planetary gravity has a multiplier that, at 1g, multiplies ANY amount of artificial gravity to 0.

Zero!

Idk what im doing, and as far as im concerned, you have more knowledge than i do about how the planetary gravity and artificial gravity interact, and was wondering if i coud get some help here.

On a more on-topic note, this should really be in the main game, this mod is amazing, thank you!
Sensational Being 28 Mar, 2024 @ 10:51am 
I just noticed the "bug fix" where the gravity generators were working in planet gravity. Any chance of posting a listing where this is a feature?
stoneman.luke2 31 Aug, 2023 @ 2:05pm 
I've made an edit of this mod where it works on planets; Digi, would it be alright if I published it?
Visentinel 8 Mar, 2023 @ 6:46am 
Feature Request: Add ability to compute gravity on per block basis so grids are realistically dragged at the edges and turned :)
Deapri 21 May, 2022 @ 8:22am 
[pink]zackadiax247 Invert the Gravity force.
Exis 18 Apr, 2022 @ 10:05pm 
I would be all for a magnet mod based off of this one.
Digi  [author] 18 Apr, 2022 @ 4:30pm 
The problem is it's not a simple restriction removal, if I do that then only ships will be pulled because that's my code that would no longer care about planets, but the game's code still works identically and to change its behavior means to re-implement it.

Either way I'm not changing this one to work on planets, a separate mod that maybe works with magnets would make sense to work on planets, and balanced for whatever purposes you'd want artificial gravity on planets for :P (and I'm not volunteering to make one =) no idea where one would requests mods either xD)
Fyury 18 Apr, 2022 @ 2:38pm 
I would like to second zackadiax247's request.
Related question - Your fix to keep this from working in planetary gravity implies that it is possible to allow gravity generators in general to work in planetary gravity like they did at one point in the past. Is there a way to override this restriction server-wide or would it required special modded grav generators like yours that just ignore the restriction?
Exis 16 Mar, 2022 @ 1:09am 
can we have a version that dose work in planets? or an option to enable such functionality? I know it seems like it would be a mess of balance issues but what is space engineers if not a mess of balance issues? besides atmospheric gravity drives would be cool, and so would using a mod that makes spherical gravity generators range absolutely massive to make an anti ship area around my base.