Space Engineers

Space Engineers

76 个评价
Sunchiro's AutoDock
3
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script
标签: ServerScripts
文件大小
发表于
更新日期
858.704 KB
1 月 5 日 上午 5:01
1 月 10 日 上午 1:49
8 项改动说明 ( 查看 )

订阅以下载
Sunchiro's AutoDock

描述
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 条留言
Odinfin 9 月 27 日 上午 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 9 月 24 日 下午 4:24 
I don't really understand how to use it. I tried pressing ' but nothing happens
AzerC 7 月 31 日 下午 5: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 7 月 23 日 上午 5:17 
added mod to server. added [AutoDock] Dockable=true to connects. pressed ' from cockpit and nothing. does nothing
woodsguide 2 月 19 日 上午 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 2 月 17 日 上午 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
PO. Souma "Dagglypuff" Strayshot 2 月 12 日 上午 10:49 
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 2 月 10 日 上午 2:58 
message that a collision is imminent and the ship never makes it to the docking port.
nhboehm 2 月 9 日 下午 1: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 2 月 8 日 上午 12: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)