mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
Restructuring of folder tree
This commit is contained in:
parent
03e9b3311b
commit
f5ce6f1fd6
@ -1,3 +0,0 @@
|
||||
|
||||
local PlanesClientSet = SET_CLIENT:New():FilterCategories( "plane" ):FilterStart()
|
||||
local AirbasePolice = AIRBASEPOLICE_CAUCASUS:New( PlanesClientSet )
|
||||
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
|
||||
local PlanesClientSet = SET_CLIENT:New():FilterCategories( "plane" ):FilterStart()
|
||||
local AirbasePolice = AIRBASEPOLICE_CAUCASUS:New( PlanesClientSet )
|
||||
@ -1,3 +0,0 @@
|
||||
|
||||
local PlanesClientSet = SET_CLIENT:New():FilterCategories( "plane" ):FilterStart()
|
||||
local AirbasePolice = AIRBASEPOLICE_NEVADA:New( PlanesClientSet )
|
||||
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
|
||||
local PlanesClientSet = SET_CLIENT:New():FilterCategories( "plane" ):FilterStart()
|
||||
local AirbasePolice = AIRBASEPOLICE_NEVADA:New( PlanesClientSet )
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,27 +1,27 @@
|
||||
---
|
||||
-- Name: AID-008 - AI_A2A - CAP Grouping Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 10, 30, 1 )
|
||||
A2ADispatcher:SetSquadronGrouping( "Sochi", 2 )
|
||||
---
|
||||
-- Name: AID-008 - AI_A2A - CAP Grouping Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 10, 30, 1 )
|
||||
A2ADispatcher:SetSquadronGrouping( "Sochi", 2 )
|
||||
@ -1,30 +1,30 @@
|
||||
---
|
||||
-- Name: AID-009 - AI_A2A - Border Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Setup the border zone.
|
||||
-- In this case the border is a POLYGON,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 1000, 1500 )
|
||||
---
|
||||
-- Name: AID-009 - AI_A2A - Border Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Setup the border zone.
|
||||
-- In this case the border is a POLYGON,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 1000, 1500 )
|
||||
@ -1,50 +1,50 @@
|
||||
---
|
||||
-- Name: AID-010 - AI_A2A - RTB and ReEngage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffFromParkingCold()
|
||||
A2ADispatcher:SetDefaultLandingAtEngineShutdown()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 180
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 8, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
---
|
||||
-- Name: AID-010 - AI_A2A - RTB and ReEngage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffFromParkingCold()
|
||||
A2ADispatcher:SetDefaultLandingAtEngineShutdown()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 180
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 8, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
@ -1,51 +1,51 @@
|
||||
---
|
||||
-- Name: AID-011 - AI_A2A - RTB Fuel Threshold test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Set the fuel treshold to 40%. Airplanes will return when only 40% of fuel left in the tank.
|
||||
A2ADispatcher:SetDefaultFuelThreshold( 0.4 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronOverhead( "Sochi", 1 )
|
||||
A2ADispatcher:SetSquadronGrouping( "Sochi", 2 )
|
||||
|
||||
-- CAP Squadron execution.
|
||||
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingHot("Sochi")
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown("Sochi")
|
||||
|
||||
|
||||
---
|
||||
-- Name: AID-011 - AI_A2A - RTB Fuel Threshold test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Set the fuel treshold to 40%. Airplanes will return when only 40% of fuel left in the tank.
|
||||
A2ADispatcher:SetDefaultFuelThreshold( 0.4 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronOverhead( "Sochi", 1 )
|
||||
A2ADispatcher:SetSquadronGrouping( "Sochi", 2 )
|
||||
|
||||
-- CAP Squadron execution.
|
||||
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingHot("Sochi")
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown("Sochi")
|
||||
|
||||
|
||||
@ -1,51 +1,51 @@
|
||||
---
|
||||
-- Name: AID-012 - AI_A2A - CAP Time Interval Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
A2ADispatcher:SetDefaultCapLimit( 2 )
|
||||
A2ADispatcher:SetDefaultCapTimeInterval( 300, 300 ) -- Spawn each 5 minutes.
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronOverhead( "Sochi", 1 )
|
||||
A2ADispatcher:SetSquadronGrouping( "Sochi", 2 )
|
||||
|
||||
-- CAP Squadron execution.
|
||||
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
|
||||
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingHot("Sochi")
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown("Sochi")
|
||||
|
||||
|
||||
---
|
||||
-- Name: AID-012 - AI_A2A - CAP Time Interval Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
A2ADispatcher:SetDefaultCapLimit( 2 )
|
||||
A2ADispatcher:SetDefaultCapTimeInterval( 300, 300 ) -- Spawn each 5 minutes.
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronOverhead( "Sochi", 1 )
|
||||
A2ADispatcher:SetSquadronGrouping( "Sochi", 2 )
|
||||
|
||||
-- CAP Squadron execution.
|
||||
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
|
||||
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingHot("Sochi")
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown("Sochi")
|
||||
|
||||
|
||||
@ -1,47 +1,47 @@
|
||||
---
|
||||
-- Name: AID-A2A-013 - Intercept Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 31 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Sochi" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Gelend" )
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Gelend" )
|
||||
|
||||
A2ADispatcher:Start()
|
||||
|
||||
---
|
||||
-- Name: AID-A2A-013 - Intercept Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 31 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Sochi" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Gelend" )
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Gelend" )
|
||||
|
||||
A2ADispatcher:Start()
|
||||
|
||||
@ -1,48 +1,48 @@
|
||||
---
|
||||
-- Name: AID-014 - AI_A2A - DisengageRange Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 31 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
-- Test an other disengage radius.
|
||||
A2ADispatcher:SetDisengageRadius( 150000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Gelend" )
|
||||
|
||||
|
||||
---
|
||||
-- Name: AID-014 - AI_A2A - DisengageRange Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 31 Jul 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
-- Test an other disengage radius.
|
||||
A2ADispatcher:SetDisengageRadius( 150000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Gelend" )
|
||||
|
||||
|
||||
@ -1,53 +1,53 @@
|
||||
---
|
||||
-- Name: AID-015 - AI_A2A - Takeoff Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 01 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
-- Test an other disengage radius.
|
||||
A2ADispatcher:SetDisengageRadius( 20000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Gelend" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Anapa", AIRBASE.Caucasus.Anapa_Vityazevo, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Anapa", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffInAir( "Anapa" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Novo", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Novo" )
|
||||
---
|
||||
-- Name: AID-015 - AI_A2A - Takeoff Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 01 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
-- Test an other disengage radius.
|
||||
A2ADispatcher:SetDisengageRadius( 20000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Gelend" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Anapa", AIRBASE.Caucasus.Anapa_Vityazevo, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Anapa", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffInAir( "Anapa" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" }, 20 )
|
||||
A2ADispatcher:SetSquadronGci( "Novo", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Novo" )
|
||||
@ -1,50 +1,50 @@
|
||||
---
|
||||
-- Name: AID-016 - AI_A2A - Refuel Tanker Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 01 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-34" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", ZONE:New( "PatrolZone" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval("Sochi", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
|
||||
A2ADispatcher:SetDefaultFuelThreshold( 0.9 )
|
||||
A2ADispatcher:SetDefaultTanker( "Tanker" )
|
||||
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-30" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Gelend", ZONE:New( "PatrolZoneGelend" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Gelend", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadronFuelThreshold( "Gelend", 0.8 )
|
||||
A2ADispatcher:SetSquadronTanker( "Gelend", "TankerGelend" )
|
||||
|
||||
|
||||
---
|
||||
-- Name: AID-016 - AI_A2A - Refuel Tanker Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 01 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Test intercept.
|
||||
A2ADispatcher:SetIntercept( 450 )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-34" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", ZONE:New( "PatrolZone" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval("Sochi", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
|
||||
A2ADispatcher:SetDefaultFuelThreshold( 0.9 )
|
||||
A2ADispatcher:SetDefaultTanker( "Tanker" )
|
||||
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-30" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Gelend", ZONE:New( "PatrolZoneGelend" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Gelend", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadronFuelThreshold( "Gelend", 0.8 )
|
||||
A2ADispatcher:SetSquadronTanker( "Gelend", "TankerGelend" )
|
||||
|
||||
|
||||
@ -1,44 +1,44 @@
|
||||
---
|
||||
-- Name: AID-017 - AI_A2A - Spawn Altitude Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Set the default takeoff method in the air.
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
|
||||
-- Set the default takeoff altitude at 2000 meters.
|
||||
A2ADispatcher:SetDefaultTakeoffInAirAltitude( 2000 ) -- Takeoff by default at 2000 meters.
|
||||
|
||||
|
||||
-- Spawn for Sochi airbase.
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-34" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", ZONE:New( "PatrolZone" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval("Sochi", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
|
||||
-- Spawn for Gelend airbase.
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-30" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Gelend", ZONE:New( "PatrolZoneGelend" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Gelend", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 900, 1200 )
|
||||
|
||||
-- Let Gelend squadron take off in the air at 4000 meters.
|
||||
A2ADispatcher:SetSquadronTakeoffInAir( "Gelend", 4000 ) -- Takeoff in Gelend at 4000 meters.
|
||||
|
||||
|
||||
-- Run the mission and observe the spawning altitudes.
|
||||
---
|
||||
-- Name: AID-017 - AI_A2A - Spawn Altitude Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Set the default takeoff method in the air.
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
|
||||
-- Set the default takeoff altitude at 2000 meters.
|
||||
A2ADispatcher:SetDefaultTakeoffInAirAltitude( 2000 ) -- Takeoff by default at 2000 meters.
|
||||
|
||||
|
||||
-- Spawn for Sochi airbase.
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-34" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", ZONE:New( "PatrolZone" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval("Sochi", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
|
||||
|
||||
-- Spawn for Gelend airbase.
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-30" }, 20 )
|
||||
A2ADispatcher:SetSquadronCap( "Gelend", ZONE:New( "PatrolZoneGelend" ), 4000, 8000, 600, 800, 1000, 1300 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Gelend", 2, 30, 600, 1 )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 900, 1200 )
|
||||
|
||||
-- Let Gelend squadron take off in the air at 4000 meters.
|
||||
A2ADispatcher:SetSquadronTakeoffInAir( "Gelend", 4000 ) -- Takeoff in Gelend at 4000 meters.
|
||||
|
||||
|
||||
-- Run the mission and observe the spawning altitudes.
|
||||
@ -1,45 +1,45 @@
|
||||
---
|
||||
-- Name: AID-018 - AI_A2A - Unlimited Resources Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Setup the squadrons.
|
||||
-- Unlimited resources, as the Resources parameter of the :SetSquadron method is not given.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" } )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Gelend" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Anapa", AIRBASE.Caucasus.Anapa_Vityazevo, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Anapa", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Anapa" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Novo", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Novo" )
|
||||
|
||||
---
|
||||
-- Name: AID-018 - AI_A2A - Unlimited Resources Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Setup the squadrons.
|
||||
-- Unlimited resources, as the Resources parameter of the :SetSquadron method is not given.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP MIG-31" } )
|
||||
A2ADispatcher:SetSquadronGci( "Sochi", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Sochi" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Gelend", AIRBASE.Caucasus.Gelendzhik, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Gelend", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Gelend" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Anapa", AIRBASE.Caucasus.Anapa_Vityazevo, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Anapa", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Anapa" )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Novo", 800, 1200 )
|
||||
A2ADispatcher:SetSquadronTakeoffFromRunway( "Novo" )
|
||||
|
||||
@ -1,31 +1,31 @@
|
||||
---
|
||||
-- Name: AID-019 - AI_A2A - Engage Range Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 50km where any airborne friendly
|
||||
-- without an assignment within 50km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 50000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 10, 30, 1 )
|
||||
|
||||
---
|
||||
-- Name: AID-019 - AI_A2A - Engage Range Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 50km where any airborne friendly
|
||||
-- without an assignment within 50km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 50000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 10, 30, 1 )
|
||||
|
||||
@ -1,60 +1,60 @@
|
||||
---
|
||||
-- Name: AID-A2A-020 - GCI RTB and ReEngage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Center, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras1", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras2", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras2", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "May", 900, 1200 )
|
||||
|
||||
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
A2ADispatcher:Start()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 300
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 8, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
---
|
||||
-- Name: AID-A2A-020 - GCI RTB and ReEngage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
--A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Center, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras1", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras2", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras2", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "May", 900, 1200 )
|
||||
|
||||
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
A2ADispatcher:Start()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 300
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 8, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
@ -1,42 +1,42 @@
|
||||
---
|
||||
-- Name: AID-021 - AI_A2A - GCI Radius Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetGciRadius( 100000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Center, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras1", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras2", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras2", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "May", 900, 1200 )
|
||||
|
||||
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
---
|
||||
-- Name: AID-021 - AI_A2A - GCI Radius Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetGciRadius( 100000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Center, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras1", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras2", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras2", 900, 1200 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "May", 900, 1200 )
|
||||
|
||||
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
@ -1,49 +1,49 @@
|
||||
---
|
||||
-- Name: AID-022 - AI_A2A - GCI Overhead
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "May", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronOverhead( "May", 0.25 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras", AIRBASE.Caucasus.Krasnodar_Center, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronOverhead( "Kras", 1.5 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 30
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO" )
|
||||
:InitLimit( 1, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
---
|
||||
-- Name: AID-022 - AI_A2A - GCI Overhead
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "May", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronOverhead( "May", 0.25 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras", AIRBASE.Caucasus.Krasnodar_Center, { "SQ CCCP SU-27" } )
|
||||
A2ADispatcher:SetSquadronGci( "Kras", 900, 1200 )
|
||||
A2ADispatcher:SetSquadronOverhead( "Kras", 1.5 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 30
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO" )
|
||||
:InitLimit( 1, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
@ -1,54 +1,54 @@
|
||||
---
|
||||
-- Name: AID-A2A-030 - CAP RTB and ReEngage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
--Detection:BoundDetectedZones()
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetDisengageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", 800, 1200, 4000, 8000, CAPZoneWest, 600, 800, 4000, 8000, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 4, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCapV2( "May", 800, 1200, 400, 500, "RADIO", CAPZoneWest, 600, 800, 4000, 8000, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 150
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 6, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
---
|
||||
-- Name: AID-A2A-030 - CAP RTB and ReEngage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 May 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
--Detection:BoundDetectedZones()
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetDisengageRadius( 200000 )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", 800, 1200, 4000, 8000, CAPZoneWest, 600, 800, 4000, 8000, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 4, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCapV2( "May", 800, 1200, 400, 500, "RADIO", CAPZoneWest, 600, 800, 4000, 8000, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 150
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 6, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
|
||||
@ -1,35 +1,35 @@
|
||||
---
|
||||
-- Name: AID-A2A-031 - CAP out of fuel
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCapV2( "May", 1000, 1200, 30, 30, "RADIO", CAPZoneWest, 600, 800, 4000, 8000, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
---
|
||||
-- Name: AID-A2A-031 - CAP out of fuel
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCapV2( "May", 1000, 1200, 30, 30, "RADIO", CAPZoneWest, 600, 800, 4000, 8000, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
@ -1,46 +1,46 @@
|
||||
---
|
||||
-- Name: AID-032 - AI_A2A - CAP Damage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 29 Oct 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP MIG-31" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 2, 30, 120, 1 )
|
||||
|
||||
--A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
--CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingAtEngineShutdown()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 300
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 6, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
---
|
||||
-- Name: AID-032 - AI_A2A - CAP Damage
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 29 Oct 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP MIG-31" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 2, 30, 120, 1 )
|
||||
|
||||
--A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
--CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingAtEngineShutdown()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 300
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO 2" )
|
||||
:InitLimit( 6, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
@ -1,47 +1,47 @@
|
||||
---
|
||||
-- Name: AID-040 - AI_A2A - CAP Independent Detection in EWR
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
A2ADispatcher:SetEngageRadius( 90000 )
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 4, 30, 120 )
|
||||
|
||||
--A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
--CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 180
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO" )
|
||||
:InitLimit( 2, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
---
|
||||
-- Name: AID-040 - AI_A2A - CAP Independent Detection in EWR
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
A2ADispatcher:SetEngageRadius( 90000 )
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 4, 30, 120 )
|
||||
|
||||
--A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
--CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 180
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO" )
|
||||
:InitLimit( 2, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
@ -1,47 +1,47 @@
|
||||
---
|
||||
-- Name: AID-040 - AI_A2A - CAP Independent Detection in EWR
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
A2ADispatcher:SetEngageRadius( 90000 )
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 4, 30, 120 )
|
||||
|
||||
--A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
--CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 180
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO" )
|
||||
:InitLimit( 2, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
---
|
||||
-- Name: AID-040 - AI_A2A - CAP Independent Detection in EWR
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
A2ADispatcher:SetEngageRadius( 90000 )
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 4, 30, 120 )
|
||||
|
||||
--A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
--CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "May", 1, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
local Frequency = 180
|
||||
|
||||
BlueSpawn2 = SPAWN
|
||||
:New( "RT NATO" )
|
||||
:InitLimit( 2, 40 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.5 )
|
||||
@ -1,49 +1,49 @@
|
||||
---
|
||||
-- Name: AID-041 - AI_A2A - CAP Independent Detection in EWR with Clients
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 01 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
Detection:SetRefreshTimeInterval( 10 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
A2ADispatcher:SetRefreshTimeInterval( 10 )
|
||||
|
||||
|
||||
A2ADispatcher:SetEngageRadius( 90000 )
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 2, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "May", 2, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
--local Frequency = 600
|
||||
--
|
||||
--BlueSpawn2 = SPAWN
|
||||
-- :New( "RT NATO" )
|
||||
-- :InitLimit( 2, 40 )
|
||||
-- :InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
-- :InitRandomizeRoute( 0, 0, 30000 )
|
||||
-- :InitDelayOn()
|
||||
-- :SpawnScheduled( Frequency, 0.5 )
|
||||
---
|
||||
-- Name: AID-041 - AI_A2A - CAP Independent Detection in EWR with Clients
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 01 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
Detection:SetRefreshTimeInterval( 10 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
A2ADispatcher:SetRefreshTimeInterval( 10 )
|
||||
|
||||
|
||||
A2ADispatcher:SetEngageRadius( 90000 )
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" } )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 2, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetSquadron( "May", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "May", 2, 30, 120 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
-- Blue attack simulation
|
||||
|
||||
--local Frequency = 600
|
||||
--
|
||||
--BlueSpawn2 = SPAWN
|
||||
-- :New( "RT NATO" )
|
||||
-- :InitLimit( 2, 40 )
|
||||
-- :InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
-- :InitRandomizeRoute( 0, 0, 30000 )
|
||||
-- :InitDelayOn()
|
||||
-- :SpawnScheduled( Frequency, 0.5 )
|
||||
@ -1,68 +1,68 @@
|
||||
---
|
||||
-- Name: AID-A2A-050 - Resources
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 6 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Hot )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Mineralnye" )
|
||||
|
||||
|
||||
-- Setup the visibility before start.
|
||||
A2ADispatcher:SetSquadronVisible( "Mineralnye" )
|
||||
|
||||
-- CAP Squadron execution.
|
||||
CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 1, 30, 60, 1 )
|
||||
A2ADispatcher:SetSquadronFuelThreshold( "Mineralnye", 0.20 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
--A2ADispatcher:SetSquadronGci( "Mineralnye", 900, 1200 )
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
--BlueSpawn1 = SPAWN
|
||||
-- :New( "RT NATO 1" )
|
||||
-- :InitLimit( 2, 10 )
|
||||
-- :InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
-- :InitRandomizeRoute( 0, 0, 30000 )
|
||||
-- --:InitDelayOn()
|
||||
-- :SpawnScheduled( Frequency, 0.4 )
|
||||
---
|
||||
-- Name: AID-A2A-050 - Resources
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 6 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Hot )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Mineralnye" )
|
||||
|
||||
|
||||
-- Setup the visibility before start.
|
||||
A2ADispatcher:SetSquadronVisible( "Mineralnye" )
|
||||
|
||||
-- CAP Squadron execution.
|
||||
CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 1, 30, 60, 1 )
|
||||
A2ADispatcher:SetSquadronFuelThreshold( "Mineralnye", 0.20 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
--A2ADispatcher:SetSquadronGci( "Mineralnye", 900, 1200 )
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
--BlueSpawn1 = SPAWN
|
||||
-- :New( "RT NATO 1" )
|
||||
-- :InitLimit( 2, 10 )
|
||||
-- :InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
-- :InitRandomizeRoute( 0, 0, 30000 )
|
||||
-- --:InitDelayOn()
|
||||
-- :SpawnScheduled( Frequency, 0.4 )
|
||||
@ -1,67 +1,67 @@
|
||||
---
|
||||
-- Name: AID-A2A-050 - Resources
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 30 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Air )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" )
|
||||
|
||||
|
||||
-- CAP Squadron execution.
|
||||
--CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 2, 30, 60, 1 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
A2ADispatcher:SetSquadronGci( "Mineralnye", 900, 1200 )
|
||||
|
||||
CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } )
|
||||
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
BlueSpawn1 = SPAWN
|
||||
:New( "RT NATO 1" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
--:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.4 )
|
||||
---
|
||||
-- Name: AID-A2A-050 - Resources
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 30 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Air )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" )
|
||||
|
||||
|
||||
-- CAP Squadron execution.
|
||||
--CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 2, 30, 60, 1 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
A2ADispatcher:SetSquadronGci( "Mineralnye", 900, 1200 )
|
||||
|
||||
CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } )
|
||||
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
BlueSpawn1 = SPAWN
|
||||
:New( "RT NATO 1" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
--:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.4 )
|
||||
@ -1,67 +1,67 @@
|
||||
---
|
||||
-- Name: AID-060 - AI_A2A - Takeoff From Runway Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 20 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Runway )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" )
|
||||
|
||||
|
||||
-- CAP Squadron execution.
|
||||
--CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 2, 30, 60, 1 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
A2ADispatcher:SetSquadronGci( "Mineralnye", 900, 1200 )
|
||||
|
||||
CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } )
|
||||
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
BlueSpawn1 = SPAWN
|
||||
:New( "RT NATO 1" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
--:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.4 )
|
||||
---
|
||||
-- Name: AID-060 - AI_A2A - Takeoff From Runway Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a border zone. This is a polygon,
|
||||
-- which takes the waypoints of a late activated group with the name CCCP Border as the boundaries of the border area.
|
||||
-- Any enemy crossing this border will be engaged.
|
||||
CCCPBorderZone = ZONE_POLYGON:New( "CCCP Border", GROUP:FindByName( "CCCP Border" ) )
|
||||
A2ADispatcher:SetBorderZone( CCCPBorderZone )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 20 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Runway )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" )
|
||||
|
||||
|
||||
-- CAP Squadron execution.
|
||||
--CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 2, 30, 60, 1 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
A2ADispatcher:SetSquadronGci( "Mineralnye", 900, 1200 )
|
||||
|
||||
CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } )
|
||||
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
BlueSpawn1 = SPAWN
|
||||
:New( "RT NATO 1" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
--:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.4 )
|
||||
@ -1,61 +1,61 @@
|
||||
---
|
||||
-- Name: AID-061 - AI_A2A - Takeoff From Ship Runway Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Kuznetsov", "Kuznetsov", { "SQ CCCP SU-33" }, 20 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Kuznetsov", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Kuznetsov", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Kuznetsov", AI_A2A_DISPATCHER.Takeoff.Runway )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtRunway( "Kuznetsov" )
|
||||
|
||||
|
||||
-- CAP Squadron execution.
|
||||
--CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 2, 30, 60, 1 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
A2ADispatcher:SetSquadronGci( "Kuznetsov", 900, 1200 )
|
||||
|
||||
CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } )
|
||||
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
BlueSpawn1 = SPAWN
|
||||
:New( "RT NATO 1" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
--:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.4 )
|
||||
---
|
||||
-- Name: AID-061 - AI_A2A - Takeoff From Ship Runway Test
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Sep 2017
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
-- Enable the tactical display panel.
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
-- Initialize the dispatcher, setting up a radius of 100km where any airborne friendly
|
||||
-- without an assignment within 100km radius from a detected target, will engage that target.
|
||||
A2ADispatcher:SetEngageRadius( 250000 )
|
||||
|
||||
-- Setup the squadrons.
|
||||
A2ADispatcher:SetSquadron( "Kuznetsov", "Kuznetsov", { "SQ CCCP SU-33" }, 20 )
|
||||
|
||||
-- Setup the overhead
|
||||
A2ADispatcher:SetSquadronOverhead( "Kuznetsov", 1.2 )
|
||||
|
||||
-- Setup the Grouping
|
||||
A2ADispatcher:SetSquadronGrouping( "Kuznetsov", 1 )
|
||||
|
||||
-- Setup the Takeoff methods
|
||||
A2ADispatcher:SetSquadronTakeoff( "Kuznetsov", AI_A2A_DISPATCHER.Takeoff.Runway )
|
||||
|
||||
-- Setup the Landing methods
|
||||
A2ADispatcher:SetSquadronLandingAtRunway( "Kuznetsov" )
|
||||
|
||||
|
||||
-- CAP Squadron execution.
|
||||
--CAPZoneEast = ZONE_POLYGON:New( "CAP Zone East", GROUP:FindByName( "CAP Zone East" ) )
|
||||
--A2ADispatcher:SetSquadronCap( "Mineralnye", CAPZoneEast, 4000, 10000, 500, 600, 800, 900 )
|
||||
--A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 2, 30, 60, 1 )
|
||||
|
||||
-- GCI Squadron execution.
|
||||
A2ADispatcher:SetSquadronGci( "Kuznetsov", 900, 1200 )
|
||||
|
||||
CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } )
|
||||
|
||||
|
||||
-- Blue attack simulation
|
||||
local Frequency = 60
|
||||
|
||||
BlueSpawn1 = SPAWN
|
||||
:New( "RT NATO 1" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizeTemplate( { "SQ NATO A-10C", "SQ NATO F-15C", "SQ NATO F-16A", "SQ NATO F/A-18", "SQ NATO F-16C" } )
|
||||
:InitRandomizeRoute( 0, 0, 30000 )
|
||||
--:InitDelayOn()
|
||||
:SpawnScheduled( Frequency, 0.4 )
|
||||
@ -1,39 +1,39 @@
|
||||
---
|
||||
-- Name: AID-070 - AI_A2A - CAP - Player Exit
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Oct 2017
|
||||
--
|
||||
-- Test Scenario(s):
|
||||
--
|
||||
-- Now take a seat in the client plane as a player.
|
||||
-- Do the following tests after the plane has been spawned.
|
||||
-- 1. Immediately exit the plane.
|
||||
-- 2. Only exit the plane once the defender is engaged.
|
||||
-- 3. Let the defender shoot you.
|
||||
-- In all these scenarios, observe if the defender is continuing its patrol.
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
---
|
||||
-- Name: AID-070 - AI_A2A - CAP - Player Exit
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Oct 2017
|
||||
--
|
||||
-- Test Scenario(s):
|
||||
--
|
||||
-- Now take a seat in the client plane as a player.
|
||||
-- Do the following tests after the plane has been spawned.
|
||||
-- 1. Immediately exit the plane.
|
||||
-- 2. Only exit the plane once the defender is engaged.
|
||||
-- 3. Let the defender shoot you.
|
||||
-- In all these scenarios, observe if the defender is continuing its patrol.
|
||||
|
||||
|
||||
-- Define a SET_GROUP object that builds a collection of groups that define the EWR network.
|
||||
-- Here we build the network with all the groups that have a name starting with DF CCCP AWACS and DF CCCP EWR.
|
||||
DetectionSetGroup = SET_GROUP:New()
|
||||
DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } )
|
||||
DetectionSetGroup:FilterStart()
|
||||
|
||||
Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 )
|
||||
|
||||
-- Setup the A2A dispatcher, and initialize it.
|
||||
A2ADispatcher = AI_A2A_DISPATCHER:New( Detection )
|
||||
|
||||
A2ADispatcher:SetTacticalDisplay( true )
|
||||
|
||||
|
||||
-- Setup the squadrons.
|
||||
|
||||
A2ADispatcher:SetSquadron( "Kras1", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "SQ CCCP SU-27" }, 20 )
|
||||
CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) )
|
||||
A2ADispatcher:SetSquadronCap( "Kras1", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" )
|
||||
A2ADispatcher:SetSquadronCapInterval( "Kras1", 1, 30, 120, 1 )
|
||||
|
||||
A2ADispatcher:SetDefaultTakeoffInAir()
|
||||
A2ADispatcher:SetDefaultLandingNearAirbase()
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user