mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-29 17:21:11 +00:00
39 lines
1.8 KiB
Lua
39 lines
1.8 KiB
Lua
-------------------------------------------------------------------------
|
|
-- MTS-110 - Mantis Link to A2A-Dispatcher
|
|
-------------------------------------------------------------------------
|
|
-- Documentation
|
|
--
|
|
-- MANTIS: https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/Functional.Mantis.html
|
|
--
|
|
-- Note: As of Dec/20, MANTIS is WIP. Needs a recent build of Moose.lua > 16 Dec 20
|
|
-- for CONTROLLABLE:RelocateGroundRandomInRadius() to be available
|
|
-- https://flightcontrol-master.github.io/MOOSE_DOCS/Documentation/CONTROLLABLE.RelocateGroundRandomInRadius.html
|
|
-------------------------------------------------------------------------
|
|
-- Observe a set of SAM sites being attacked by F18 SEAD, A10 and Helicopters.
|
|
-- HQ and EWR will randomly relocate between 30 and 60 mins
|
|
-- SU-27 GCICAP Flights will start from Pashkovsky to help the SAMs
|
|
-------------------------------------------------------------------------
|
|
-- Date: 17 Dec 2020
|
|
-------------------------------------------------------------------------
|
|
|
|
myredmantis = MANTIS:New("myredmantis","Red SAM","Red EWR","Red HQ","red",false)
|
|
--myredmantis:SetAutoRelocate(true, true) -- make HQ and EWR relocatable, if they are actually mobile in DCS!
|
|
myredmantis:Debug(false)
|
|
--myredmantis.verbose = false
|
|
myredmantis:Start()
|
|
|
|
-- link in AI_A2A_Dispatcher
|
|
|
|
Red_GCI = AI_A2A_DISPATCHER:New(myredmantis.Detection) -- use existing detection object
|
|
|
|
Red_GCI:SetTacticalDisplay(true)
|
|
Red_GCI:SetDefaultLandingAtRunway()
|
|
Red_GCI:SetDefaultTakeoffInAir()
|
|
Red_GCI:SetDisengageRadius(125000)
|
|
Red_GCI:SetDefaultOverhead(0.4)
|
|
Red_GCI:SetDefaultGrouping(2)
|
|
Red_GCI:SetGciRadius(125000)
|
|
Red_GCI:SetSquadron("Russian Tigers Sq1",AIRBASE.Caucasus.Krasnodar_Pashkovsky,"Red Interceptor",10)
|
|
Red_GCI:SetSquadronGci("Russian Tigers Sq1",900,1800)
|
|
Red_GCI:Start() -- never forget to use Start()!!
|