Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Strange... I installed two programmable blocks, loaded the script twice into each. I wrote down the ToBase route for the first one, and the ToMine route for the second one.
I launch ToBase or ToMine, the ship flies to the last recorded dock. Apparently something broke in the game.
Thanks
Probably the same issue like "Not Returning to Player control after Docking" in the discussion section. Unfortunately this is a thing since ages.
Hope this helps
I'm working on something like that. But, it's complicated script like you. It need alot time.
I using two scripts: one script send GPS by Antenna, second ready and AutoDocking.
My script can park in hig-velocity. But I have not complite yet.
I see you have done it.
So, should I continue my? can your ship dock to the moving ship?
To Remove known locations , run an argument "clear" + name of location
i had to look that the source code as it's not stated anywhere
I'm finding when I move the carrier ship they can end up ramming into it before getting to the connector.
Anything obvious I'm doing wrong?
https://spaceengineerswiki.com/Programming_Guide
"All variables, local and global except for the built-in Storage variable will lose their value or return to their default value when recompiling the code and between saved game loads. The Storage variable is unique in that it will store the data as a string for use between saved sessions and recompile."
Any ideas?
What IS that particular arguement? The name of the saved location? Does it only save locations while docked and return to them while Undocked and I simply use the same name IE Landing Pad One to BOTH Save AND Recall?
I have just added the reset all option to the script, sorry Spug for the alteration of the good work ;)
So basically:
1. open the 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
6. check code, it's done
To reset stored docking point (clear all): run the PB with argument " reset docks ".
If you use the additional UI script running in another PB, you'll need to recompile the UI PB.