Space Engineers

Space Engineers

Ocen: 686
Gravity Collector - pulls and collects floating objects
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Type: Mod
Mod category: Block, Script
Rozmiar pliku
Zamieszczono
Zaktualizowano
1.908 MB
5 marca 2015 o 4:15
6 września 2019 o 1:09
Listy zmian: 16 ( zobacz )

Zasubskrybuj, aby pobrać
Gravity Collector - pulls and collects floating objects

W 1 kolekcji stworzonej przez Digi
Digi's Space Engineers mods
Przedmioty: 46
Opis
This adds 2 collector blocks (large and small) which pull floating objects (ore and dropped items) that are in front of them.
This does not pull mass blocks or players.


Small variant pulls in a 30deg cone up to 40m, max power usage (at 200% strength and max range): 300 kW.
Large variant pulls in a 25deg cone up to 60m, max power usage (at 200% strength and max range): 600 kW.

Both versions pull up to 5000kg of mass with the same velocity (scaled by Strength slider), it can pull beyond but the force stays the same and will pull slower.

Objects are pulled towards where the collector will be depending on its velocity, it can still miss if you try to make it miss.

Conveyor ports on these blocks differ from vanilla, small variant has a big port on the back instead of a small port and large variant has ports on 2 sides.


Credits
Idea from: Request: Cone gravity generator.[forums.keenswh.com]


Related mods
Natural Gravity - make asteroids have ship-pulling gravity
Enhanced Gravity Generators - pulling ships together, literally


mod io?
Please read[gist.github.com]
Komentarzy: 314
El Capitan Kirk 23 sierpnia 2023 o 6:21 
For clarification, a mod at the top of the active mod list overwrites any mod that is below it if they change the same thing. They could improve the UI a little bit...
El Capitan Kirk 22 sierpnia 2023 o 7:51 
Here's where this mod's files are on my pc for reference:
H:\Games\Steam\steamapps\workshop\content\244850\402858936\Data\Scripts\GravityCollector

And here's where my local mods need to go:
C:\Users\YourUserNameHere\AppData\Roaming\SpaceEngineers\Mods

Just copy the "402858936" folder to the local mod folder and rename it to something you'd recognize. It will show up in game as whatever you rename this folder to.
El Capitan Kirk 22 sierpnia 2023 o 7:42 
@MrEdinLaw: Find "GravityCollector.cs" in this mod's folder and edit the values there at the top with a text editor. Any changes you make will be undone if the mod updates unless you copy this mod to your local mod folder and edit it there. Make sure your edited version loads after the original, or replace the original with your edited version.

These are where the range values are set; 40 for small grid and 60 for large:
public const float RANGE_MAX_MEDIUM = 40;
public const float RANGE_MAX_LARGE = 60;

There are other values you can change there, but the only ones I'd touch are the angles that determine how wide a cone the block will attempt to vacuum up items from. Those lines look like this:

coneAngle = MathHelper.ToRadians(30);

If you change the angle of the vacuum cone, don't go above 90 or items will get stuck on the sides that don't vacuum and just stick there. I'd recommend not going higher than 75.
MrEdinLaw 19 maja 2023 o 15:20 
Any way to add it a bit more range?
Digi  [autor] 8 stycznia 2023 o 1:58 
It has no reason to clash, it doesn't use anything from vanilla weapon code and it's a collector, not a sorter that WC uses as weapon platforms.
OGxSnakexEyez 7 stycznia 2023 o 4:34 
will this mod clash with weapon core and its vast collection of supported mods do you know?
Digi  [autor] 11 lipca 2022 o 3:57 
Nothing I can do about that, I'm not hosting it :P
Von Ryan 10 lipca 2022 o 16:38 
Cant download. Others download no issues, some like this wont.
kullenberg83 9 stycznia 2021 o 9:21 
build more collectors for more pulling power, 2 next to eachother will pull allmost anything lose componants along the ground to the collector on earth gravity. With 4 you almost pull componants from the grid it self:D
Digi  [autor] 18 grudnia 2020 o 11:33 
I tried ejecting steel plates from a small grid connector (steel plates are too large for ejector) and a grav collector picked every single one.
Did you check if the grav collector's inventory was full?

If that's not it then I'm not sure what's going on, if you can reliably replicate it then set it up in an empty world and link it here :P