Space Engineers

Space Engineers

53 ratings
Emergency Stop
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.375 MB
8 Sep, 2015 @ 3:11pm
8 Sep, 2015 @ 8:30pm
6 Change Notes ( view )

Subscribe to download
Emergency Stop

Description
"I used to be a Space Engineer, just like you. Then I accidentally pressed T"

Space Engineers ship emergency stop script by drNovikov.
v0.51 (updated 09.09.2015)

Saves your ships if you accidentally get out of your cockpit or if you get disconnected from a server.
Does not rely on sensors.

How to use: have a looping timer run a programmable block with this script and also restart itself
every second. You can also run the script with the word "manual" as an argument if you want to stop
your ship by a quick key, button panel, sensor, timer, etc.

Additionally, you can place a timer, name it "TriggerOnShipControlLost", and use this timer to set
your own actions that need to be performed when ship control is lost. For example:

- Turn on a beacon or an antenna and increase their radii to maximum.
- Toggle some blocks on/off for power saving, so the lost ship stays working and broadcasting longer.
- Turn on an auto-pilot for flying your ship to a predefined GPS location.
- Turn off gravity drives but leave other gravity generators working (comment out the DisableGravityDrives();).

Special note: scripts need at least one working cockpit, control station or remote control on a ship
in order to enable inertia dampeners. It's a good idea to have a remote control block or another
control station hidden away from your main cockpit in case the main one gets destroyed mid-flight.
If there are several blocks named "TriggerOnShipControlLost", the script will attempt to trigger
only the first one.

What does it do: as soon as the script detects there is no one in control of the ship or any of its
turrets, it enables inertia dampeners, turns on gyroscopes and thrusters, cancels their overrides.
Also, turns off gravity generators and artificial masses to prevent them from counteracting
the inertia dampener.

Thanks to Mustardman24 for the idea of enabling inertia dampeners by sensors and his script that
I initially used for my ships in conjunction with sensors, and later wrote my own smaller version with
a reliable way of detecting loss of control.
35 Comments
DataPocalypse 19 Jan, 2022 @ 2:13pm 
Just tried and it work very well. Thank you!
Dr. Novikov  [author] 14 Jan, 2022 @ 2:05am 
@Calibrated no idea, it is 6-7 years old now, could you test it, please?
Calibrated 13 Jan, 2022 @ 12:54pm 
Working?
Wigwambam 5 Aug, 2020 @ 8:00am 
Anyone know if this works on like PAM miners aswell? or is it purely for something being piloted?
PAM stops working if there is no one on the server
Richard Asgard 4 Jan, 2018 @ 12:23pm 
Thanks, It's a great little script, hope I can use it again :-)
Dr. Novikov  [author] 30 Dec, 2017 @ 4:44pm 
@Richard Asgard thank you for the info. I will test it.
Richard Asgard 29 Dec, 2017 @ 11:39am 
The script is broken since last game update, hope you can update the script to work with the new game version. I use it all the time.
Mohawk 14 Sep, 2017 @ 11:30am 
Speaking of gravity drive. Here's a simple script for making a gravity drive WASD drivable:
http://steamproxy.net/sharedfiles/filedetails/?id=1134945036
V4D4RS F1ST 97 3 Jun, 2017 @ 11:29pm 
This is a really smart thing. Especially considering when i regularly fly my ships in excess of 2000 m/s if im not far enough to warrent using a jump drive.
Dr. Novikov  [author] 2 Jun, 2017 @ 11:05am 
@Xanthyn thank you very much!