Space Engineers

Space Engineers

Pilot Assistant System - PAS - Автопилот
72 Comments
[HELLBENT]  [author] 16 Oct @ 11:53am 
@Dpace I'm afraid it's not
Dpace 16 Oct @ 11:20am 
is there a way to change the font for the lcd outputs? specifically the nav lcd
Demaros 9 Oct @ 4:24am 
Nvm I figured it out, just needed to toggle the autopilot
Demaros 9 Oct @ 1:44am 
Excellent thank you. How would I then trigger the route to start?
[HELLBENT]  [author] 9 Oct @ 1:26am 
@Demaros Yes, that's right, just make sure you have enough waypoints so that the angle of the horizon between them does not exceed 3-5 degrees. This version doesn't work well with points on the other side of the planet or something like that, it will start spinning in place because its vector goes into the ground, it's a crutch technology.
Demaros 9 Oct @ 12:54am 
Ah right, no worries, all good things come to those that wait haha.

Going back to how to make a route, if I'm understanding you correctly, would I put something like the below into a terminal block's custom data (let's say it's an LCD), that LCD block needs to be called something like "LCD", only one word.
Then I import it from that block using the IMPORT LCD command?

Breakpoint to Satreus Hub
Takeoff;Breakwater_Forward
GoToPoint;2175496.65419676,921419.718352143,86467.9611505841;1200;250
Landing;234;Satreus_Forward
Wait

This all look correct?
[HELLBENT]  [author] 8 Oct @ 10:53pm 
@Demaros About a year. I am currently working on communication and coordination scripts, which will be an important part of the journey towards a smart PAS2. But I have recently started working full-time, so it will take some time, sorry.
Demaros 8 Oct @ 10:34pm 
Thanks for the quick response. Any ETA on when the new script will be ready?
[HELLBENT]  [author] 8 Oct @ 9:22pm 
@Demaros (I am still working on a completely new version of the script, but I don't have enough free time yet. In the new version, everything will work the way you think it should).
But for now, route management is not entirely obvious. In the waypoints block, you only GPS points. You need to describe the route itself manually in the custom data of any other block (it is very important that its name consists of one word and that there is no block with the same name or number after the name), then you can either generate the route and export it there to edit it, or write it yourself and import it from that specific block. At the time of creating the script, I had little knowledge of how to do this better, but the new navigation system will be able to store routes line by line directly in the waypoints block, and the configuration will be more flexible, and the points themselves will be connected by a graph.
Demaros 8 Oct @ 8:50pm 
Hey mate, I've been using your script on my server and it's been working great, however I don't understand how to get the routes function working? I've written it in the Waypoints' tagged block and tried both importing and exporting it but nothing seems to happens.
Any guidance or examples would be greatly appreciated
Volg 31 Dec, 2024 @ 9:15pm 
accepted. i am online quite a bit, as my schedule is very lenient. i am online now and working on this if you have time now...
[HELLBENT]  [author] 31 Dec, 2024 @ 9:09pm 
@Volg The idea is interesting, we can definitely help each other. Where can we get in touch? I've already sent you a friend request.
Volg 31 Dec, 2024 @ 8:07pm 
I am currently working on making a modular Airport that has this script built into it, so players can just use a blueprint to plop it in the world, and do some minor setup to get it all working. If you want to join me in that game i'd be happy to talk to you in real time to show you what i am doing with it.
Volg 31 Dec, 2024 @ 8:03pm 
sure I am happy to talk to you in detail. As I use it almost every time I play.
[HELLBENT]  [author] 31 Dec, 2024 @ 1:11pm 
@Volg Hi, firstly happy new year, secondly, I lost the desire to work on the script at some point because it seemed to me that not many people needed it. Do you actually use it? If so, I'd like to discuss your suggestion in more detail and, given that you have twice as many hours in game and modding experience, we could together contribute the features you want. Also, could you give feedback on what you like about the script as is and what should be significantly reworked. Perhaps we should build a route through graphs and their connections rather than generating points? The thing is that I was still learning when I made the script, it's full of bad decisions, but I have no desire to redesign it from scratch. I'm willing to tweak it a bit if you'd like.
Volg 30 Dec, 2024 @ 10:44am 
If the 5LNC is the last field in the WP, you could test for missing 5LNC, and just replace it with a generic name "-----" so it would be backward compatible with existing WP players have saved.

And finally, if a /gps coordinate is copied to the list, it could just use the first 5 characters from the gps name as the 5LNC.
Volg 30 Dec, 2024 @ 10:44am 
Could you add a field to store ICAO 5LNC names to WP we record. Then when a WP is selected display this 5LNC name as well as the number on the autopilot information LCD? and maybe give us a WP listing on another LCD showing names/numbers for easy reference. When recording a WP you just fill in a generic 5LNC name "-----", and the player can go back in and edit the Custom Data field to add in meaningful names.

If this almanac LCD idea is used it could display a list of 7 or 9 or what ever fits on the LCD nicely. With the currently selected WP on the center line, and then the PREV 3 or 4 above it, and the NEXT 3 or 4 below it. The previous and next could be indented 2 or 3 spaces to make it obvious at a glance what the current WP is.
kinngrimm 15 Apr, 2024 @ 8:38pm 
scripts are enabled and no mention about this in the ruleset. owner may still dislike it and if he would say something i would ofcause remove the script
[HELLBENT]  [author] 15 Apr, 2024 @ 1:37pm 
@kinngrimm I don't know. You don't think you might be breaking server rules? Maybe if it's turned off, it's done on purpose and you're "cheating" that way
kinngrimm 15 Apr, 2024 @ 10:48am 
would it work on servers where interial dampners are deactivated?
[HELLBENT]  [author] 15 Apr, 2024 @ 10:03am 
@kinngrimm
No, the simplest script will do the job. Try this one from a friend of mine:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2779163201
kinngrimm 15 Apr, 2024 @ 9:42am 
I am on a server where intertial dampeners are disabled , could this script help with that or does anyone know a script that would take over the job of interial dampeners?
[HELLBENT]  [author] 2 Dec, 2023 @ 7:37pm 
Thanks for your suggestions or described problems. I'm a bit busy lately, but I will try to fulfill all your requests with the next update.
Vitos 2 Dec, 2023 @ 7:24pm 
Дякуємо за вашу роботу! Thank you for your work! This script is exactly what I was looking for. I was hoping that the AI Flight block from the Automation update would be able to record and pilot an airplane by only using thrusters that point in one direction, but unfortunately, that block doesn't work that way. Although the script works most of the time, there are a couple of problems that I am having. I will describe them in the discussion.
Devil_Strike_5 30 Nov, 2023 @ 1:14pm 
Can we get a detect ILS feature. It would be nice to know when i am in range of a given runway to land.
[HELLBENT]  [author] 10 Oct, 2023 @ 11:20am 
This is the first time I've encountered such a problem. Can you send me a video of how it behaves? I'll try to look into it in the next few days.
AN Marc Appledash 10 Oct, 2023 @ 10:50am 
my problem is it wont even slow down at all not before or while it is landing
[HELLBENT]  [author] 10 Oct, 2023 @ 10:40am 
So the problem is landing speed. Your airplane is flying fast enough not to lose altitude. Try making this setting lower. Normal values are between 40 and 60 meters per second, depending on the aircraft.
AN Marc Appledash 10 Oct, 2023 @ 10:26am 
Also it is trying to land from the correct way
AN Marc Appledash 10 Oct, 2023 @ 10:22am 
It goes in for a landing flyes over the runway but wont slow down or even touch down on the runway
[HELLBENT]  [author] 10 Oct, 2023 @ 10:08am 
What exactly happens during landing? Is the airplane flying in a circle or just going the wrong way? Air brakes are searched by the script using the phrase "Air Brake".
AN Marc Appledash 10 Oct, 2023 @ 10:03am 
and it also wont slow down i have airbrakes on the plane do they need to be named something or?
AN Marc Appledash 10 Oct, 2023 @ 10:02am 
i got a problem i cant get my jets to land on the runway it keeps saying


LAND DECISION [CONTINUE]
Rusted Droid 3 Oct, 2023 @ 6:40am 
Not work if i put propellers on hinge (subgrid)
[HELLBENT]  [author] 27 Sep, 2023 @ 2:45pm 
@Rusted Droid V-tol it's vanilla :)
Rusted Droid 27 Sep, 2023 @ 2:16pm 
V-tol When?
Wanderer_308 17 Sep, 2023 @ 9:55pm 
Nah, we cool man. Carry on ;)
Sorry for misunderstanding, my fault, mixed up your work with someone elses.
[HELLBENT]  [author] 17 Sep, 2023 @ 4:02pm 
@Wanderer_308 Just in case, I want to ask if you have any complaints or misunderstandings about this work? I just don't want to accidentally ruin the relationship.
Wanderer_308 17 Sep, 2023 @ 2:25pm 
You've answered to exactly what I was asking. Cheers!
[HELLBENT]  [author] 16 Sep, 2023 @ 6:19pm 
@Wanderer_308 I didn't quite understand your question. I named my script myself based on what it does. I also mentioned that it is similar in style to DAS, so I decided to make the name similar.
Wanderer_308 16 Sep, 2023 @ 2:58pm 
Interesting. Was it named that way by original author or it yours idea?
p3st|cIdE 10 Sep, 2023 @ 3:55am 
glad to see this, folks been asking for such features on my scripts for ages :steamthumbsup:
[HELLBENT]  [author] 3 Sep, 2023 @ 11:22am 
@Miroskes Good question! It will work on a regular ship, but it will act like an airplane.
Miroskes 3 Sep, 2023 @ 11:07am 
"This script is designed for automatic and semi-automatic control of "Airplanes" - grids with wings (e.g. Plane Parts) and a single thrust vector (i.e. all thrusters facing the same direction). Simply put, for airplanes in the usual sense of the term." So it means that it wont work on a "normal" ship with multiple thrusters on each direction?
糖酱今天又在摆烂 1 Sep, 2023 @ 6:43pm 
I've always wanted to write a similar script but hesitated because of almost 0 knowledge in C# and aviation algorithms, thanks dude and respect!! I wonder if I could make the plane fly in circle around a point, like the AC130 though..
[HELLBENT]  [author] 1 Sep, 2023 @ 4:39pm 
Thank you so much and all the other people for your support. These words mean a lot to me and motivate to move on.
Wolski 1 Sep, 2023 @ 1:56pm 
When I read stuff like "It took me three years from idea to realization" I'm getting hesitant to start scripting on anything remotely large in scope. I commend your commitment sir!
[HELLBENT]  [author] 1 Sep, 2023 @ 8:42am 
@Wolski I think a separate system will have to be developed for combat tasks. Maybe someday I will redesign the autopilot completely, so that it works on 2-3 program blocks, that way I can put all the necessary things in the code. This autopilot probably won't accommodate any big functions anymore, simply because there's no space in it. If you want me to add something small, let me know in the suggestions thread.
Wolski 1 Sep, 2023 @ 8:35am 
Do you plan on expanding the autopilot functionality so it will be able to perform combat tasks in the future? Or is this autopilot meant to serve only as a automated means of transport?