Space Engineers

Space Engineers

221 ratings
Auto-Docking Optional Home Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.870 KB
Mar 15, 2018 @ 12:06pm
Apr 21, 2018 @ 5:30am
6 Change Notes ( view )

Subscribe to download
Auto-Docking Optional Home Script

Description
Gives the Spug's Easy Auto-Docking script script live home connector position updates.

This is the optional module to accompany my Easy Auto-Docking Script. This is placed in a programming block on the home ship to allow live updates on it's position.

Please note, this won't work if the home ship is moving about and it's trying to dock. It'll have a go at it but the final approach isn't possible until home is held still for 2 or 3 seconds. (Shown in the video)

Features:
  • Allows the home ship to be moved and the docking ship will still dock to the right place.
  • Easy to install
  • No changes need to be made to the "Spug's Easy Auto-Docking" script. (ensure it is on the latest version however)
  • Only one of these scripts is needed on the home ship to manage many docking ships.
  • The tags mentioned in the installation section below can be changed at the top of both scripts.
  • Enables drone remote recall.

Installation:
  • Both the docking ship and home ship must have an antenna on.
  • The antenna on the home ship needs to contain [Home] in the name and the "Assigned programming block" drop down menu must have the programming block with this script in selected.
  • The antenna on the docking ship needs to contain [Dock] in the name and the "Assigned programming block" drop down menu must have the programming block with the "Spug's Easy Auto-Docking" script in.
  • Ensure all connectors have unique names.
  • Recompile both scripts. - The main script should say "found antenna"

(See guide video if you're unsure about any of this)

German tutorials by FreakyMuffin:
- Tolles Tutorial von FreakyMuffin für wenn Sie lieber Deutsch.
- Teil 2 seines Tutorials

Drone recall:
Run the argument on the optional script: recall ARGUMENT
where ARGUMENT is the argument your ship uses to return to the connector you're recalling to.
For instance, if your ship is set to a connector with the argument "home1", you would recall it to home1 by running the argument:
recall home1

If you're using no argument, just the word recall is needed.


Connectors are saved using their names so make sure ones you intend to dock onto with this are uniquely named. As a good side effect of this though, you can swap the names of your connectors round to remotely change the home connector for your ship: if manually docked onto a connector called "Connector 5", when docking (with this optional script enabled on the home grid) it'll dock to whichever connector happens to be named "Connector 5".
This even works across different ships, as long as both have this optional script on board.

Main script:
http://steamcommunity.com/sharedfiles/filedetails/?id=1330904900

Please Rate and Enjoy!
105 Comments
RikeiR Dec 31, 2024 @ 11:51pm 
The “recall” argument is not working.
Zac Apr 8, 2024 @ 5:36am 
Sadly no longer working, I think due to transmitMessage changes now being IGC based.
Chip Patton Jul 12, 2021 @ 8:03pm 
Also Sprug, if you could make this hook into PAM... $$$$
Gunner Mar 20, 2020 @ 8:23am 
Spug PLEASE FIX Script!!!!
Black.icE Jan 12, 2020 @ 12:15am 
Can anyone fix this program?
KILLFUCC SOULSHIEITTER Dec 29, 2019 @ 4:46am 
Broken. Crow's workaround if any know of it does not seem to work either.
thorman123456789 Dec 25, 2019 @ 4:39pm 
hey @spug i see your online any chance of updating this and your main script or are you done with this script and will no longer support it? because if you are done with scripting you should put something like (BROKEN) in the title or (DEPRECATED)
Konraad Nov 30, 2019 @ 6:25pm 
Fixed yet?
Skuldduggery Oct 26, 2019 @ 7:11pm 
An neralem
Ich benutz immer zeitschaltuhren welche das abdocken übernehmen