Vitkan's Security System Script
Фото и видео: 1 из 3. Материалы автора из Steam Workshop.
О материале
«Vitkan's Security System Script» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
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.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.