Space Engineers

Space Engineers

41 ratings
Grand Cruise
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
182.201 KB
15 Jun, 2021 @ 4:23pm
25 May, 2023 @ 2:27pm
21 Change Notes ( view )

Subscribe to download
Grand Cruise

Description
Multifunctional script for small and medium ships with atmospheric and / or hydrogen thrust for fast and safe flights in gravity. Easy to install, allows telemetry to be displayed on the LCD display or on the cockpit panel, pilot's seat or control station. Works only on the main grid, the chassis can be placed on the subgrid. Uses all available 3-way thrusters.
Main features
  1. Flying in cruise control mode at the current or set speed
  2. Flat flight in hard gravity stabilization mode and altitude control
  3. Safe and emergency landing with gear control
  4. Fast launch to a given altitude with control of the gear and connectors
  5. Takeoff into planetary orbit in hydrogen saving mode
  6. Automatic parking with Spug's Easy Auto-Docking 2 (unofficial patch)
  7. Flying on lidar using vanilla autopilot (unsafe after Automotons Update)
  8. Auto maining of ore and ice from the surface with control over the filling of containers
  9. One LCD panel for displaying all installed scripts (if they allow it)
  10. Using only atmospheric accelerators to save hydrogen if the design of the ship allows it

Installation and configuration
For the script to work, the following are required:

a) program block
b) ship controller (cockpit, remote control, pilot's seat)
c) thrusters on three axes - forward, backward and up
d) gyroscope for horizontal stabilization

Optional blocks:

a) camera for lidar and obstacle avoidance by raycast
b) LCD panel for displaying telemetry and other scripts

The installation of the script code into the program unit is carried out by subscription in Steam. After saving the code, add the same "cruise" prefix to the name of the controller or LCD panel for displaying information, as well as for the camera (if used) and then execute the script with the "reset" parameter.

The script works on demand from the beginning to the end of the selected mode, so when you change the configuration of the ship blocks involved in the script, you should also perform a "reset". All modes are activated using the parameters of the program block. When flying in cruise control, yaw and altitude controls are available.

View description of parameters and settings in the header of the script to the program block. Comments and questions are welcome...

Guides & Ships
User Guide: https://steamproxy.net/sharedfiles/filedetails/?id=2980538513
Video Guide: https://www.youtube.com/watch?v=Z17k6wQItBM

Small grid ship - http://steamproxy.net/sharedfiles/filedetails/?id=2519169833
Large grid ship - http://steamproxy.net/sharedfiles/filedetails/?id=2519175094

P.S. Thanks Whiplash141 for his advice on Reddit.

RU
Многофункциональный скрипт для малых и средних кораблей с атмосферной и/или водородной тягой для быстрых и безопасных полетов в условиях гравитации. Прост в установке, позволяет выводить телеметрию на LCD дисплей или на панель кокпита, пилотского кресла или управляющей станции. Работает только на основном гриде, шасси можно размещать на сабгриде. Использует все доступные двигатели 3-х направлений.

Основные возможности
  1. Полет в режиме круиз-контроля с текущей или заданной скоростью
  2. Плоский полет с жесткой стабилизацией по гравитации с контролем высоты
  3. Безопасная и экстренная посадка с контролем шасси
  4. Быстрый взлет на заданную высоту с контролем шасси и коннекторов
  5. Взлет на орбиту планеты в режиме экономии водорода
  6. Добыча руды и льда с поверхности с контролем заполнения контейнеров
  7. Автоматическая парковка в связке со Spug's Easy Auto-Docking 2 (неофициальный патч)
  8. Полет по лидару на автопилоте (небезопасно после Automoton Update)
  9. Одна LCD панель для вывода всех установленных скриптов (ели они это позволяют)
  10. Использование, если возможно, только атмосферных трастеров для экономии водорода

Установка и настройка
Для работы скрипта обязательны:

а) программный блок
б) контроллер корабля (кокпит, ДУ, пилотское кресло)
в) двигатели по трем осям - вперед, назад и вверх
г) гироскоп для горизонтальной стабилизации

Дополнительно:

а) камера для лидара и обхода препятствий по raycast
б) LCD панель для вывода телеметрии и других скриптов

Установка кода скрипта в программный блок осуществляется по подписке в Steam. После сохранения кода нужно добавить одинаковый префикс "cruise" к имени контроллера или LCD панели для вывода информации, а так же для камеры (если используется) после чего выполнить скрипт с параметром "reset".

Скрипт работает по требованию от начала и до конца выбранного режима, поэтому при изменении конфигурации блоков корабля, задействованных в работе скрипта, так же следует выполнить "reset". Все режимы активируются с использованием параметров программного блока. При полете в режиме круиз-контроля доступно управление по рысканью и высоте.

Гайд на Youtube: https://www.youtube.com/watch?v=Z17k6wQItBM

Описание параметров и настроек в шапке скрипта. Комментарии и вопросы приветствуются.
26 Comments
Survival Ready  [author] 3 Sep, 2023 @ 10:37pm 
Just put 0 in the argument string
WardenWolf 2 Sep, 2023 @ 6:22pm 
How do you shut this thing off? What's the exact command?
Survival Ready  [author] 8 May, 2022 @ 2:28pm 
В космосе с ионными не работает - нет гравитации для стабилизации относительно поверхности. В космосе работает лидар. Чтобы вывести информацию на экран кокпита установите переменную outseat = номеру экрана, начиная с 1 в коде скрипта. Там есть в комментариях к ней. Кокпит при этом должен иметь в имени префикс Cruise: например Main Cockpit Cruise.
Gonzi[RUS] 8 May, 2022 @ 12:38pm 
И как вывести информацию на конкретный экран в кокпите?
Gonzi[RUS] 8 May, 2022 @ 12:29pm 
Приветствую! А в космосе с ионными двигателями скрипт работает? У меня пишет, что двигатели не найдены
Survival Ready  [author] 16 Nov, 2021 @ 1:52pm 
I have not tested this possibility, it is possible that it works with some, but not with others. I faced this problem in my other Autokit Assembler script. There, some mod ammo were queued for production, while others were not produced. So I think it all depends on how the mod is written.
Morghdred 16 Nov, 2021 @ 3:31am 
Sorry another question, does this script support modded thrusters? I just tested this on a new ship of mine and seems the script doesnt recognise modden thrusters
Morghdred 5 Oct, 2021 @ 1:27am 
Yes that is exactly what I needs to make it work!
Thank you so much for solving that little issue I have had!
Morghdred 5 Oct, 2021 @ 12:32am 
OH, that makes sense! I'll give that one a try, thank you very much!
Survival Ready  [author] 4 Oct, 2021 @ 9:16pm 
The programming block setting is in the line { "docking", new Progs { PB="PBL Docking", LCD="Cruise", SF=1 } } , where the name of the program block is "PBL Docking". The program block Spug's Autodocking must be on the same grid as the block Grand Cruise. If you have all this installed, then I do not see any other causes of the problem.