Space Engineers
235 คะแนน
Vitkan's Security System Script
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
ขนาดไฟล์
โพสต์
อัปเดต
625.000 B
23 ก.ย. 2015 @ 3: 02pm
23 เม.ย. 2016 @ 2: 36pm
5 หมายเหตุการเปลี่ยนแปลง ( ดู )

สมัครสมาชิกเพื่อดาวน์โหลด
Vitkan's Security System Script

อยู่ใน 1 ชุดสะสม โดย LeonserGT
Contributions to EEM
178 รายการ
คำอธิบาย
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.
79 ความเห็น
LeonserGT  [ผู้สร้าง] 14 ก.พ. @ 2: 34am 
I just hope that designing a game to be really fun would remain exclusive human job 😅
Vas 14 ก.พ. @ 1: 50am 
Well, wasn't my work, GPT did it. :P

I asked for someone's help in a coding discord, but the only person responding was a jackass who likes to troll people, so I asked GPT and it did everything without ridiculing me once.

Its times like this I think its great AI is gonna replace people at everything. :|
LeonserGT  [ผู้สร้าง] 14 ก.พ. @ 1: 46am 
Nice work, thanks for the update😊
Vas 14 ก.พ. @ 1: 41am 
I uploaded it so you can check it out.
https://steamproxy.net/sharedfiles/filedetails/?id=3427056672
The credits portion might get a little confusing with all the updates and stuff. I tried to put some credits at the top of my upload.
Vas 14 ก.พ. @ 1: 14am 
I've got an update for your script, I dunno how to upload it to the workshop yet, but I also wanted to ask prior. It takes the timer block out of the requirement of running the script for one and adds some echo output to show the script is functioning.
BinaryKiller Recoded 19 เม.ย. 2021 @ 5: 12am 
I was looking for something that turns my vessel/vehicle hostile if someone grinds the thing, can this do the same?
ABlueHairedFox 16 ธ.ค. 2020 @ 2: 34pm 
Ikr? It's so cool. People can look at the ads and actually find mods they probably never would have found
LeonserGT  [ผู้สร้าง] 15 ธ.ค. 2020 @ 1: 53am 
Yep, 90% of those ads are related to something made by community :lunar2019piginablanket:
ABlueHairedFox 14 ธ.ค. 2020 @ 8: 48pm 
I actually heard of this through the advertisements strewn around a city project one of my friends is working on lol
ZettDeEff 12 เม.ย. 2020 @ 4: 22pm 
Never mind :steamfacepalm: But thx 4 u reply LeonserGT ;-)