Space Engineers
Оценок: 316
Enhanced Gravity Generators - pulling ships together, literally
   
Наградить
В избранное
В избранном
Удалить
Type: Mod
Mod category: Block, Script, Other
Размер файла
Добавлен
Изменён
75.984 KB
19 июн. 2015 г. в 19:03
19 сен. 2019 г. в 9:40
Обновлений: 11 (просмотреть)

Подпишитесь, чтобы загрузить
Enhanced Gravity Generators - pulling ships together, literally

В 1 коллекции, созданной Digi
Digi's Space Engineers mods
Предметов: 46
Описание
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]
Популярные обсуждения Просмотреть все (7)
11
3 фев. 2019 г. в 15:29
suggestion - ripping force
jackik
4
20 апр. 2016 г. в 19:12
Clipping shamelessly...
Visvires
2
1 сен. 2018 г. в 17:20
Bug: Gravity Effect when block is off
[ЯтR] The-Killer
Комментариев: 223
Sensational Being 28 мар в 10:51 
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 авг. 2023 г. в 14:05 
I've made an edit of this mod where it works on planets; Digi, would it be alright if I published it?
Visentinel 8 мар. 2023 г. в 6:46 
Feature Request: Add ability to compute gravity on per block basis so grids are realistically dragged at the edges and turned :)
Deapri 21 мая. 2022 г. в 8:22 
[pink]zackadiax247 Invert the Gravity force.
The Ginger 18 апр. 2022 г. в 22:05 
I would be all for a magnet mod based off of this one.
Digi  [создатель] 18 апр. 2022 г. в 16:30 
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 апр. 2022 г. в 14:38 
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 мар. 2022 г. в 1:09 
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  [создатель] 7 сен. 2021 г. в 4:58 
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 сен. 2021 г. в 4:44 
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.