Files
MOOSE_MISSIONS/Functional/Shorad/SRD-110 - SHORAD - Integrate with Mantis/SRD-110 - SHORAD - Integrate with Mantis.lua
T
2024-01-01 22:47:10 +00:00

26 lines
1.3 KiB
Lua

-------------------------------------------------------------------------
-- SRD-110 - SHORAD - Integrate with Mantis
-------------------------------------------------------------------------
-- Documentation
--
-- SHORAD: https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/tbd
--
-- Note: As of Feb/21, SHORAD is WIP. Needs a recent build of Moose.lua => 2.5.3
--
-------------------------------------------------------------------------
-- Observe a set of Red SAM sites being attacked by Blue SEAD and Helicopters.
-- Red SHORAD systems will be switched on for 10 minutes to defend against
-- HARMSs and AGMs.
-- Red SAMs will try to evade HARMs fired at them.
-------------------------------------------------------------------------
-- Date: 16 Feb 2021
-------------------------------------------------------------------------
local SamSet = SET_GROUP:New():FilterPrefixes("Blue SAM"):FilterCoalitions("blue"):FilterStart()
-- usage: SHORAD:New(name, prefix, samset, radius, time, coalition)
myshorad = SHORAD:New("BlueShorad", "Blue SHORAD", SamSet, 22000, 600, "blue")
myshorad:SwitchDebug(true)
mymantis = MANTIS:New("BlueMantis","Blue SAM","Blue EWR",nil,"blue",false,"Blue Awacs")
mymantis:AddShorad(myshorad,720)
mymantis:Start()