Module Functional.Mantis
MANTIS System
- MANTIS - Moose derived M odular, A utomatic and N etwork capable T argeting and I nterception S ystem
MANTIS - Moose derived Modular, Automatic and Network capable Targeting and Interception System Controls a network of SAM sites.
Use detection to switch on the AA site closest to the enemy Leverage evasiveness from SEAD Leverage attack range setup added by DCS in 11/20
Authors : *applevangelist *
Global(s)
Global MANTIS |
The worst thing that can happen to a good cause is, not to be skillfully attacked, but to be ineptly defended. - Frédéric Bastiat Simple Class for a more intelligent Air Defense System MANTISMoose derived Modular, Automatic and Network capable Targeting and Interception System. |
The worst thing that can happen to a good cause is, not to be skillfully attacked, but to be ineptly defended. - Frédéric Bastiat
Simple Class for a more intelligent Air Defense System
MANTIS
Moose derived Modular, Automatic and Network capable Targeting and Interception System.
Controls a network of SAM sites. Use detection to switch on the AA site closest to the enemy. Leverage evasiveness from Functional.Sead#SEAD. Leverage attack range setup added by DCS in 11/20.
Usage:
Set up your SAM sites in the mission editor. Name the groups with common prefix like "Red SAM".
Set up your EWR system in the mission editor. Name the groups with common prefix like "Red EWR". Can be e.g. AWACS or a combination of AWACS and Search Radars like e.g. EWR 1L13 etc.
[optional] Set up your HQ. Can be any group, e.g. a command vehicle.
Start up your MANTIS
`myredmantis = MANTIS:New("myredmantis","Red SAM","Red EWR",nil,"red",false)`
[optional] Use `MANTIS:SetEWRGrouping(radius)`, `MANTIS:SetEWRRange(radius)`, `MANTIS:SetSAMRadius(radius)`, `MANTIS:SetDetectInterval(interval)` to fine-tune your setup.
`myredmantis:Start()`
Global _MANTISdetection |
group detected objects to 5000m zones
Global groupset |
start detection
Global m |
Global text |
samgroup:OptionROEWeaponFree() samgroup:SetAIOn()
Type(s)
| Fields and Methods inherited from MANTIS | Description |
|---|---|
|
Function to check if no object is in the given SAM zone |
|
|
Function to set switch-on/off the debug state |
|
MANTIS:New(name, samprefix, ewrprefix, hq, coaltion, dynamic) |
Function instantiate new class |
|
Function to set the detection interval |
|
|
Function to set the grouping radius of the detection in meters |
|
|
Function to set the detection radius of the EWR in meters |
|
|
Function to set switch-on/off zone for the SAM sites in meters |
|
|
Function to set the SAM start state |
|
|
Function to set the SAM start state |
|
|
Function to start the detection via EWR groups |
|
|
Function to stop MANTIS |
|
|
[internal] Function to get the self.SAM_Table |
|
|
[internal] Function to set the self.SAM_Table |
|
Field(s)
get EWR SET_GROUP
get SAM SET_GROUP
Set some string id for output to DCS.log file.
@field #string version
Function(s)
Function to check if no object is in the given SAM zone
Defined in:
MANTIS
Parameters:
#table dectset
Table of coordinates of detected items
samcoordinate
Core.Point#COORDINATE Coordinate object.
Return value:
#boolean:
True if in any zone, else false
Function to set switch-on/off the debug state
Defined in:
MANTIS
Parameter:
#boolean onoff
Set true to switch on
Function instantiate new class
Defined in:
MANTIS
Parameters:
#string name
Name of this MANTIS for reporting
#string samprefix
Prefixes for the SAM groups from the ME, e.g. all groups starting with "Red Sam..."
#string ewrprefix
Prefixes for the EWR and AWACS groups from the ME, e.g. all groups starting with "Red EWR..."
#string hq
Group name of your HQ (optional)
#string coaltion
Coalition side of your setup, e.g. "blue", "red" or "neutral"
#boolean dynamic
Use constant (true) filtering or just filer once (false, default)
Return value:
self
Function to set the detection interval
Defined in:
MANTIS
Parameter:
#number interval
The interval in seconds
Function to set the grouping radius of the detection in meters
Defined in:
MANTIS
Parameter:
#number radius
Radius upon which detected objects will be grouped
Function to set the detection radius of the EWR in meters
Defined in:
MANTIS
Parameter:
#number radius
Radius of the EWR detection zone
Function to set switch-on/off zone for the SAM sites in meters
Defined in:
MANTIS
Parameter:
#number radius
Radius of the firing zone
Function to set the SAM start state
Function to start the detection via EWR groups
[internal] Function to get the self.SAM_Table
Defined in:
MANTIS
Return value:
#table:
table
[internal] Function to set the self.SAM_Table