Space Engineers

Space Engineers

57 ratings
Grand Cruise 2.0
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
187.254 KB
15 Jun, 2021 @ 4:23pm
30 May @ 10:55am
31 Change Notes ( view )

Subscribe to download
Grand Cruise 2.0

Description
The script allows you to move your ship in gravity and space as safely as possible, avoiding collisions with the surface of the planet or asteroids. The inertial flight system allows you to save energy and hydrogen and fly at high speeds without the risk of damaging the ship. The script is easy to install and does not require configuration so much as your preferences and courage. Prototech ready.

Major update ver.2.0
Now the script works "out of the box" and does not require individual settings for each ship, as previously described in the guide "Grand Cruise. Fine tuning".

The script works in gravity and space with all types of thrusters, including those installed on subgrids. Vanilla autopilot is no longer used for flights, which consumes a lot of energy and hydrogen.

Mining and parking modes have been removed using an unofficial script patch Spug's Easy Auto-Docking 2 since these tasks can now be solved using vanilla automation.


Main features of the script
— Flight in cruise control mode at a given speed in gravity and in space
— Changing the flight altitude in gravity up/down from the current position of the ship
— Landing and takeoff in gravity with ship parking control landing gears and connectors
— Safe approach to any target using lidar at a specified minimum distance
— Fast takeoff to low orbit from gravity in energy and hydrogen saving mode
— Set jump distance in km for one or more jump drives
— Compatibility with AI Flight (Move) and Remote Control flight automation units
— Compatibility with the script Whip's Subgrid Thruster Manager

Installing the script
The following blocks are required on the ship on main grid:
  1. programm block
  2. ship controller (cockpit, remote control, pilot's seat)
  3. gyroscope for stabilization in gravity

Thrusters and other blocks can be installed anywhere, but for the script to work, thrusters are needed in three directions: up, forward and back. Additionally, you can use:

— one or more cameras facing forward
— landing gear and magnetic plates for landing mode
— parachutes, if you want to crash the ship into a planet on purpose
— any blocks that allow you to output text to the screen for telemetry

Before loading the script into the program block, add the prefix "cruise" to the cameras and telemetry output blocks (LCD panels, consoles, etc.) In the latter case, if there are several screens, you can specify its serial number through the "_" symbol, for example: Industrial Cockpit Cruise_2, so that the output is made to the central cockpit screen.

When changing the configuration of blocks during the game, you need to run the script with the "reset" argument. All arguments and configuration variables are described in the script code header.

Script operation
The script does not load the game and works on demand, performing the task specified to it via the argument for starting the program block. You can place buttons on the digital panel of the controller with an argument for starting the program block or simply execute the script in the desired mode via the Terminal, specifying it in the argument line.

The script does not interfere with the control of the ship and will in every possible way resist your attempts to crash it into the surface of a planet, mountain or asteroid. When flying in gravity, the script levels the ship and does not allow you to change the angles of inclination by pitch (from tail to nose) and roll (from wing to wing), preventing it from stalling into an uncontrolled flight.

In cruise control mode, the set speed of movement will be maintained. To remove this restriction, you can control the ship in flat fly mode. To do this, you need to run the script with the argument "0" and you can fly at any speed. In gravity, the script will maintain a minimum height and try to bypass the obstacle. It is not recommended to fly at maximum speed into the vertical table mountain on Pertam - you may not have enough luck.

Large grid ship - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3337302530
Small ship with subgrids - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3341326477

You can read more about setting up the script in the Grand Cruise 2.0 Guide
47 Comments
Piesolesy 19 Jul @ 5:20pm 
Does it work with excavator os and realistic thrusters
Melfely 16 Jun @ 3:01pm 
I swear that script has been recompiled like 4 times since I changed em but I guess not, Sorry for bothering ya man.
Survival Ready  [author] 15 Jun @ 4:25pm 
This shouldn't happen. Connectors not marked for parking should not disconnect. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3484516876 - here is an example of using the script on two connected ships. If you change the connector status during the game, you need to recompile the script so that it overrides the connector's purpose. Only thrusters are dynamically recalculated.
Melfely 15 Jun @ 3:23pm 
Even on Connectors not set for parking this script still will drop them. Mildly annyoing, dropped a miner of into the ocean because of it :(
Survival Ready  [author] 12 Apr @ 1:45pm 
The camera is needed to avoid obstacles along the ship's course. The camera should not be installed behind glass.
Kevin Starwaster 12 Apr @ 1:39pm 
What are the cameras needed for?
Survival Ready  [author] 31 Mar @ 12:51am 
The main task of the script is to prevent the ship from crashing into an obstacle or the surface of the planet. The variable minalt determines the minimum height to which you can descend during the flight. For flying at a given height, another script is more suitable for you - https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1917788273 , but it is structurally more complex and in the mountains it can also cause problems due to a sharp difference in altitude, for example, when flying through a canyon.
WardenWolf 30 Mar @ 8:38pm 
Is there a way to actually set how high it cruises above terrain? It doesn't sound like minalt actually does that. The problem I'm having is that it winds up going extremely high because it flies over mountains and it climbs even though it's already way above their height. Fly flat is one thing, but I'd like to have terrain avoidance without it going to absurdity.
Dragon gamer 12 Jan @ 4:46pm 
thanks
Dragon gamer 12 Jan @ 4:46pm 
but reseting the cruise scrip fixed it