Space Engineers

Space Engineers

Not enough ratings
Vivicorp Autodock/Shuttle Script Sample World
   
Award
Favorite
Favorited
Unfavorite
Type: World
File Size
Posted
Updated
2.624 MB
19 Feb, 2017 @ 1:40pm
11 Oct, 2018 @ 3:31pm
15 Change Notes ( view )

Subscribe to download
Vivicorp Autodock/Shuttle Script Sample World

Description
A sample world for my scripts:
Childship Script
Mothership Script

Why This exists
To provide a working sample for the block configurations for these scripts. See text panels and custom data on yellow colored blocks for information

This is a quickly produced early version of this sample to get you started, and as noted on the scripts themselves, the scripts are in BETA and as such are not fully tested and need some work. Some features that are still a WIP are demonstrated here and there is a bug or two you can hit in this world. This world will also likely update fairly often until the scripts are stable with more samples and updated scripts

Until these scripts are fully released this should be taken only as a configuration guide and to give you an idea of some things I want it to be capable of when free of bugs.

Known issues include:
  • Too complex errors - A fix for this was put in 3/19, please let me know if you still see any, further improvements should be coming either way
  • Setup is a bit complex, its been suggested I work on a setup script, and I rather like the idea. I'll add links when its done
  • At least one set of modded thrusters doesn't quite work right. i suspect this MAY be because either a value isn't modified properly or isn't properly modifiable in the mod itself, either way, I want to set a max sped option

What you can use it for now:
  • Merge blocks work fine
  • Connectors work fine
  • 2/19 updated: Small or large ship landing gear onto large ship works fine. Small or large onto small may or may not work as intended as I have not tested them yet
  • Docking ring (RingLeader/RelatedDocks) functionality works
  • RequestDocking and RequestChildren work correctly for block commands
  • 2/25: OnDock/OnAccept/OnUndock and associated functionality works
  • 2/25: Docking in gravity has had some early testing done. I'm not having issues now but it is at your own risk
  • 2/25: You can now specify a left/right and up/down offset to the initial dock point

What might be added:
  • Add logic for "pass through" to another block for unrecognized commands

If you can't get it to work:
  • Check capitalization of all freeform config options.
  • If you get time outs make sure your antenna are all set up to point at the proper blocks.
  • Recompile the programmable block.

If you find something that isn't on the list of known issues:
Please let me know! I am following comments on all three workshop items and have a thread for the script here[forum.keenswh.com]
42 Comments
bT*-Vivi-  [author] 14 Oct, 2018 @ 10:43am 
Oh thats even stranger - I thought they were flying to where autopilot from the remote block should shut off then not moving, didn't know sometimes my script would kick in then give up. Hm...
ㄥoㄥıʞɐꞱ 14 Oct, 2018 @ 9:22am 
it does not happen only before docking. It sometimes happen that they keep staying at the position where they were at requesting them, sometimes at the set distance before flying to dock and sometimes just some meters in front of the connector. It seems pretty random :/
ㄥoㄥıʞɐꞱ 14 Oct, 2018 @ 1:53am 
the task is running when they wont do anything anymore yes
bT*-Vivi-  [author] 13 Oct, 2018 @ 3:00pm 
I had an epiphany in the shower - when they're sitting there do the remote blocks by any chance still claim they are navigating? I recall I used ot have some issues with remote blocks never ceasing to navigate so the scripts wouldn't trigger, but I thought that was long fixed. If not maybe I'll put something in that says "Hey, if you're within 1 meter of the waypoint and you're not moving, turn off navigation and start orienting"

I also saw a comment maybe on keen forums about orientation - I may add an offset dealing with that tomorrow so what is considered "UP" on the docking block can be turned
ㄥoㄥıʞɐꞱ 12 Oct, 2018 @ 12:45am 
strange, i really just join the sample world, roll swarm-mothership with gyro and undock so they all have mostly same distance, then i stop the swarm-mothership and request all childs. Sometimes 1 or even 2 swarm drones are docking very fast, sometimes it tooks some minutes, but there is always a minimum of 2 drones i need to wait very very long or give them some push to continue
bT*-Vivi-  [author] 11 Oct, 2018 @ 7:08pm 
Er, that last comment was poorly worded, I believe you on your timings, I just mean it took only a minute or so total for me.
bT*-Vivi-  [author] 11 Oct, 2018 @ 7:08pm 
Hm I did notice they took longer than I expected (Not THAT long but still longer)

A more recent update was one to use the built in self-trigger thing from keen - they're set to wait the max time between loops until the autopilot is complete, I may need to modify that.

Unfortunately tomorrow evening if not this weekend will be my next chance.
ㄥoㄥıʞɐꞱ 11 Oct, 2018 @ 4:26pm 
Hey it seems not to crash now bc it wanted on the other side and then not stopping override and fly away. Now they don't do this (until now) but they fly in position(some meters in front of each connector) and take ages to align and finally dock. Waited 5 minutes until 2 swarm ships were docked. Still waiting now for other 2 (since 15 minutes now).

The 2 swarm ships still standing still, so i decided to give them a push with another ship and once i pushed a swarm drone, it began to align shortly and connects to the mothership as it should

But something is causing it to not continue align correctly when they wait the 20 meters??? in front of connector, they just stand still until i push them
bT*-Vivi-  [author] 11 Oct, 2018 @ 3:32pm 
Hm, I can't seem to replicate on the sample world. I've re-uploaded it in case something is different from last time I uploaded, can you try again when you have a minute please?
ㄥoㄥıʞɐꞱ 10 Oct, 2018 @ 10:18pm 
Hey Vivi, i just mean To give your script a more common name. Manye people search more for like "Autopilot" "Autodock" or similar. Thank you for your time btw :D

Yes this screenshot happens very often ^^ they just fly away then when you try to get them unstuck xD