Space Engineers

Space Engineers

491 ratings
SAMv2 - Sam's Autopilot Manager version 2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Tags: autopilot
File Size
Posted
Updated
746.163 KB
Feb 12, 2019 @ 1:36pm
May 20, 2021 @ 1:35am
68 Change Notes ( view )

Subscribe to download
SAMv2 - Sam's Autopilot Manager version 2

Description
What
  • Have your ship autonomously and automatically fly between any multiple Connectors in the Star System, without having to worry about recording waypoints.
  • Turn your ships into autonomous navigation vessels. Without a need for a cockpit, just tell it where you want to go, and it goes, with or without you as a passenger.
  • Automate cargo runs with ease. In the plannet and in Between planets.
  • Worried about mountains and collisions? Worried about your Remote Controller getting stuck? Don't worry anymore.

Usage
The documentation become too big so I added a guide here:
https://steamcommunity.com/sharedfiles/filedetails/?id=1947156145

When something does not work
  • Do you own all blocks in the grid? You should.
  • Does your ship have enough power/hydrogen? It must.
  • Does your ship have enough Thrust power in every direction? Including UP. It must.
  • Do your Antennas have enough range to cover each other and are they enabled to broadcast? They should.
  • Are all your blocks in the same construct? (adjacent to rotors or pistons but not connectors);
Things are still wrong? I suck at coding. Leave a comment with a link to the game file, perhaps I can help.

Donations
I have a day job. Please buy food and donate it to your local homeless shelters instead.

Contributions
Regarding contributions. I have made the code available in GitHub:
https://github.com/sugardose/SpaceEngineers/blob/master/SamsAutopilotManager2.cs

I will periodically review submissions and update the script with those submissions.

Discord and Server
I can be found on this discord and related server where I usually play and test SAM: https://discord.gg/JgAt6zBQBm
Popular Discussions View All (5)
53
Aug 3, 2024 @ 10:20am
Report suggestions to improve this script here.
Magistrator
1
Sep 18, 2022 @ 9:09am
Timers Not Working
KnightReaver
0
Aug 20, 2021 @ 2:20pm
Request
Karmasutra
857 Comments
TechCoder May 10 @ 4:30am 
the version you download here is non-maintained and is VERY old.

Use https://steamcommunity.com/sharedfiles/filedetails/?id=2892105352 instead
lolodu38 May 9 @ 2:01pm 
lot of issue, cannot let it run alone
TechCoder Feb 8 @ 2:25pm 
you mean "when I asked an automated pilot to fly my ship and it uses thrusters in all directions to keep it in line during flight?" - nope..... This script (and I presume you mean vs. the very old original SAM script - well, really any autopilot is likely true...) will fly the ship and use thrust to keep it as steady as possible... (i.e., I don't see any "problem" to "fix" here!)
SirFlutternutz Feb 8 @ 11:49am 
Does this script fix the problem with autopilot rapidly flickering thrusters in all directions even when at max speed?
jarhead Jan 22 @ 5:53pm 
Patrol mode will use either gravity or "dock" direction to "orbit" at a set distance from the "dock". If in gravity then it goes to set altitude then flies at set horizontal distance from "dock". If in space the "patrol drone" "dock" -> station/ship "dock" will be how it decides what is "down" for orbit. This makes the ability to have a connector on back, top, side, bottom, and even front of drone available. The altitude is "above" "dock" instead of ground.
jarhead Jan 22 @ 5:53pm 
What about a patrol mode or a shuttle mode?
Shuttle mode will be this but have several stations or ships that will have a PB, antenna/beacon, and a "call" button. If your at a station/ship and hit the "call" button then it sends a command in the script that then goes to the "shuttle" and the shuttle then adds your "dock" (connector) to its list and starts navigation. If other connectors are already on the list then it goes to them first and as it leaves each dock it will remove it from the list. It will only leave after set time (adjustable). Inside the shuttle you would be able to "scroll" to select your destination and it will be added to the end of the list.
TechCoder Nov 24, 2024 @ 12:40pm 
Not sure what/how that is, but the URL is really screwed up on that link!

It has TWO "http" parts - which is not right....

copy/paste JUST the https://steamcommunity.com/sharedfiles/filedetails/?id=2892105352 part into a browser - it will work fine.
Frogmaster Nov 24, 2024 @ 10:12am 
@TechCoder, when I hit your link steam says:

Link Blocked!
This link has been flagged as potentially malicious.
http://(https://steamcommunity.com/sharedfiles/filedetails/?id=2892105352) has been flagged as being potentially malicious. For your safety, Steam will not open this URL in your web browser. The site could contain malicious content or be known for stealing user credentials.
TechCoder Aug 21, 2024 @ 6:45am 
No problem - it happens to us all (and not just because we're old - but I've got plenty of that to go around...! :P - quite often you rebuild after a slight 'ding' and forget to tag the stuff for SAM again - got lots of those T-shirts myself.

Glad you found it so quick.
PvtClip Aug 21, 2024 @ 6:33am 
I cant believe it I didnt tag the front camera, tagged everything else. I also cant believe I didnt see that. Sucks to get old....lol. Thanks so much. I will get a link to your discord soon, got to run at the moment. Again Thanks.