Space Engineers
Оценок: 321
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
Предметов: 50
Описание
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
3
24 сен. 2015 г. в 7:52
Not sure if bug or not.
Ranos
Комментариев: 225
Digi  [создатель] 10 ноя. 2024 г. в 19:19 
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 ноя. 2024 г. в 17:18 
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 мар. 2024 г. в 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.
Exis 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?
Exis 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.