Space Engineers

Space Engineers

Spug's Easy Auto-Docking 2
Karamell 10 Sep, 2020 @ 8:42am
Best way to make a Cargo Drone?
Hello again! I've set up my mothership to auto dock, as well as all it's drones to be able to land on it and it works flawlessly! After using this to build a mining base, my next step is to make drone(s) that fly the resources from the new mining station to my city.

Question is, what is the best / propper way to set this up?

I've already built the drone, and used the waypoint system to make it go between the bases, but I'm now sitting here pondering how it's best to set it all up. Timer blocks are ofcourse the way to go, but I want to plan for future drones to be able to land and none of them crashing the system in anyway.

Here's what I'm going to try to start with:
Make a timer block on each base with [dockD1] tag (as well as changing the prefex in the prog block on the ship to match this ofcourse.

The city Timer block (10s delay) will:
-Start timer block (3s) on ship to turn on the connector
-Turn off Connector (I think I have to turn off the connector, or else it'll start overwriting the existing program)
-Run Prog block with command to go to mining station

It'll be the same on the mining station but it'll run the program to go back to the city instead.
I'm using isy's inventory manager to move cargo in and out of the ship, giving it a 10s delay at each base just to be sure =)



Is there something I'm missing? Something that I can add to make it even easier than this?


-With regards from your sweetest sweet =D
< >
Showing 1-4 of 4 comments
Karamell 10 Sep, 2020 @ 9:41am 
Had to make two timer blocks on the drone to make a delay for program to start, having it turn off the connector and running at the same time made it overwrite.

I have issues with the Timer block starting when I land tho, I changed the prefix to [dockD1] in the program and added that to the timer block in the base, but it doesn't run when the program lands on the connector.

I did change the value to [dockD1] in the program (doesn't numbers work, or capital letters?)
I also turned on that the program will search the base for that prefix:

string lcd_tag = "[dock]";
string timer_tag = "[dockD1]";
bool force_timer_search_on_station = true;
string start_timer_tag = "[start dock]";

I could try to only use "dock" but then I wouldn't be able to make multiple drones going to different bases =D Any ideas?
Karamell 10 Sep, 2020 @ 12:00pm 
I ended up using sensors to trigger a timer block instead =)
Spug  [developer] 10 Sep, 2020 @ 1:38pm 
Originally posted by Karamell:
I ended up using sensors to trigger a timer block instead =)
Hi Karamell!

Good spot with the capital letters, you're right, it won't allow for capital letters in it. I'll fix that up for you. Classic me to miss something simple like that ;)

To stop the drone overwriting other locations, you can use the text !readonly before your argument:
!readonly dock01
If the connector is in the "ready to connect" state (orange ring) then !readonly will make it attempt to fly off to dock which should be useful for you.

Those are things I know of that may help you on your crusades :)

Anything else you're curious about, just ask <3

Spug
Last edited by Spug; 10 Sep, 2020 @ 1:41pm
Karamell 11 Sep, 2020 @ 4:29am 
Glad I could help, and thank you so much for fixing that =D
< >
Showing 1-4 of 4 comments
Per page: 1530 50