Space Engineers

Space Engineers

76 ratings
Whip's Turret Based Radar WC Addon
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
44.335 KB
14 Aug, 2020 @ 11:45am
19 Nov, 2022 @ 3:37am
10 Change Notes ( view )

Subscribe to download
Whip's Turret Based Radar WC Addon

In 1 collection by Sigmund Froid
WeaponCore Ingame Scripts
13 items
Description
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
Popular Discussions View All (1)
0
24 Aug, 2024 @ 7:12pm
How Work?
smok_2017
103 Comments
Vaygrim 16 May @ 7:26am 
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 11 Mar @ 6:45pm 
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 27 Nov, 2024 @ 12:01am 
Totally broken.
Nighthunter 23 Nov, 2024 @ 4:35pm 
@Sigmund Froid could you update the script please? it seems to be broken right now.
Vorg 20 Apr, 2024 @ 5:47pm 
So that's why I can't get it to work :(
Const 17 Apr, 2024 @ 12:11am 
been broken for a bit
used to work fine on my airfield, then stopped working somewhere down the line
Inquisitor Emalleso_Ordo Malleus 8 Apr, 2024 @ 11:25am 
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 24 Mar, 2024 @ 7:32am 
Hey could you please edit the code so it works with LAMP and WHAM? would be greatly appriciated!
Based_Stickman 21 Jan, 2024 @ 9:21pm 
Can this script also be used to allow for turret mode on lamp to be used in weapcore?
Great Value Mo1stCritikal 12 Dec, 2023 @ 1:04am 
does this still work it doesnt recognize lynx radar or northwinds or wc turrets from arxy