Space Engineers

Space Engineers

686 avaliações
Gravity Collector - pulls and collects floating objects
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Type: Mod
Mod category: Block, Script
Tamanho
Publicado em
Atualizado em
1.908 MB
5/mar./2015 às 4:15
6/set./2019 às 1:09
16 notas de atualização ( ver )

Inscreva-se para baixar
Gravity Collector - pulls and collects floating objects

Em 1 coleção de Digi
Digi's Space Engineers mods
46 itens
Descrição
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]
314 comentário(s)
El Capitan Kirk 23/ago./2023 às 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/ago./2023 às 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/ago./2023 às 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/mai./2023 às 15:20 
Any way to add it a bit more range?
Digi  [autor(a)] 8/jan./2023 às 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/jan./2023 às 4:34 
will this mod clash with weapon core and its vast collection of supported mods do you know?
Digi  [autor(a)] 11/jul./2022 às 3:57 
Nothing I can do about that, I'm not hosting it :P
Von Ryan 10/jul./2022 às 16:38 
Cant download. Others download no issues, some like this wont.
kullenberg83 9/jan./2021 às 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(a)] 18/dez./2020 às 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