Space Engineers

Space Engineers

315 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
46 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
2
1 Sep, 2018 @ 5:20pm
Bug: Gravity Effect when block is off
[ЯтR] The-Killer
223 Comments
Sensational Being 28 Mar @ 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.
The Ginger 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?
The Ginger 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.
Digi  [author] 7 Sep, 2021 @ 4:58am 
Can you post your SpaceEngineers log, or read it to see if there's any compile errors or anything (which can happen only to you if it downloaded wrong, happens too frequently :/ blame steam xD)
jsemGejSorryJakoMucq* 7 Sep, 2021 @ 4:44am 
I'm not sure if I'm doing it right but it doesn't work for me. When I add @ large / @ small to the generator name in the control panel, the surrounding blocks are not affected.