Space Engineers
Оценок: 54
Emergency Stop
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
1.375 MB
8 сен. 2015 г. в 15:11
8 сен. 2015 г. в 20:30
Обновлений: 6 (просмотреть)

Подпишитесь, чтобы загрузить
Emergency Stop

Описание
"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.
Комментариев: 36
Subliminal 6 апр в 7:25 
Love this script! I have a small problem however. It activates ALL my connected ships, even if they're powered off. What am I doing wrong?
DataPocalypse 19 янв. 2022 г. в 14:13 
Just tried and it work very well. Thank you!
Dr. Novikov  [создатель] 14 янв. 2022 г. в 2:05 
@Calibrated no idea, it is 6-7 years old now, could you test it, please?
Calibrated 13 янв. 2022 г. в 12:54 
Working?
Wigwambam 5 авг. 2020 г. в 8:00 
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 янв. 2018 г. в 12:23 
Thanks, It's a great little script, hope I can use it again :-)
Dr. Novikov  [создатель] 30 дек. 2017 г. в 16:44 
@Richard Asgard thank you for the info. I will test it.
Richard Asgard 29 дек. 2017 г. в 11:39 
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 сен. 2017 г. в 11:30 
Speaking of gravity drive. Here's a simple script for making a gravity drive WASD drivable:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1134945036
V4D4RS F1ST 3 июн. 2017 г. в 23:29 
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.