Space Engineers

Space Engineers

评价数不足
WeaponCore Alarm Script (BB)
   
奖励
收藏
已收藏
取消收藏
标签: other_script
文件大小
发表于
更新日期
398.265 KB
2020 年 12 月 22 日 上午 1:51
2022 年 6 月 14 日 上午 8:17
5 项改动说明 ( 查看 )

订阅以下载
WeaponCore Alarm Script (BB)

在 BookBurner 的 1 个合集中
Maintained/Created by BookBurner
27 件物品
描述
When the enemy is close enough that weaponcore picks up enemy targets, it reacts based on the groups you have set up.

add the script to the programmable block

Add your desired blocks to the alarm groups, each alarm group is designed for something different

ALARM_SOUND
sound blocks found in this group will play periodically during alarm

ALARM_LIGHTS
lights in this group will be turned on during alarm, set your own red/blue/bron alert ;)

ALARM_ON
these blocks will be turned on if possible during alarm, say, weapons?

ALARM_OFF
these blocks will be turned off during alarm, to save power for other system perhaps

ALARM_TIMER
Timer blocks within this group get triggered when the timer hits the threshold (same as for sound blocks)

pick your warning sound, distance, volume, for your sound blocks, script is only dumbly playing what you have set there.



PS: if you have an urgent need, tweak playEverySec variable (playback frequency)

If you have further questions, you can visit my discord: https://discord.gg/6Gd6W8TcJb
56 条留言
BookBurner  [作者] 2023 年 9 月 27 日 上午 3:05 
Panda-X, can you provide the source on my discord, or to me directly? I will integrate it as soon as possible :)
Panda-X 2023 年 9 月 27 日 上午 1:38 
Hey I've amended this script in order to set a threat level. I was going to post it but happy to just contribute to the source?
BookBurner  [作者] 2022 年 10 月 1 日 上午 7:56 
@miki, it detects weaponcore targets, so, if your weapons are set to target neutrals, it should detect them as well, if it doesn't I can surely alter it :)
Miki 2022 年 9 月 30 日 下午 12:25 
hi dose this script detect everything or will it just work wen there are enemy's around and not activate if neutrals are about
AN Marc Appledash 2022 年 7 月 19 日 上午 2:01 
and whips has no timer trigger
AN Marc Appledash 2022 年 7 月 19 日 上午 2:00 
yeah but now that i know why it did not work im happy that it works now

i was looking at a lot of script for timer trigger but this on works best

i tryed to use the LIDAR mapping script but that dont work with WC because WC does bad stuff to cams
BookBurner  [作者] 2022 年 7 月 19 日 上午 12:06 
sorry for not responding sooner, I fell asleep :D but yeah, subgrids can cause problems for most scripts, since they are technically a new grid. You can check blocks and stuff on interconnected grids, but I don't do that :D.
AN Marc Appledash 2022 年 7 月 18 日 下午 1:17 
thank you for this script
AN Marc Appledash 2022 年 7 月 18 日 下午 1:16 
lets go it works this script is Exacly what i needed to make the script im using even more OP
AN Marc Appledash 2022 年 7 月 18 日 下午 1:09 
everything used by the script needs to be on the maingrid were the PB is