Space Engineers

Space Engineers

76 次評價
Whip's Turret Based Radar WC Addon
2
   
獎勵
加入最愛
已加入最愛
移除最愛
標籤: other_script
檔案大小
發佈於
更新時間
44.335 KB
2020 年 8 月 14 日 上午 11:45
2022 年 11 月 19 日 上午 3:37
10 項更新註記 (檢視)

訂閱以下載
Whip's Turret Based Radar WC Addon

在 Sigmund Froid 的 1 個收藏中
WeaponCore Ingame Scripts
13 個項目
描述
Hello, Froid again! This time I present to you a simple small script that will communicate with Whip's Turret Based Radar to add the targets detected by WeaponCore. This script only requires you to have any WeaponCore weapon installed and will transmit the target data directly to Whip's script. For reference it uses the same method of communication as Whip's WHAM and LAMP scripts.

How to use
Make sure you have an antenna with sufficient range. Load up Whip's Radar into a programmable block in you antenna range, load this script into an programmable block on every ship that should detect targets. Every one of these ships will need at least one WeaponCore weapon. They don't have to be turrets.

This script will update the custom data of any on-grid radars to use range override, setting the range to either a defined default range or close to the range of the farthest detected entity.

Config options
In the code change the value of minimumThreat to any value between zero and ten to have the script ignore targets with lower threat level (threat level of five means equal strength). The ships will still appear on the radar if it is transmitted by any other ship.

Author's Notes
But if this is so small and simple why is this it's own script?
Adding support for WeaponCore in ingame scripts adds a lot of code to access the API. As many of Whip's scripts are already quite big (to the point that he removes unimportant blank spaces and similiar) and his script supported adding targets using IGC I figured that this script would be an easier way of adding support.

Fair Warning
With low minimum threat meteors will be detected and this will cause lag.

Bugs And Issues?
=======================
Leave a comment below.

Want to learn how to use the WeaponCore PB API?
Check this out: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2178802013

My Workshop

Support Darkstar (Patreon)[www.patreon.com]

Thanks to Whip for allowing me to write and publish this, aswell as explaining his message system to me.


I have a github now:
https://github.com/SilicDev/WeaponCoreScripts
熱門討論 檢視全部(1)
0
2024 年 8 月 24 日 下午 7:12
How Work?
smok_2017
103 則留言
Vaygrim 5 月 16 日 上午 7:26 
Unfortunately SFCS takes complete control of gyroscopic systems, making it very incompatible with any other mod or script that wants to interact with the gyros. I'd rather have just radar, that just works.
Olympus304 3 月 11 日 下午 6:45 
run the original radar script with the script below on a different block and the radar works. this dude programmed WC support into it and it runs as of time of writing:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2232655829&searchtext=flight+control
Ace 2024 年 11 月 27 日 上午 12:01 
Totally broken.
Nighthunter 2024 年 11 月 23 日 下午 4:35 
@Sigmund Froid could you update the script please? it seems to be broken right now.
Vorg 2024 年 4 月 20 日 下午 5:47 
So that's why I can't get it to work :(
Const 2024 年 4 月 17 日 上午 12:11 
been broken for a bit
used to work fine on my airfield, then stopped working somewhere down the line
Inquisitor Emalleso_Ordo Malleus 2024 年 4 月 8 日 上午 11:25 
How do i utilize this, exactly? I have it running alongside whips radar and it doesn't seem to do anything. What exactly am i doing wrong?
RedCrafterHD 2024 年 3 月 24 日 上午 7:32 
Hey could you please edit the code so it works with LAMP and WHAM? would be greatly appriciated!
Based_Stickman 2024 年 1 月 21 日 下午 9:21 
Can this script also be used to allow for turret mode on lamp to be used in weapcore?
Great Value Mo1stCritikal 2023 年 12 月 12 日 上午 1:04 
does this still work it doesnt recognize lynx radar or northwinds or wc turrets from arxy