Space Engineers

Space Engineers

232 beoordelingen
Vitkan's Security System Script
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
Bijgewerkt op
625.000 B
23 sep 2015 om 15:02
23 apr 2016 om 14:36
5 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Vitkan's Security System Script

In 1 verzameling van LeonserGT
Contributions to EEM
179 items
Omschrijving
This script written by "Deer with Beer" (Vitkan earlier) detects any damaged or grinded blocks and triggers timer with specific prefix.

UPDATE: now you can set desired percent of damage which will trigger alarm. 90% by default (to prevent alarm triggered by accidental thruster damage), see comment in script.

Good for security anti-griefing systems - it will trigger alarm if someone will try to grind functional block or simply damage it.

Triggering timer make it universal - you can simply add whatever you want in it.

HOW TO USE:
- Place two timers and programmable block;
- Set first timer to run the program and start itself, trigger it;
- Rename second timer - add [Security] in it's name, for example "[Security]Timer Alarm";
- Add whatever you want in second timer to build your own security system.

You can change needed prefix in code itself, there's a comment for it.

Thanks to Mahtrok for further script upgrades, such as damage percentage and "if name contains" check instead of "if name begin with"!

Respect to Maxyall for thumbnail poster. He already added it to his Commercial LCD pack.
74 opmerkingen
BinaryKiller Recoded 19 apr 2021 om 5:12 
I was looking for something that turns my vessel/vehicle hostile if someone grinds the thing, can this do the same?
Mr. Thiccums 16 dec 2020 om 14:34 
Ikr? It's so cool. People can look at the ads and actually find mods they probably never would have found
LeonserGT  [auteur] 15 dec 2020 om 1:53 
Yep, 90% of those ads are related to something made by community :lunar2019piginablanket:
Mr. Thiccums 14 dec 2020 om 20:48 
I actually heard of this through the advertisements strewn around a city project one of my friends is working on lol
ZettDeEff 12 apr 2020 om 16:22 
Never mind :steamfacepalm: But thx 4 u reply LeonserGT ;-)
LeonserGT  [auteur] 12 apr 2020 om 15:58 
What you're doing wrong is using 4 year old script, that we do not maintain anymore. Sorry, but I'm sure there are plenty other security scripts that are solving what you need and more.
ZettDeEff 12 apr 2020 om 12:49 
What the heck? The script seems to be responding. BUT! It only activates when I repair the grid after I damaged it and not vice versa. What am I doing wrong? :steamsad:
Mux 13 jan 2020 om 11:21 
how do you activate an "all clear" system?
Church.exe 27 jan 2018 om 8:34 
does this also work with hacked blocks, say if an enemy gains control over a block
Copycat80 29 sep 2017 om 10:34 
can this work if the grid is damaged?