Space Engineers

Space Engineers

Gravity Collector - pulls and collects floating objects
315 kommentarer
GigaCars 11. sep. kl. 20:52 
for some reason reminds me of Starship EVO's take on collectors

basically they function just like this except they can also take fuel in so
El Capitan Kirk 23. aug. 2023 kl. 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. aug. 2023 kl. 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. aug. 2023 kl. 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. maj 2023 kl. 15:20 
Any way to add it a bit more range?
Digi  [ophavsmand] 8. jan. 2023 kl. 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.
REV3LatioN 7. jan. 2023 kl. 4:34 
will this mod clash with weapon core and its vast collection of supported mods do you know?
Digi  [ophavsmand] 11. juli 2022 kl. 3:57 
Nothing I can do about that, I'm not hosting it :P
Von Ryan 10. juli 2022 kl. 16:38 
Cant download. Others download no issues, some like this wont.
kullen 9. jan. 2021 kl. 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  [ophavsmand] 18. dec. 2020 kl. 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
Rhaaka 18. dec. 2020 kl. 10:39 
they were dropped by an ejector. with normal collectors they collect just fine, but with the gravity collectors, they stop floating towards the collector about 3-5m away the steel plates are just from vanilla SE. if I move the collector down, they get pushed away until they reach the same distance from the collector as before, but if I accelerate fast enough they get picked up.
Digi  [ophavsmand] 11. dec. 2020 kl. 8:41 
Sounds like a game bug, try the same steel plates that my mod can't collect with vanilla collector and it should be the same result.

See if you can find how those steel plates got spawned: dropped? container breakage? grinding with inventory full? etc, and bugreport it to devs :} ( support.keenswh.com )
Rhaaka 11. dec. 2020 kl. 8:23 
Edit: but only sometimes, other times it collects them just fine
Rhaaka 11. dec. 2020 kl. 8:22 
It seems to have problems collecting stacks of steel plates, do you know of any fixes?
Speed Racer-Zx10R 15. nov. 2020 kl. 14:20 
love this, so easy to eject my material verses connecting to storage holder, thank you for the nice mod
Digi  [ophavsmand] 15. mar. 2020 kl. 15:07 
You can't expect mods to keep compatibility with that xD
But, feel free to download older versions from my github: https://github.com/THDigi/GravityCollector/commits/master and use as local mod (in %appdata%/SpaceEngineers/Mods/<ModName>/)
Reckless Laggard (Tirristhar) 15. mar. 2020 kl. 14:08 
kinda wish this still worked in DX9 32Bit Compatibility mode
TwitchingPsycho 24. feb. 2020 kl. 4:42 
Finally updated the models, thank you so much!
The Nameless 5. feb. 2020 kl. 13:25 
I just realized what this is.

This is a...

Wait for it...

SPACE VACUUM!!!

Yeah, kind of an oxymoron. But that's what it IS!
The Nameless 5. feb. 2020 kl. 11:54 
Wow. Works like a charm! I think I need to redesign my bow so that I only have ONE of them though. Having one mounted on each side results in my bridge being pelted with rocks, which then get stuck. XD
Rniessius 13. nov. 2019 kl. 21:20 
@Digi
I tested it on a planet and it works FANTASTIC! Just gotta set it up right. One of the most useful mods I have for this game now. Thank you very much! :D
Digi  [ophavsmand] 10. nov. 2019 kl. 22:33 
@[1-7] Rniessius
It has no restriction on planets, only planet gravity strength dictates how useful they are, but frankly I've not really tested them there... worst case you'd need to use 200% strength xD
Rniessius 10. nov. 2019 kl. 16:12 
Can this be used on planets?
Alan_R_ 4. nov. 2019 kl. 7:42 
doesnt move any trash from drones
Big145 7. sep. 2019 kl. 12:00 
So far so good. Haven't had an error yet.
Digi  [ophavsmand] 6. sep. 2019 kl. 1:05 
Oh I see the issue there, that error will be fixed. Not sure why it never happened to me as I loaded a world with ships that had grav collectors quite a few times.

I can't do anything about the game/steam's inability to download it xD
Big145 5. sep. 2019 kl. 22:01 
I had to delete and redownload 2 times to even get all the files to show up properly, but then I got this upon loading:

[21:56:12] Initialized
GameMode=Survival
OnlineMode=OFFLINE
Server=True
DS=False
Defined=STABLE,
[21:56:34] ERROR: System.NullReferenceException: block == null on entId=109735054322547995; modInstance=True
at Digi.GravityCollector.GravityCollector.SaveSettings()
at Digi.GravityCollector.GravityCollector.IsSerialized()


Your files are cursed, Digi.
Digi  [ophavsmand] 5. sep. 2019 kl. 16:56 
That's a new one, it's also likely due to download issues and the usual DS failing to properly download mods on the first try (even if it says it downloaded it fine, I had that happen xD).

Does anyone still have the SE log for that failure to load? I would like it (or the errors from it) in order to figure out what happened :}

I just tested having a world with old gravity mod and then replacing the files with the new one and reloading, got no errors ( icon was hot pink for some reason, it got fixed on game restart), but that's in SP.

Pink construction model will be fixed soon.

Also sorry to whoever had the last comment, I accidentally clicked on the page exactly on the bin icon and it deleted it without confirmation :/
Big145 5. sep. 2019 kl. 10:31 
I'm getting straight up "failure to load save" after removing the old collector, saving, reloading, placing a new collector, saving, and finally trying to load the save.
Kiithnaras 5. sep. 2019 kl. 8:06 
Very much approve of the terminal sliders now as well. Ace job.
Kiithnaras 5. sep. 2019 kl. 8:04 
Gorgeous new model. Unfortunately:
1) Attempting to load a world with existing gravity collectors causes a failure. It is necessary to unload the mod, load the world, save, and reload the world with the mod enabled. I also deleted the existing mod from the mod folder to force a new download to be safe.
2) Your construction model appears as a featureless purple cube for some reason.
Reckless Laggard (Tirristhar) 5. sep. 2019 kl. 2:33 
yeah, sbc didn't update
Reckless Laggard (Tirristhar) 5. sep. 2019 kl. 2:04 
5/16/2018 version - failed download (update)
Digi  [ophavsmand] 5. sep. 2019 kl. 0:54 
Updated models and code redesign so it has terminal UI and hidden saved settings (instead of in the terminal name).

There might be sync issues in MP, please tell me if you find any :}
TioTrix 11. aug. 2019 kl. 15:29 
ok nvm guess it works now.. i assorted my workshop many old stuff was there. now it works :D
Digi  [ophavsmand] 9. aug. 2019 kl. 9:28 
Can you try it again and if it's consistently doing it, can you send the world, that should be able to replicate it on my end and that'll allow me to find what causes it and therefore fix it :P
TioTrix 9. aug. 2019 kl. 7:03 
dont have one because the game completly freeze. need to use alt+ f4
Digi  [ophavsmand] 8. aug. 2019 kl. 22:42 
@TioTrix
The crash log will help.
TioTrix 8. aug. 2019 kl. 19:41 
my game crashed when i exit it without saveing. dont have this without the mod
Digi  [ophavsmand] 13. juli 2019 kl. 3:17 
It works just fine here, I'll need more details if you want some fixes.
Nargle Eater 12. juli 2019 kl. 22:30 
tried, mod does not work.
Dranseer 19. juni 2019 kl. 17:26 
Is this mod still functioning?
Smart Bear 10. mar. 2019 kl. 5:48 
Update the mod please.
Princess Celestia 12. dec. 2018 kl. 2:55 
This ought to be a vanilla block with sliders for strength, cone radius, and cone range. Excellent work.
Mark F. Smith 16. okt. 2018 kl. 18:10 
Just a heads up btw. In-game mods list returns a blank "item #" for this, but it seems to still work.
Mark F. Smith 12. okt. 2018 kl. 15:36 
Any chance for a slightly longer pull ranger? :steamsad: Feels so puny.
Vas 17. aug. 2018 kl. 9:04 
Any chance you can add a toggle option inside the mod to display its cone of effect for better placement of these?

And a power scale based on the strength and range settings? Perhaps even, a cone setting, so we can adjust the cone of effect.
jarhead 3. aug. 2018 kl. 9:04 
Can you set this so that the angle is adjustable as well as the range (like the default grav gen).
Digi  [ophavsmand] 3. aug. 2018 kl. 5:28 
Nope he only changed the cone angle and range, he updated nothing.