Space Engineers

Space Engineers

Auto Dock Menu for Spug's Easy Auto-Docking 2
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
Kaito 2 May, 2021 @ 3:16am 
When you say "waypoint support", do you mean recording or following them while docking?
Marredone 9 Apr, 2021 @ 8:01pm 
I tried to add waypoint support. My brain exploded. I am happy to wait, you take all the time you need lol. Way out of my league, thanks for releasing what you've made!
WJSabey 20 Mar, 2021 @ 5:23am 
Just a heads up that if used on a programmable block without a surface, this crashes.
TwitchingPsycho  [author] 9 Mar, 2021 @ 4:17pm 
Boompa, sorry for having a life and other priorities as well at times. ¯\_(ツ)_/¯
BoompaBlubbah 4 Feb, 2021 @ 1:37pm 
"Waypoint support coming soon".

That be a whole long a soon there.
TwitchingPsycho  [author] 11 Oct, 2020 @ 1:25am 
Bit of a jam with time so it is coming but i really can't tell when. :(
Shadowpheonix 10 Oct, 2020 @ 9:41pm 
Any progress on the waypoint support? ;)
Waypoint support is one of the biggest draws that Spug's Autodocking has for me over SAM's AutoPilot . If this menu supported waypoints and Spug's supported collision avoidance, it would be the perfect autopilot setup.
TwitchingPsycho  [author] 1 Oct, 2020 @ 7:27am 
Np. 😁
ChozoSR388 1 Oct, 2020 @ 6:54am 
Nevemind; I was asking about cockpit screen selection, but I see had already been addressed. Awesomeness. This will make things MUCH easier. Thanks a ton!
TwitchingPsycho  [author] 1 Oct, 2020 @ 12:11am 
That depends if there's a way to remove it from the parent script. Since it only reads it's data directly and shows connections from it. I think Spug added the possibility, just simply follow the instructions to remove the connection on his script and recompile my menu script.
Valeq 30 Sep, 2020 @ 3:38pm 
Is there a way to clear the data, like old connectors and grids?
[A2M] Lenny 16 Aug, 2020 @ 8:40pm 
Awesome dude thank you!
TwitchingPsycho  [author] 16 Aug, 2020 @ 5:21am 
Done
Now don't matter what block it is, you can now put the !adm:1 tag on block and if it had an lcd, it will use it for the menu. 😁
TwitchingPsycho  [author] 16 Aug, 2020 @ 1:40am 
Will do. :)
[A2M] Lenny 15 Aug, 2020 @ 10:37pm 
Great mod! You should add an LCD output tag like Spugs has. Would be great for controlling the ship with a button panel.

Cheers and thanks for the hard work!