Space Engineers

Space Engineers

75 betyg
Sunchiro's AutoDock
3
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Type: Mod
Mod category: Script
Taggar: ServerScripts
Filstorlek
Lades upp
Uppdaterades
858.704 KB
5 jan @ 5:01
10 jan @ 1:49
8 ändringsnotiser ( visa )

Abonnera för att ladda ner
Sunchiro's AutoDock

Beskrivning
AutoDock


[ WORK IN PROGRESS ]
Automatically detects docking connectors, aligns your ship, and manages thrust for seamless docking.
  • Functions very well in zero gravity.
  • Works fine in natural gravity if it's feasible for the ship.
  • Find nearest unoccupied dockable connector within 500m.
  • Automatically controls thrust to maximize acceleration within the ship's deceleration capabilities. Maximum speed up to 50m/s.
  • Can dock on ship with linear velocity. Can't dock on ship with angular velocity.

Cleared Line of Sight needed.
May work on path finding in the future.

Rotation still janky. Use at your own risk!

I couldn't use In-game Script because it need to scan for grid.

USAGE


Add this configuration to connector custom data on both connectors.

[AutoDock] Dockable=true

Press single quote ' while in controller (Cockpit, Control Seat)
Script will override Thrust and Gyro and turn off dampener.
Press ' again to disengage.

Ship align with connector orientation. so place rotate your connector accordingly.

TODO
  • Check permissions to ensure only authorized users can initiate docking.
  • Allow defining which side of the dock or ship to use. Currently, if another ship is nearby, it may attempt to dock with that ship :]
  • Implement pathfinding for complex docking scenarios.
  • Add favourite rotation angle.

Feel free to comment.
19 kommentarer
Odinfin 27 sep @ 4:41 
I'm having the same issue as @AzerC where my SG miner is trying to dock with my LG ship and just hovers about a meter off the connecter.
Lampglow 24 sep @ 16:24 
I don't really understand how to use it. I tried pressing ' but nothing happens
AzerC 31 jul @ 17:45 
when small ship or ship has high propulsive force(like Hydrogen) are not work properly.
only shaking at front of connector. big ship(Slow Ship) still good.
when in gravity. vertical docking kills my ship and base. but side docking is not bad
i am not sure there are conflict in my mod list. this is only viable docking mod at this time. :steamhappy:
SHADOWTHX 23 jul @ 5:17 
added mod to server. added [AutoDock] Dockable=true to connects. pressed ' from cockpit and nothing. does nothing
woodsguide 19 feb @ 3:43 
getting collision imminent warnings as well..
also my small miner just took off at breakneck speed from 20m away, bounced off the connector and exploded 2km away.. i had zero control over the vessel

mod worked great for the first couple days ;/
Kaiechi 17 feb @ 7:27 
so far ive not been able to make a successful connection with any small grid invoilved, every time the connectors get close it spams the screen with "Beware Collision Imminent" while oscillating the ship a few meters away. And every large grid ive tried fails to decelerate in time and just slams into the connector and destroys it
After testing this mod I have only noted 2 issues:

1. When attempting to approach some connectors if the connecter is a inset connector then it will display "Beware Collision Imminent" causing the mod to prevent docking.

2. If you are coming in to dock and then activate the auto dock it causes it to look for one elsewhere. (I was within 10 m of my desired docking port)
RIN 10 feb @ 2:58 
message that a collision is imminent and the ship never makes it to the docking port.
nhboehm 9 feb @ 13:01 
Hi,
I keep getting a message that a collision is imminent and the ship never makes it to the docking port. It only approaches and then starts shaking like crazy.
woodsguide 8 feb @ 0:40 
is it possible to adjust/limit the docking speed?
is kinda crazy when my ship jumps to full throttle when i am just a handful of meters away from the docking port.

great mod btw ;o)