Space Engineers

Space Engineers

102 ratings
Auto Dock Menu for Spug's Easy Auto-Docking 2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
249.126 KB
9 Aug, 2020 @ 11:56am
16 Aug, 2020 @ 3:05am
5 Change Notes ( view )

Subscribe to download
Auto Dock Menu for Spug's Easy Auto-Docking 2

Description
INTENDED FOR USE WITH
Spug's Easy Auto-Docking 2
https://steamproxy.net/sharedfiles/filedetails/?id=2146371052

Adds a menu to cockpits with docks and ability to see all saved docks and choose them for docking.

INSTRUCTIONS
add !ad2 to the auto dock 2 programmable block
add !adm:X to cockpit where X is the screen number you want, in order of the list in the terminal.
setup G hotkeys using programmable blocks run command and fill out as follows:
previous connector
next connector
previous grid
next grid
previous dock
next dock
dock
run
save

NOTE
When using "save" to save a dock, it will avoid doing overwrite if such dock already exsists under the same name.
However, using "run" will dock or overwrite saved dock.

Be mindful of choosing different connectors on ship because Spug didn't implement the proper rotations with different connectors.
Hopefully he'll add it.

Waypoint support coming soon.

Big thanks to Spug for helping me interface with it and doing the necessary additions to his script.



COPYRIGHT DISCLAIMER

REUPLOAD PERMISSIONS
Only as server specific rebalance mods is allowed without permission under the added condition that it's UNLISTED and following the 'reupload conditions'.

REUPLOAD CONDITIONS
  • If My mod uses another authors work that does not give editing permission by default, You will need to ask listed authors for permission first, after which the continuing conditions apply.
    This will be noted on any mods using other authors assets and other contributons.
  • Mod name cannot be the same, it has to differentiate itself from My original mod name by something, some prefix or suffix.
  • You cannot use My original mod thumbnail for Your mod.
  • You can use My videos showcasing Your mod if You don't have the ability to make Your own and if the showcase still makes sense for Your mod, e.g no significant model changes or non at all etc.
    You best decide, but any other images You are to make Yourself.
  • Credit Me, any contributing authors and link to My original mod must be provided in Your mod description.
  • Clear instructions must be provided that using Your version of mod, any bugs are to be reported solely to You on Your mod page and not My own original mod as they don't necessarily need to corelate nor do I fix and update bugs based on other peoples mod reuploads, unknown mod edits etc, nor will I ever check a mod reupload for bugs or other errors.
    By reuploading, you are taking any updating responsibility on your own.
    However, any updates I make that would still work for Your mod as well can be integrated.

REMARKS
Even if a mod is an update from another existing mod that has an open permission, the assets or code are still my own, in many cases remade from scratch so I own the rights for any assets in cases where the changes are significant.

WARNING
Failing to follow any of the listed conditions, I will consider it as copyright infringement and will take action.
If for any reupload inquiries I don't reply within a month and you attempted to contact me at least three times within that month (I just may not have seen it or wasn't able to respond timely after which I forgot about it), you are free to use it as you see fit.

For additional information, please refer to the official post about mod copyrights by Keen moderators:
https://steamproxy.net/workshop/discussions/18446744073709551615/2793874853443195941/?appid=244850

Discord: https://discord.gg/maBCZSn
25 Comments
Grog 9 Aug, 2023 @ 3:31pm 
@Dakroth due to the use of static variable "Storage" (keep data between sessions), which is linked to the script. (just discovered this script functionality by looking to spug script today)

The use of custom data instead may make it possible to retain config in blueprints. (but rewrite of spug script, and idk if he need it for something else)
Grog 9 Aug, 2023 @ 8:14am 
Hi,
I have just added the reset all option to the script, sorry to Spug for the alteration of the good work ;)

So basically:
1. open the Spug's autodock script in the PB script editor as usual
2. copy the script in a text editor (notepad++, or other)
3. go to line 124
4. replace the full line by:
UpdateType ɼ){ɻ+=1;if(Z.ToLower().Trim() == "reset docks"){Storage="";Z="";ǵ.Clear();Echo("Docking points reset done.");return;}if(Z.ToLower().Trim() == "reset docks"){Storage="";Z="";ǵ.Clear();Echo("Docking points reset done.");return;}if((ɼ&(UpdateType.Update1|UpdateType.Once|UpdateType.IGC))==0){if(Ȅ){if(Z.ToLower().Trim()==

5. copy back the full code into space engineer PB script editor (spug's script)
6. check code, it's done

To reset stored docking point (clear all): run the spug'autodock PB with argument " reset docks ".
Then recompile the additional UI script running in another PB.
Dakroth 6 Aug, 2023 @ 11:14am 
If you have admin access, cut-pasting a grid appears to clear its memory. I've noticed that with some of mine the past several days.
Vrayl 9 Oct, 2022 @ 10:38pm 
Busted for 2022. Can't clear any old connector data. If you change any connector name, you're screwed because it is permanently saved as the old name and no matter what you do you cannot restore the name or clear old data or change to new updated names.
Ngangalaro 16 Dec, 2021 @ 2:05pm 
It's been a few of decades since I was involved with programming... yeah I'm that old; in fact I remember working with punch cards to program main frames. Thanks for the reply, I might get interested enough to piddle around with programming again but honestly I'll likely hope someone at least 30 years my junior takes it up.... hope you have fun with whatever has your interest at them moment, and thanks for the initial idea / posting of this project.
TwitchingPsycho  [author] 16 Dec, 2021 @ 4:59am 
Sorry guys, I'm on SE break or perma break at this point so really can't continue development further. Also forgot most of how it works. Hopefully someone might want to take a look at it and redo it/make a new one. ¯\_(ツ)_/¯ Again, sorry.
Ngangalaro 15 Dec, 2021 @ 11:52pm 
I'm not finding a way to reset or erase saved locations, would you advise how to do so that I may clean up saved location data?
BoompaBlubbah 31 Jul, 2021 @ 3:51pm 
"Bit of a jam with time so it is coming but i really can't tell when. :("

This year perhaps .. ?
Cronyx 4 Jul, 2021 @ 7:40pm 
What connectors are those in the video? I've seen ones before that have a small connector mount recessed into a large one, and it looks like that's what this is, but I'm not sure what the most modern one is.
Dardzull 13 May, 2021 @ 1:58pm 
crashes when used with vanilla small block programmable block