Space Engineers

Space Engineers

Nedostatek hodnocení
Froid's Fleet Threat Indicator v1.1
   
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
53.537 KB
5. zář. 2020 v 6.03
6. úno. 2022 v 4.19
Poznámky ke změnám (7) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Froid's Fleet Threat Indicator v1.1

V 1 kolekci od uživatele Sigmund Froid
WeaponCore Ingame Scripts
13 položek
Popis
Hello it's Froid again! Today I bring you this new script using both WeaponCore's and Defense Shield's API. The purpose? This script will detect enemy grids around you and calculate the thread level of the entire fleet (the script will not distinguish between different enemy factions). However this script will only give an estimate of how the battle will end, specific weapon and shield configs won't be considered.

Features
  • Soundblocks with the tag "[Proximity]" will play the "Enemy detected" sound whenever the amount of detected hostiles increases.
  • Soundblocks with the tag "[Alarm]" will alert you about fleets with an higher threat level than 7 (configurable in script)
  • Soundblocks with the tag "[Ambient]" will play some battle music.
  • LCDs with the tag "[Threat-LCD]" will display a message depending on the relative threat.
  • LCDs with the tag "[Alarm-LCD]" will display the "Danger" texture if you encounter fleets with an higher threat level than 7 (configurable in script)
  • Lights with the tag "[Alarm-Light]" will turn red and blink. The script will save whether they've been on or off before and their color and reset them to those values.

Planned
  • Next two days: bug fixes.
  • Allied ships transmid their strength to calculate the threat level fleet vs fleet.
  • Better alignment on non-LCD-Block screens

Need help with the setup?
Give this a read: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2228900874

Feel free to submit ideas.

Bugs And Issues?
=======================
Leave a comment in the bugs discussion.

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]


I have a github now:
https://github.com/SilicDev/WeaponCoreScripts
Počet komentářů: 21
Titan Nya 20. pro. 2023 v 10.35 
Well... Got some exceptions about input string, trying to figure out what is happening (commenting and decommenting part of the script and adding some echo (and making another one a comment as it seems to clutter the output) to figure out where the problem is...)
Problems found:
-line 230 to 233 make an exception (I don't have an LCD for it yet (well cockpit have) no check if no lcd present or something?
-line 368 Dictionary changed to IReadOnlyDictionary and this part is solved (thx to an update as github have last change listed 5 months ago)

Any chance to update or did you quit modding?
Sir Connery 15. čvc. 2022 v 17.26 
Wow. Is it possible to add Timer Block activations for specific threat levels instead of Soundblocks?
KPD 27. říj. 2021 v 9.17 
Ah alright thank you!
Sigmund Froid  [autor] 27. říj. 2021 v 8.21 
Depending on shield strength it adds to the relative threat.
KPD 27. říj. 2021 v 7.42 
How does this config with the shields?
Sigmund Froid  [autor] 23. čvc. 2021 v 2.36 
Should be fixed now, sorry.
mppc2001 22. čvc. 2021 v 3.25 
Sadly not doing anything. Hope it gets updated.
jbo96 31. kvě. 2021 v 11.19 
@Sigmund Froid, Does this script still function? I cannot seem to get it to work. Thanks
sed_and_awk 4. úno. 2021 v 10.52 
Is this still being updated? really want the fleet vs fleet part
Sigmund Froid  [autor] 16. zář. 2020 v 0.51 
WeaponCore considers connected grids as one threat I believe, so it might be related to that. (Btw those connected grids will still be targetable which enables players to target rotor turrets directly)