Space Engineers

Space Engineers

Nicht genug Bewertungen
Hull Breach Alert (Script)
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Dateigröße
Veröffentlicht
Aktualisiert
559.000 B
28. Juli 2015 um 5:59
6. März 2017 um 16:33
2 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
Hull Breach Alert (Script)

Beschreibung
What it does:

- It detects and warns you of hull breaches

- This upload is mainly for the lazy people like me who dont want to copy & paste the script into the game, but instead use the ingame workshop function and for those who dont want to use the provided sound and or play vanilla.

Use in combination with this soundblock sound:
http://steamproxy.net/sharedfiles/filedetails/?id=489690588
Or use with one of the sounds already ingame.

How to use:

- Setup a ship or station with one or multiple air-sealed rooms
- Place a timer block, a programmable block and a soundblock
- Make sure you placed air vents
- Every air vent must have the words "air vent" in it's name without quotes
- Name the soundblock: "Sound Block Hull Breach" without quotes and select the Hull Breach sound
- Set the timer block to 8 seconds and make it "run" the programmable block, aswell as repeat itself

For use in rooms with doors leading outside:

- Place a button and a timer block
- Set the button to make the timer block Trigger Now
- Set the timer block actions to open/close the door AND turn on/off the soundblock
- Be aware, this method simply turns off the soundblock while the door is open, so you won't be warned if there actually is a hull breach while the door is open

Did it work?:

- Pressurize the rooms
- Delete a block, so a room gets depressurized
- Within 8 seconds the soundblock should warn you
18 Kommentare
Gufo10 1. Jan. 2021 um 17:47 
nvm, it was detecting a ship docked outside :p
Gufo10 1. Jan. 2021 um 17:42 
it just triggers the sound every 8 seconds, even though the room is pressurized
Slimbo  [Autor] 6. März 2017 um 16:40 
This should be fixed now. For those who use it in multiple instances: var airVents = SearchBlocksByName("Air Vent"); and string soundBlockName = "Sound Block Hull Breach"; have to be changed for each instance.
KilledJoy 16. Feb. 2017 um 14:38 
This will only trigger 1 soundblock if you use it for an entire ship, I have a fairly large ship trying to use this and have it set to have multiple sound blocks... only triggers 1 soundblock when set for whole ship alerts. 1/8th of my ship will know of a hull breach.
Concrete Slurper 29. Dez. 2016 um 19:41 
Ok, sweet. Thanks!
Slimbo  [Autor] 29. Dez. 2016 um 17:30 
You should be able to set it up like that by making the script run multiple times (one programmable block, timer block, etc. per room). You would have to change the script a little bit ("air vent" -> "air vent 1,2,3..." "Sound Block Hull Breach" -> "Sound Block Hull Breach 1,2,3...). This would make the sound come from where you put the soundblock for each room. Doing this also enables you to give every room a different sound e.g. bridge hull breached, crew quarters hull breached... You would have to create those sounds obviously but it should work.
Concrete Slurper 29. Dez. 2016 um 16:27 
I mean like in a way that if it were on a map of the ship, it could show up with which room had the breach.
Slimbo  [Autor] 29. Dez. 2016 um 16:05 
Yes, it detects the status of air vents. If you want it to only work in specific rooms simply rename the air vents in the other rooms to something without the words "air vent".
Concrete Slurper 29. Dez. 2016 um 16:01 
Can this detect in specific rooms?
ACRONYM 9. Aug. 2015 um 14:07 
k