Space Engineers

Space Engineers

Not enough ratings
Hull Breach Alert (Script)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
559.000 B
28 Jul, 2015 @ 5:59am
6 Mar, 2017 @ 4:33pm
2 Change Notes ( view )

Subscribe to download
Hull Breach Alert (Script)

Description
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 Comments
Gufo10 1 Jan, 2021 @ 5:47pm 
nvm, it was detecting a ship docked outside :p
Gufo10 1 Jan, 2021 @ 5:42pm 
it just triggers the sound every 8 seconds, even though the room is pressurized
Slimbo  [author] 6 Mar, 2017 @ 4:40pm 
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 @ 2:38pm 
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 Dec, 2016 @ 7:41pm 
Ok, sweet. Thanks!
Slimbo  [author] 29 Dec, 2016 @ 5:30pm 
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 Dec, 2016 @ 4:27pm 
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  [author] 29 Dec, 2016 @ 4:05pm 
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 Dec, 2016 @ 4:01pm 
Can this detect in specific rooms?
ACRONYM 9 Aug, 2015 @ 2:07pm 
k