Space Engineers

Space Engineers

76 hodnocení
Whip's Turret Based Radar WC Addon
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Značky: other_script
Velikost souboru
Přidáno
Aktualizováno
44.335 KB
14. srp. 2020 v 11.45
19. lis. 2022 v 3.37
Poznámky ke změnám (10) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Whip's Turret Based Radar WC Addon

V 1 kolekci od uživatele Sigmund Froid
WeaponCore Ingame Scripts
13 položek
Popis
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
Populární diskuze Zobrazit vše (1)
0
24. srp. 2024 v 19.12
How Work?
smok_2017
Počet komentářů: 103
Vaygrim 16. kvě. v 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 11. bře. v 18.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 27. lis. 2024 v 0.01 
Totally broken.
Nighthunter 23. lis. 2024 v 16.35 
@Sigmund Froid could you update the script please? it seems to be broken right now.
Vorg 20. dub. 2024 v 17.47 
So that's why I can't get it to work :(
Const 17. dub. 2024 v 0.11 
been broken for a bit
used to work fine on my airfield, then stopped working somewhere down the line
Inquisitor Emalleso_Ordo Malleus 8. dub. 2024 v 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 24. bře. 2024 v 7.32 
Hey could you please edit the code so it works with LAMP and WHAM? would be greatly appriciated!
Based_Stickman 21. led. 2024 v 21.21 
Can this script also be used to allow for turret mode on lamp to be used in weapcore?
Great Value Mo1stCritikal 12. pro. 2023 v 1.04 
does this still work it doesnt recognize lynx radar or northwinds or wc turrets from arxy