-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,074 changed files
with
7,510 additions
and
14,158 deletions.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
ABP - Airbase Police/ABP-001 - Caucasus/ABP-001 - Caucasus.lua
This file was deleted.
Oops, something went wrong.
Binary file not shown.
3 changes: 0 additions & 3 deletions
3
ABP - Airbase Police/ABP-001 - Caucasus/APL-001 - Caucasus.lua
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
54 changes: 27 additions & 27 deletions
54
.../AID-008 - AI_A2A - CAP Grouping Test.lua → ... Test/AID-A2A-008 - CAP Grouping Test.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ) |
File renamed without changes.
60 changes: 30 additions & 30 deletions
60
...r Test/AID-009 - AI_A2A - Border Test.lua → ...r Test/AID-009 - AI_A2A - Border Test.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ) |
File renamed without changes.
File renamed without changes.
100 changes: 50 additions & 50 deletions
100
...e/AID-010 - AI_A2A - RTB and ReEngage.lua → ...e/AID-010 - AI_A2A - RTB and ReEngage.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ) | ||
|
File renamed without changes.
File renamed without changes.
102 changes: 51 additions & 51 deletions
102
...011 - AI_A2A - RTB Fuel Treshold test.lua → ...011 - AI_A2A - RTB Fuel Treshold test.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") | ||
|
||
|
File renamed without changes.
File renamed without changes.
Oops, something went wrong.