Space Engineers

Space Engineers

Gravity Collector - pulls and collects floating objects
315 則留言
GigaCars 9 月 11 日 下午 8: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 2023 年 8 月 23 日 上午 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 2023 年 8 月 22 日 上午 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 2023 年 8 月 22 日 上午 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 2023 年 5 月 19 日 下午 3:20 
Any way to add it a bit more range?
Digi  [作者] 2023 年 1 月 8 日 上午 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 2023 年 1 月 7 日 上午 4:34 
will this mod clash with weapon core and its vast collection of supported mods do you know?
Digi  [作者] 2022 年 7 月 11 日 上午 3:57 
Nothing I can do about that, I'm not hosting it :P
Von Ryan 2022 年 7 月 10 日 下午 4:38 
Cant download. Others download no issues, some like this wont.
kullen 2021 年 1 月 9 日 上午 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  [作者] 2020 年 12 月 18 日 上午 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 2020 年 12 月 18 日 上午 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  [作者] 2020 年 12 月 11 日 上午 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 2020 年 12 月 11 日 上午 8:23 
Edit: but only sometimes, other times it collects them just fine
Rhaaka 2020 年 12 月 11 日 上午 8:22 
It seems to have problems collecting stacks of steel plates, do you know of any fixes?
Speed Racer-Zx10R 2020 年 11 月 15 日 下午 2:20 
love this, so easy to eject my material verses connecting to storage holder, thank you for the nice mod
Digi  [作者] 2020 年 3 月 15 日 下午 3: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) 2020 年 3 月 15 日 下午 2:08 
kinda wish this still worked in DX9 32Bit Compatibility mode
TwitchingPsycho 2020 年 2 月 24 日 上午 4:42 
Finally updated the models, thank you so much!
The Nameless 2020 年 2 月 5 日 下午 1: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 2020 年 2 月 5 日 上午 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 2019 年 11 月 13 日 下午 9: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  [作者] 2019 年 11 月 10 日 下午 10: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 2019 年 11 月 10 日 下午 4:12 
Can this be used on planets?
Alan_R_ 2019 年 11 月 4 日 上午 7:42 
doesnt move any trash from drones
Big145 2019 年 9 月 7 日 下午 12:00 
So far so good. Haven't had an error yet.
Digi  [作者] 2019 年 9 月 6 日 上午 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 2019 年 9 月 5 日 下午 10: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  [作者] 2019 年 9 月 5 日 下午 4: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 2019 年 9 月 5 日 上午 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 2019 年 9 月 5 日 上午 8:06 
Very much approve of the terminal sliders now as well. Ace job.
Kiithnaras 2019 年 9 月 5 日 上午 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) 2019 年 9 月 5 日 上午 2:33 
yeah, sbc didn't update
Reckless Laggard (Tirristhar) 2019 年 9 月 5 日 上午 2:04 
5/16/2018 version - failed download (update)
Digi  [作者] 2019 年 9 月 5 日 上午 12: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 2019 年 8 月 11 日 下午 3:29 
ok nvm guess it works now.. i assorted my workshop many old stuff was there. now it works :D
Digi  [作者] 2019 年 8 月 9 日 上午 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 2019 年 8 月 9 日 上午 7:03 
dont have one because the game completly freeze. need to use alt+ f4
Digi  [作者] 2019 年 8 月 8 日 下午 10:42 
@TioTrix
The crash log will help.
TioTrix 2019 年 8 月 8 日 下午 7:41 
my game crashed when i exit it without saveing. dont have this without the mod
Digi  [作者] 2019 年 7 月 13 日 上午 3:17 
It works just fine here, I'll need more details if you want some fixes.
Nargle Eater 2019 年 7 月 12 日 下午 10:30 
tried, mod does not work.
Dranseer 2019 年 6 月 19 日 下午 5:26 
Is this mod still functioning?
Smart Bear 2019 年 3 月 10 日 上午 5:48 
Update the mod please.
Princess Celestia 2018 年 12 月 12 日 上午 2:55 
This ought to be a vanilla block with sliders for strength, cone radius, and cone range. Excellent work.
Mark F. Smith 2018 年 10 月 16 日 下午 6: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 2018 年 10 月 12 日 下午 3:36 
Any chance for a slightly longer pull ranger? :steamsad: Feels so puny.
Vas 2018 年 8 月 17 日 上午 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 2018 年 8 月 3 日 上午 9:04 
Can you set this so that the angle is adjustable as well as the range (like the default grav gen).
Digi  [作者] 2018 年 8 月 3 日 上午 5:28 
Nope he only changed the cone angle and range, he updated nothing.