Module AI.AI_A2G_SEAD
AI - Models the process of air to ground SEAD engagement for airplanes and helicopters.
This is a class used in the AI.AI_A2G_Dispatcher.
Author: FlightControl
Global(s)
Global AI_A2G_SEAD |
Implements the core functions to SEAD intruders. |
Implements the core functions to SEAD intruders.
Use the Engage trigger to intercept intruders.
The AI_A2G_SEAD is assigned a Wrapper.Group and this must be done before the AI_A2G_SEAD process can be started using the Start event.
The AI will fly towards the random 3D point within the patrol zone, using a random speed within the given altitude and speed limits. Upon arrival at the 3D point, a new random 3D point will be selected within the patrol zone using the given limits.
This cycle will continue.
During the patrol, the AI will detect enemy targets, which are reported through the Detected event.
When enemies are detected, the AI will automatically engage the enemy.
Until a fuel or damage threshold has been reached by the AI, or when the AI is commanded to RTB. When the fuel threshold has been reached, the airplane will fly towards the nearest friendly airbase and will land.
1. AI_A2G_SEAD constructor
- AI_A2G_SEAD.New(): Creates a new AI_A2G_SEAD object.
3. Set the Range of Engagement
An optional range can be set in meters, that will define when the AI will engage with the detected airborne enemy targets. The range can be beyond or smaller than the range of the Patrol Zone. The range is applied at the position of the AI. Use the method AI_AIR_PATROL.SetEngageRange() to define that range.
Developer Note
Note while this class still works, it is no longer supported as the original author stopped active development of MOOSE Therefore, this class is considered to be deprecated
Type(s)
Fields and Methods inherited from AI_A2G_SEAD | Description |
---|---|
AI_A2G_SEAD:CreateAttackUnitTasks(AttackSetUnit, DefenderGroup, EngageAltitude) |
Evaluate the attack and create an AttackUnitTask list. |
Creates a new AI_A2G_SEAD object |
|
Creates a new AI_A2G_SEAD object |
Field(s)
Function(s)
Evaluate the attack and create an AttackUnitTask list.
Defined in:
AI_A2G_SEAD
Parameters:
Core.Set#SET_UNIT AttackSetUnit
The set of units to attack.
Wrapper.Group#GROUP DefenderGroup
The group of defenders.
#number EngageAltitude
The altitude to engage the targets.
Return value:
self
Creates a new AI_A2G_SEAD object
Defined in:
AI_A2G_SEAD
Parameters:
Wrapper.Group#GROUP AIGroup
DCS#Speed EngageMinSpeed
The minimum speed of the Wrapper.Group in km/h when engaging a target.
DCS#Speed EngageMaxSpeed
The maximum speed of the Wrapper.Group in km/h when engaging a target.
DCS#Altitude EngageFloorAltitude
The lowest altitude in meters where to execute the engagement.
DCS#Altitude EngageCeilingAltitude
The highest altitude in meters where to execute the engagement.
Core.Zone#ZONE_BASE PatrolZone
The Core.Zone where the patrol needs to be executed.
DCS#Altitude PatrolFloorAltitude
The lowest altitude in meters where to execute the patrol.
DCS#Altitude PatrolCeilingAltitude
The highest altitude in meters where to execute the patrol.
DCS#Speed PatrolMinSpeed
The minimum speed of the Wrapper.Group in km/h.
DCS#Speed PatrolMaxSpeed
The maximum speed of the Wrapper.Group in km/h.
DCS#AltitudeType PatrolAltType
The altitude type ("RADIO"=="AGL", "BARO"=="ASL"). Defaults to RADIO
Return value:
Creates a new AI_A2G_SEAD object
Defined in:
AI_A2G_SEAD
Parameters:
Wrapper.Group#GROUP AIGroup
DCS#Speed EngageMinSpeed
The minimum speed of the Wrapper.Group in km/h when engaging a target.
DCS#Speed EngageMaxSpeed
The maximum speed of the Wrapper.Group in km/h when engaging a target.
DCS#Altitude EngageFloorAltitude
The lowest altitude in meters where to execute the engagement.
DCS#Altitude EngageCeilingAltitude
The highest altitude in meters where to execute the engagement.
DCS#AltitudeType EngageAltType
The altitude type ("RADIO"=="AGL", "BARO"=="ASL"). Defaults to "RADIO".
Core.Zone#ZONE_BASE PatrolZone
The Core.Zone where the patrol needs to be executed.
DCS#Altitude PatrolFloorAltitude
The lowest altitude in meters where to execute the patrol.
DCS#Altitude PatrolCeilingAltitude
The highest altitude in meters where to execute the patrol.
DCS#Speed PatrolMinSpeed
The minimum speed of the Wrapper.Group in km/h.
DCS#Speed PatrolMaxSpeed
The maximum speed of the Wrapper.Group in km/h.
DCS#AltitudeType PatrolAltType
The altitude type ("RADIO"=="AGL", "BARO"=="ASL"). Defaults to RADIO