diff --git a/ABP - Airbase Police/ABP-001 - Caucasus/ABP-001 - Caucasus.miz b/ABP - Airbase Police/ABP-001 - Caucasus/ABP-001 - Caucasus.miz index d9a0bae008..3c240cd1fb 100644 Binary files a/ABP - Airbase Police/ABP-001 - Caucasus/ABP-001 - Caucasus.miz and b/ABP - Airbase Police/ABP-001 - Caucasus/ABP-001 - Caucasus.miz differ diff --git a/ABP - Airbase Police/ABP-002 - Nevada/ABP-002 - Nevada.miz b/ABP - Airbase Police/ABP-002 - Nevada/ABP-002 - Nevada.miz index cf9ce04e24..d824244251 100644 Binary files a/ABP - Airbase Police/ABP-002 - Nevada/ABP-002 - Nevada.miz and b/ABP - Airbase Police/ABP-002 - Nevada/ABP-002 - Nevada.miz differ diff --git a/AIB - AI Balancing/AIB-001 - Spawned AI/AIB-001 - Spawned AI.miz b/AIB - AI Balancing/AIB-001 - Spawned AI/AIB-001 - Spawned AI.miz index 7ed2db03f6..b9aef56594 100644 Binary files a/AIB - AI Balancing/AIB-001 - Spawned AI/AIB-001 - Spawned AI.miz and b/AIB - AI Balancing/AIB-001 - Spawned AI/AIB-001 - Spawned AI.miz differ diff --git a/AIB - AI Balancing/AIB-002 - Patrol AI/AIB-002 - Patrol AI.miz b/AIB - AI Balancing/AIB-002 - Patrol AI/AIB-002 - Patrol AI.miz index 7ae83c5e0d..cdcb0286ea 100644 Binary files a/AIB - AI Balancing/AIB-002 - Patrol AI/AIB-002 - Patrol AI.miz and b/AIB - AI Balancing/AIB-002 - Patrol AI/AIB-002 - Patrol AI.miz differ diff --git a/AIB - AI Balancing/AIB-003 - Two coalitions InitCleanUp test/AIB-003 - Two coalitions InitCleanUp test.miz b/AIB - AI Balancing/AIB-003 - Two coalitions InitCleanUp test/AIB-003 - Two coalitions InitCleanUp test.miz index 974fa80dfc..6d4fd38353 100644 Binary files a/AIB - AI Balancing/AIB-003 - Two coalitions InitCleanUp test/AIB-003 - Two coalitions InitCleanUp test.miz and b/AIB - AI Balancing/AIB-003 - Two coalitions InitCleanUp test/AIB-003 - Two coalitions InitCleanUp test.miz differ diff --git a/AIB - AI Balancing/AIB-004 - Respawn Test when Destroyed/AIB-004 - Respawn Test when Destroyed.miz b/AIB - AI Balancing/AIB-004 - Respawn Test when Destroyed/AIB-004 - Respawn Test when Destroyed.miz index e0a6a32197..5c1a977d46 100644 Binary files a/AIB - AI Balancing/AIB-004 - Respawn Test when Destroyed/AIB-004 - Respawn Test when Destroyed.miz and b/AIB - AI Balancing/AIB-004 - Respawn Test when Destroyed/AIB-004 - Respawn Test when Destroyed.miz differ diff --git a/AIB - AI Balancing/AIB-005 - Patrol AI and Randomize Zones/AIB-005 - Patrol AI and Randomize Zones.miz b/AIB - AI Balancing/AIB-005 - Patrol AI and Randomize Zones/AIB-005 - Patrol AI and Randomize Zones.miz index af69ec9277..9e8e3da058 100644 Binary files a/AIB - AI Balancing/AIB-005 - Patrol AI and Randomize Zones/AIB-005 - Patrol AI and Randomize Zones.miz and b/AIB - AI Balancing/AIB-005 - Patrol AI and Randomize Zones/AIB-005 - Patrol AI and Randomize Zones.miz differ diff --git a/AIB - AI Balancing/AIB-006 - Declutter AI at Airbases/AIB-006 - Declutter AI at Airbases.miz b/AIB - AI Balancing/AIB-006 - Declutter AI at Airbases/AIB-006 - Declutter AI at Airbases.miz index 72d89aad67..9b6a76c44f 100644 Binary files a/AIB - AI Balancing/AIB-006 - Declutter AI at Airbases/AIB-006 - Declutter AI at Airbases.miz and b/AIB - AI Balancing/AIB-006 - Declutter AI at Airbases/AIB-006 - Declutter AI at Airbases.miz differ diff --git a/AIB - AI Balancing/AIB-007 - All Airports/AIB-007 - All Airports.miz b/AIB - AI Balancing/AIB-007 - All Airports/AIB-007 - All Airports.miz index e2f3887e97..b69779402c 100644 Binary files a/AIB - AI Balancing/AIB-007 - All Airports/AIB-007 - All Airports.miz and b/AIB - AI Balancing/AIB-007 - All Airports/AIB-007 - All Airports.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-000 - APC/AIC-APC-000 - APC.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-000 - APC/AIC-APC-000 - APC.miz index 23d1cb06b3..aefd9fc9ce 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-000 - APC/AIC-APC-000 - APC.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-000 - APC/AIC-APC-000 - APC.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-001 - APC with Cargo declared in ME/AIC-APC-001 - APC with Cargo declared in ME.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-001 - APC with Cargo declared in ME/AIC-APC-001 - APC with Cargo declared in ME.miz index cb75730ce4..0d1add069b 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-001 - APC with Cargo declared in ME/AIC-APC-001 - APC with Cargo declared in ME.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-001 - APC with Cargo declared in ME/AIC-APC-001 - APC with Cargo declared in ME.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-002 - APC Move by Game Master/AIC-APC-002 - APC Move by Game Master.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-002 - APC Move by Game Master/AIC-APC-002 - APC Move by Game Master.miz index a01d0c8a22..0bce60e359 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-002 - APC Move by Game Master/AIC-APC-002 - APC Move by Game Master.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-002 - APC Move by Game Master/AIC-APC-002 - APC Move by Game Master.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-003 - APC Troops and Equipment/AIC-APC-003 - APC Troops and Equipment.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-003 - APC Troops and Equipment/AIC-APC-003 - APC Troops and Equipment.miz index 0a3b046813..7e03ae172a 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-003 - APC Troops and Equipment/AIC-APC-003 - APC Troops and Equipment.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-003 - APC Troops and Equipment/AIC-APC-003 - APC Troops and Equipment.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-004 - APC Pickup/AIC-APC-004 - APC Pickup.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-004 - APC Pickup/AIC-APC-004 - APC Pickup.miz index e7c182d387..93dc232b59 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-004 - APC Pickup/AIC-APC-004 - APC Pickup.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-004 - APC Pickup/AIC-APC-004 - APC Pickup.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-006 - Troops Relocate APC/AIC-APC-006 - Troops Relocate APC.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-006 - Troops Relocate APC/AIC-APC-006 - Troops Relocate APC.miz index d19828a2b6..2c370b37a9 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-006 - Troops Relocate APC/AIC-APC-006 - Troops Relocate APC.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-006 - Troops Relocate APC/AIC-APC-006 - Troops Relocate APC.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-010 - Multiple APC/AIC-APC-010 - Multiple APC.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-010 - Multiple APC/AIC-APC-010 - Multiple APC.miz index 572bf63541..07e60e28ab 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-010 - Multiple APC/AIC-APC-010 - Multiple APC.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-010 - Multiple APC/AIC-APC-010 - Multiple APC.miz differ diff --git a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-011 - APC Pickup and Deploy/AIC-APC-011 - APC Pickup and Deploy.miz b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-011 - APC Pickup and Deploy/AIC-APC-011 - APC Pickup and Deploy.miz index ab15a19faa..14682b3e7c 100644 Binary files a/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-011 - APC Pickup and Deploy/AIC-APC-011 - APC Pickup and Deploy.miz and b/AIC - AI Cargo/APC - Armoured Personnel Carrier/AIC-APC-011 - APC Pickup and Deploy/AIC-APC-011 - APC Pickup and Deploy.miz differ diff --git a/AIC - AI Cargo/HEL - Helicopter/AIC-HEL-000 - Helicopter/AIC-HEL-000 - Helicopter.miz b/AIC - AI Cargo/HEL - Helicopter/AIC-HEL-000 - Helicopter/AIC-HEL-000 - Helicopter.miz index 66ad971da8..998768d1ae 100644 Binary files a/AIC - AI Cargo/HEL - Helicopter/AIC-HEL-000 - Helicopter/AIC-HEL-000 - Helicopter.miz and b/AIC - AI Cargo/HEL - Helicopter/AIC-HEL-000 - Helicopter/AIC-HEL-000 - Helicopter.miz differ diff --git a/AIC - AI Cargo/PLN - Airplane/AIC-PLN-000 - Airplane/AIC-PLN-000 - Airplane.miz b/AIC - AI Cargo/PLN - Airplane/AIC-PLN-000 - Airplane/AIC-PLN-000 - Airplane.miz index febcd6620f..5c73ea2fc2 100644 Binary files a/AIC - AI Cargo/PLN - Airplane/AIC-PLN-000 - Airplane/AIC-PLN-000 - Airplane.miz and b/AIC - AI Cargo/PLN - Airplane/AIC-PLN-000 - Airplane/AIC-PLN-000 - Airplane.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/AID-A2A-700 - Sound Check English.lua b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/AID-A2A-700 - Sound Check English.lua new file mode 100644 index 0000000000..c44125af91 --- /dev/null +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/AID-A2A-700 - Sound Check English.lua @@ -0,0 +1,142 @@ +--- +-- Name: AID-A2A-100 - Demonstration +-- Author: FlightControl +-- Date Created: 30 May 2017 + +local HQ_Group = GROUP:FindByName( "HQ" ) +local HQ_CC = COMMANDCENTER:New( HQ_Group, "HQ" ) + +-- 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. +local DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "DF CCCP AWACS", "DF CCCP EWR" } ) +DetectionSetGroup:FilterStart() + +local Detection = DETECTION_AREAS:New( DetectionSetGroup, 30000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2ADispatcher = AI_A2A_DISPATCHER:New( Detection ) +A2ADispatcher:SetCommandCenter( HQ_CC ) + +-- Enable the tactical display panel. +A2ADispatcher:SetTacticalDisplay( false ) +A2ADispatcher:SetTacticalMenu( "Dispatchers", "A2A" ) + +-- 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( 120000 ) + +-- Setup the squadrons. +A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27", "SQ CCCP SU-33", "SQ CCCP MIG-23MLD", "SQ CCCP MIG-25PD" }, 16 ) +A2ADispatcher:SetSquadron( "Maykop", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP MIG-31" }, 20 ) +A2ADispatcher:SetSquadron( "Mozdok", AIRBASE.Caucasus.Mozdok, { "SQ CCCP MIG-31" }, 16 ) +A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27", "SQ CCCP SU-33", "SQ CCCP MIG-23MLD", "SQ CCCP MIG-25PD", "SQ CCCP SU-34", "SQ CCCP MIG-31", "SQ CCCP MIG-29S" }, 40 ) +A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" }, 16 ) + +-- Setup the overhead +A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 ) +A2ADispatcher:SetSquadronOverhead( "Maykop", 1 ) +A2ADispatcher:SetSquadronOverhead( "Mozdok", 1 ) +A2ADispatcher:SetSquadronOverhead( "Sochi", 2 ) +A2ADispatcher:SetSquadronOverhead( "Novo", 1.5 ) + +-- Setup the Grouping +A2ADispatcher:SetSquadronGrouping( "Mineralnye", 4 ) +A2ADispatcher:SetSquadronGrouping( "Sochi", 2 ) +A2ADispatcher:SetSquadronGrouping( "Novo", 3 ) + +-- Setup the Takeoff methods +A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Hot ) +A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Sochi" ) +A2ADispatcher:SetSquadronTakeoffFromRunway( "Mozdok" ) +A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Maykop" ) +A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Novo" ) + +-- Setup the Landing methods +A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" ) +A2ADispatcher:SetSquadronLandingNearAirbase( "Sochi" ) +A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Mozdok" ) +A2ADispatcher:SetSquadronLandingNearAirbase( "Maykop" ) +A2ADispatcher:SetSquadronLanding( "Novo", AI_A2A_DISPATCHER.Landing.AtRunway ) + + +-- 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", 6, 30, 60, 1 ) + +--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 ) + +--CAPZoneMiddle = ZONE:New( "CAP Zone Middle") +--A2ADispatcher:SetSquadronCap( "Maykop", CAPZoneMiddle, 4000, 8000, 600, 800, 800, 1200, "RADIO" ) +--A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 30, 120, 1 ) + +-- GCI Squadron execution. +A2ADispatcher:SetSquadronGci2( "Mozdok", 900, 1200, 100, 100, "RADIO" ) +A2ADispatcher:SetSquadronGci2( "Novo", 900, 2100, 100, 100, "RADIO" ) +A2ADispatcher:SetSquadronGci2( "Maykop", 900, 1200, 200, 200, "RADIO" ) + +-- Set the language of the squadrons to Russian. +A2ADispatcher:SetSquadronLanguage( "Mozdok", "RU" ) +A2ADispatcher:SetSquadronLanguage( "Novo", "RU" ) +A2ADispatcher:SetSquadronLanguage( "Maykop", "RU" ) + +A2ADispatcher:SetSquadronRadioFrequency( "Mozdok", 127.5 ) +A2ADispatcher:SetSquadronRadioFrequency( "Novo", 127.5 ) +A2ADispatcher:SetSquadronRadioFrequency( "Maykop", 127.5 ) + + +-- Set the squadrons visible before startup. +--A2ADispatcher:SetSquadronVisible( "Mineralnye" ) +--A2ADispatcher:SetSquadronVisible( "Sochi" ) +--A2ADispatcher:SetSquadronVisible( "Mozdok" ) +--A2ADispatcher:SetSquadronVisible( "Maykop" ) +--A2ADispatcher:SetSquadronVisible( "Novo" ) + + +--CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } ) + + +-- Blue attack simulation +local Frequency = 300 + +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 ) + +BlueSpawn2 = SPAWN + :New( "RT NATO 2" ) + :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 ) + +BlueSpawn3 = SPAWN + :New( "RT NATO 3" ) + :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 ) + +BlueSpawn4 = SPAWN + :New( "RT NATO 4" ) + :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 ) + diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/AID-A2A-700 - Sound Check English.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/AID-A2A-700 - Sound Check English.miz new file mode 100644 index 0000000000..b23a5853e7 Binary files /dev/null and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/AID-A2A-700 - Sound Check English.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching API V2/AID-A2A-700 - Sound Check English/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/AID-A2A-008 - CAP Grouping Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/AID-A2A-008 - CAP Grouping Test.miz index 5e14bee276..384e2e646f 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/AID-A2A-008 - CAP Grouping Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/AID-A2A-008 - CAP Grouping Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-008 - CAP Grouping Test/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-009 - Border Test/AID-A2A-009 - Border Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-009 - Border Test/AID-A2A-009 - Border Test.miz index 4f39732bd1..c539faffc4 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-009 - Border Test/AID-A2A-009 - Border Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-009 - Border Test/AID-A2A-009 - Border Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-010 - RTB and ReEngage/AID-A2A-010 - RTB and ReEngage.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-010 - RTB and ReEngage/AID-A2A-010 - RTB and ReEngage.miz index 9d6f973094..4572f34067 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-010 - RTB and ReEngage/AID-A2A-010 - RTB and ReEngage.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-010 - RTB and ReEngage/AID-A2A-010 - RTB and ReEngage.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-011 - RTB Fuel Treshold test/AID-A2A-011 - RTB Fuel Treshold test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-011 - RTB Fuel Treshold test/AID-A2A-011 - RTB Fuel Treshold test.miz index da4ad6a599..17bad14b54 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-011 - RTB Fuel Treshold test/AID-A2A-011 - RTB Fuel Treshold test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-011 - RTB Fuel Treshold test/AID-A2A-011 - RTB Fuel Treshold test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-012 - CAP Time Interval Test/AID-A2A-012 - CAP Time Interval Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-012 - CAP Time Interval Test/AID-A2A-012 - CAP Time Interval Test.miz index 8275029b73..ac76619a00 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-012 - CAP Time Interval Test/AID-A2A-012 - CAP Time Interval Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-012 - CAP Time Interval Test/AID-A2A-012 - CAP Time Interval Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-013 - Intercept Test/AID-A2A-013 - Intercept Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-013 - Intercept Test/AID-A2A-013 - Intercept Test.miz index 17c9f0fb21..9063c62bcc 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-013 - Intercept Test/AID-A2A-013 - Intercept Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-013 - Intercept Test/AID-A2A-013 - Intercept Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-014 - DisengageRange Test/AID-A2A-014 - DisengageRange Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-014 - DisengageRange Test/AID-A2A-014 - DisengageRange Test.miz index 6b2781533d..b39308fc63 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-014 - DisengageRange Test/AID-A2A-014 - DisengageRange Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-014 - DisengageRange Test/AID-A2A-014 - DisengageRange Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-015 - Takeoff Test/AID-A2A-015 - Takeoff Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-015 - Takeoff Test/AID-A2A-015 - Takeoff Test.miz index 90c1e1a4df..d30b51446d 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-015 - Takeoff Test/AID-A2A-015 - Takeoff Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-015 - Takeoff Test/AID-A2A-015 - Takeoff Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/AID-A2A-016 - Refuel Tanker Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/AID-A2A-016 - Refuel Tanker Test.miz index a8da564ea0..ca2d43efe4 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/AID-A2A-016 - Refuel Tanker Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/AID-A2A-016 - Refuel Tanker Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-016 - Refuel Tanker Test/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-017 - Spawn Altitude Test/AID-A2A-017 - Spawn Altitude Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-017 - Spawn Altitude Test/AID-A2A-017 - Spawn Altitude Test.miz index fa15ce4938..69bbf6368d 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-017 - Spawn Altitude Test/AID-A2A-017 - Spawn Altitude Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-017 - Spawn Altitude Test/AID-A2A-017 - Spawn Altitude Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-018 - Unlimited Resources Test/AID-A2A-018 - Unlimited Resources Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-018 - Unlimited Resources Test/AID-A2A-018 - Unlimited Resources Test.miz index eda130b5ca..8f00a6a27e 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-018 - Unlimited Resources Test/AID-A2A-018 - Unlimited Resources Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-018 - Unlimited Resources Test/AID-A2A-018 - Unlimited Resources Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-019 - Engage Range Test/AID-A2A-019 - Engage Range Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-019 - Engage Range Test/AID-A2A-019 - Engage Range Test.miz index 84754a1864..d95e379aa9 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-019 - Engage Range Test/AID-A2A-019 - Engage Range Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-019 - Engage Range Test/AID-A2A-019 - Engage Range Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-020 - GCI RTB and ReEngage/AID-A2A-020 - GCI RTB and ReEngage.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-020 - GCI RTB and ReEngage/AID-A2A-020 - GCI RTB and ReEngage.miz index 23d56bb05b..ead4d0587f 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-020 - GCI RTB and ReEngage/AID-A2A-020 - GCI RTB and ReEngage.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-020 - GCI RTB and ReEngage/AID-A2A-020 - GCI RTB and ReEngage.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-021 - GCI Radius Test/AID-A2A-021 - GCI Radius Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-021 - GCI Radius Test/AID-A2A-021 - GCI Radius Test.miz index f511bbc9da..a18aa81870 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-021 - GCI Radius Test/AID-A2A-021 - GCI Radius Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-021 - GCI Radius Test/AID-A2A-021 - GCI Radius Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/AID-A2A-022 - GCI Overhead.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/AID-A2A-022 - GCI Overhead.miz index 08102e6e4e..e646110aa8 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/AID-A2A-022 - GCI Overhead.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/AID-A2A-022 - GCI Overhead.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-022 - GCI Overhead/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.lua b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.lua index 8a1f845f3a..c737f8b2cd 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.lua +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.lua @@ -29,13 +29,13 @@ A2ADispatcher:SetTacticalDisplay( true ) 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: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:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" ) -A2ADispatcher:SetSquadronCapInterval( "May", 4, 30, 120, 1 ) +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() diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.miz index 6177f7f253..1471b90547 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/AID-A2A-030 - CAP RTB and ReEngage.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-030 - CAP RTB and ReEngage/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.lua b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.lua index 4f731074ac..86e23456f0 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.lua +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.lua @@ -25,10 +25,10 @@ CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone Wes 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:SetSquadronCap( "May", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" ) ---A2ADispatcher:SetSquadronCapInterval( "May", 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() diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.miz index bf4c80b046..5dd107e9c1 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/AID-A2A-031 - CAP out of fuel.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-031 - CAP out of fuel/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-032 - CAP Damage/AID-A2A-032 - CAP Damage.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-032 - CAP Damage/AID-A2A-032 - CAP Damage.miz index f9da4638ac..1b302a5ed7 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-032 - CAP Damage/AID-A2A-032 - CAP Damage.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-032 - CAP Damage/AID-A2A-032 - CAP Damage.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-040 - CAP Independent Detection in EWR/AID-A2A-040 - CAP Independent Detection in EWR.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-040 - CAP Independent Detection in EWR/AID-A2A-040 - CAP Independent Detection in EWR.miz index dce67cc79d..464551c660 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-040 - CAP Independent Detection in EWR/AID-A2A-040 - CAP Independent Detection in EWR.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-040 - CAP Independent Detection in EWR/AID-A2A-040 - CAP Independent Detection in EWR.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-041 - CAP Independent Detection in EWR with Clients/AID-A2A-041 - CAP Independent Detection in EWR with Clients.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-041 - CAP Independent Detection in EWR with Clients/AID-A2A-041 - CAP Independent Detection in EWR with Clients.miz index eed4d3e32b..d3dc343acd 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-041 - CAP Independent Detection in EWR with Clients/AID-A2A-041 - CAP Independent Detection in EWR with Clients.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-041 - CAP Independent Detection in EWR with Clients/AID-A2A-041 - CAP Independent Detection in EWR with Clients.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.lua b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.lua index 2f8a24fdb0..0187eec441 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.lua +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.lua @@ -38,30 +38,31 @@ A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 ) A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 ) -- Setup the Takeoff methods -A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Air ) +A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Hot ) -- Setup the Landing methods -A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" ) +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", 2, 30, 60, 1 ) +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 ) - -CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } ) - +--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 ) +--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 ) diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.miz index 920a8551f2..095500e6c9 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/AID-A2A-050 - Resources.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-050 - Resources/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-051 - Airbase Capture/AID-A2A-051 - Airbase Capture.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-051 - Airbase Capture/AID-A2A-051 - Airbase Capture.miz index f97b45e6e4..d6df0387a7 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-051 - Airbase Capture/AID-A2A-051 - Airbase Capture.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-051 - Airbase Capture/AID-A2A-051 - Airbase Capture.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-060 - Takeoff From Runway Test/AID-A2A-060 - Takeoff From Runway Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-060 - Takeoff From Runway Test/AID-A2A-060 - Takeoff From Runway Test.miz index e6e1b7e1fe..b9c608d0ce 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-060 - Takeoff From Runway Test/AID-A2A-060 - Takeoff From Runway Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-060 - Takeoff From Runway Test/AID-A2A-060 - Takeoff From Runway Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-061 - Takeoff From Ship Runway Test/AID-A2A-061 - Takeoff From Ship Runway Test.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-061 - Takeoff From Ship Runway Test/AID-A2A-061 - Takeoff From Ship Runway Test.miz index 8928169f9b..72cd5613d5 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-061 - Takeoff From Ship Runway Test/AID-A2A-061 - Takeoff From Ship Runway Test.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-061 - Takeoff From Ship Runway Test/AID-A2A-061 - Takeoff From Ship Runway Test.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-070 - CAP - Player Exit/AID-A2A-070 - CAP - Player Exit.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-070 - CAP - Player Exit/AID-A2A-070 - CAP - Player Exit.miz index ff61989458..be73536777 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-070 - CAP - Player Exit/AID-A2A-070 - CAP - Player Exit.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-070 - CAP - Player Exit/AID-A2A-070 - CAP - Player Exit.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-071 - GCI - Player Exit/AID-A2A-071 - GCI - Player Exit.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-071 - GCI - Player Exit/AID-A2A-071 - GCI - Player Exit.miz index 7d8396341f..36c753334f 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-071 - GCI - Player Exit/AID-A2A-071 - GCI - Player Exit.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-071 - GCI - Player Exit/AID-A2A-071 - GCI - Player Exit.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.lua b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.lua index 3c1d426059..56550090d8 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.lua +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.lua @@ -26,30 +26,30 @@ 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( 80000 ) +A2ADispatcher:SetEngageRadius( 120000 ) -- Setup the squadrons. -A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27" }, 20 ) +A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27", "SQ CCCP SU-33", "SQ CCCP MIG-23MLD", "SQ CCCP MIG-25PD" }, 16 ) A2ADispatcher:SetSquadron( "Maykop", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP MIG-31" }, 20 ) -A2ADispatcher:SetSquadron( "Mozdok", AIRBASE.Caucasus.Mozdok, { "SQ CCCP MIG-31" }, 20 ) -A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27" }, 20 ) -A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" }, 20 ) +A2ADispatcher:SetSquadron( "Mozdok", AIRBASE.Caucasus.Mozdok, { "SQ CCCP MIG-31" }, 16 ) +A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27", "SQ CCCP SU-33", "SQ CCCP MIG-23MLD", "SQ CCCP MIG-25PD", "SQ CCCP SU-34", "SQ CCCP MIG-31", "SQ CCCP MIG-29S" }, 40 ) +A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" }, 16 ) -- Setup the overhead A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 ) A2ADispatcher:SetSquadronOverhead( "Maykop", 1 ) A2ADispatcher:SetSquadronOverhead( "Mozdok", 1 ) -A2ADispatcher:SetSquadronOverhead( "Sochi", 1 ) +A2ADispatcher:SetSquadronOverhead( "Sochi", 2 ) A2ADispatcher:SetSquadronOverhead( "Novo", 1.5 ) -- Setup the Grouping -A2ADispatcher:SetSquadronGrouping( "Mineralnye", 1 ) +A2ADispatcher:SetSquadronGrouping( "Mineralnye", 4 ) A2ADispatcher:SetSquadronGrouping( "Sochi", 2 ) A2ADispatcher:SetSquadronGrouping( "Novo", 3 ) -- Setup the Takeoff methods -A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Air ) -A2ADispatcher:SetSquadronTakeoffInAir( "Sochi" ) +A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Hot ) +A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Sochi" ) A2ADispatcher:SetSquadronTakeoffFromRunway( "Mozdok" ) A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Maykop" ) A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Novo" ) @@ -65,7 +65,7 @@ A2ADispatcher:SetSquadronLanding( "Novo", AI_A2A_DISPATCHER.Landing.AtRunway ) -- 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 ) +A2ADispatcher:SetSquadronCapInterval( "Mineralnye", 6, 30, 60, 1 ) CAPZoneWest = ZONE_POLYGON:New( "CAP Zone West", GROUP:FindByName( "CAP Zone West" ) ) A2ADispatcher:SetSquadronCap( "Sochi", CAPZoneWest, 4000, 8000, 600, 800, 800, 1200, "BARO" ) @@ -80,7 +80,15 @@ A2ADispatcher:SetSquadronGci( "Mozdok", 900, 1200 ) A2ADispatcher:SetSquadronGci( "Novo", 900, 2100 ) A2ADispatcher:SetSquadronGci( "Maykop", 900, 1200 ) -CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } ) +-- Set the squadrons visible before startup. +A2ADispatcher:SetSquadronVisible( "Mineralnye" ) +A2ADispatcher:SetSquadronVisible( "Sochi" ) +A2ADispatcher:SetSquadronVisible( "Mozdok" ) +A2ADispatcher:SetSquadronVisible( "Maykop" ) +--A2ADispatcher:SetSquadronVisible( "Novo" ) + + +--CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } ) -- Blue attack simulation diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.miz index fb566e3b30..3e2d75dea8 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/AID-A2A-100 - Demonstration.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-100 - Demonstration/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/AID-A2A-190 - Communication.lua b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/AID-A2A-190 - Communication.lua new file mode 100644 index 0000000000..6125a776c1 --- /dev/null +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/AID-A2A-190 - Communication.lua @@ -0,0 +1,131 @@ +--- +-- Name: AID-A2A-100 - Demonstration +-- Author: FlightControl +-- Date Created: 30 May 2017 + + +local CommandCenter = COMMANDCENTER:New( GROUP:FindByName( "HQ" ), "HQ" ) + +-- 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:SetCommandCenter(CommandCenter) + +-- 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( 120000 ) + +-- Setup the squadrons. +A2ADispatcher:SetSquadron( "Mineralnye", AIRBASE.Caucasus.Mineralnye_Vody, { "SQ CCCP SU-27", "SQ CCCP SU-33", "SQ CCCP MIG-23MLD", "SQ CCCP MIG-25PD" }, 16 ) +A2ADispatcher:SetSquadron( "Maykop", AIRBASE.Caucasus.Maykop_Khanskaya, { "SQ CCCP MIG-31" }, 20 ) +A2ADispatcher:SetSquadron( "Mozdok", AIRBASE.Caucasus.Mozdok, { "SQ CCCP MIG-31" }, 16 ) +A2ADispatcher:SetSquadron( "Sochi", AIRBASE.Caucasus.Sochi_Adler, { "SQ CCCP SU-27", "SQ CCCP SU-33", "SQ CCCP MIG-23MLD", "SQ CCCP MIG-25PD", "SQ CCCP SU-34", "SQ CCCP MIG-31", "SQ CCCP MIG-29S" }, 40 ) +A2ADispatcher:SetSquadron( "Novo", AIRBASE.Caucasus.Novorossiysk, { "SQ CCCP SU-27" }, 16 ) + +-- Setup the overhead +A2ADispatcher:SetSquadronOverhead( "Mineralnye", 1.2 ) +A2ADispatcher:SetSquadronOverhead( "Maykop", 1 ) +A2ADispatcher:SetSquadronOverhead( "Mozdok", 1 ) +A2ADispatcher:SetSquadronOverhead( "Sochi", 2 ) +A2ADispatcher:SetSquadronOverhead( "Novo", 1.5 ) + +-- Setup the Grouping +A2ADispatcher:SetSquadronGrouping( "Mineralnye", 4 ) +A2ADispatcher:SetSquadronGrouping( "Sochi", 2 ) +A2ADispatcher:SetSquadronGrouping( "Novo", 3 ) + +-- Setup the Takeoff methods +A2ADispatcher:SetSquadronTakeoff( "Mineralnye", AI_A2A_DISPATCHER.Takeoff.Hot ) +A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Sochi" ) +A2ADispatcher:SetSquadronTakeoffFromRunway( "Mozdok" ) +A2ADispatcher:SetSquadronTakeoffFromParkingCold( "Maykop" ) +A2ADispatcher:SetSquadronTakeoffFromParkingHot( "Novo" ) + +-- Setup the Landing methods +A2ADispatcher:SetSquadronLandingAtRunway( "Mineralnye" ) +A2ADispatcher:SetSquadronLandingNearAirbase( "Sochi" ) +A2ADispatcher:SetSquadronLandingAtEngineShutdown( "Mozdok" ) +A2ADispatcher:SetSquadronLandingNearAirbase( "Maykop" ) +A2ADispatcher:SetSquadronLanding( "Novo", AI_A2A_DISPATCHER.Landing.AtRunway ) + + +-- 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", 6, 30, 60, 1 ) + +--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 ) + +--CAPZoneMiddle = ZONE:New( "CAP Zone Middle") +--A2ADispatcher:SetSquadronCap( "Maykop", CAPZoneMiddle, 4000, 8000, 600, 800, 800, 1200, "RADIO" ) +--A2ADispatcher:SetSquadronCapInterval( "Sochi", 2, 30, 120, 1 ) + +-- GCI Squadron execution. +A2ADispatcher:SetSquadronGci( "Mozdok", 900, 1200 ) +A2ADispatcher:SetSquadronGci( "Novo", 900, 2100 ) +A2ADispatcher:SetSquadronGci( "Maykop", 900, 1200 ) + +-- Set the squadrons visible before startup. +--A2ADispatcher:SetSquadronVisible( "Mineralnye" ) +--A2ADispatcher:SetSquadronVisible( "Sochi" ) +--A2ADispatcher:SetSquadronVisible( "Mozdok" ) +--A2ADispatcher:SetSquadronVisible( "Maykop" ) +--A2ADispatcher:SetSquadronVisible( "Novo" ) + + +--CleanUp = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Novorossiysk } ) + + +-- Blue attack simulation +local Frequency = 300 + +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 ) + +BlueSpawn2 = SPAWN + :New( "RT NATO 2" ) + :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 ) + +BlueSpawn3 = SPAWN + :New( "RT NATO 3" ) + :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 ) + +BlueSpawn4 = SPAWN + :New( "RT NATO 4" ) + :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 ) + diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/AID-A2A-190 - Communication.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/AID-A2A-190 - Communication.miz new file mode 100644 index 0000000000..0e7a9ad8f5 Binary files /dev/null and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/AID-A2A-190 - Communication.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-190 - Communication/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/AID-A2A-200 - GCICAP Demonstration.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/AID-A2A-200 - GCICAP Demonstration.miz index 3b16f9a968..306e1adb67 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/AID-A2A-200 - GCICAP Demonstration.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/AID-A2A-200 - GCICAP Demonstration.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/pack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/pack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/unpack.ps1 b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/unpack.ps1 +++ b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-200 - GCICAP Demonstration/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-210 - GCICAP Demonstration/AID-A2A-210 - GCICAP Demonstration.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-210 - GCICAP Demonstration/AID-A2A-210 - GCICAP Demonstration.miz index e84f1cb2c4..4a14493efb 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-210 - GCICAP Demonstration/AID-A2A-210 - GCICAP Demonstration.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-210 - GCICAP Demonstration/AID-A2A-210 - GCICAP Demonstration.miz differ diff --git a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-220 - GCICAP Demonstration/AID-A2A-220 - GCICAP Demonstration.miz b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-220 - GCICAP Demonstration/AID-A2A-220 - GCICAP Demonstration.miz index 020e2944a4..e5180b1d34 100644 Binary files a/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-220 - GCICAP Demonstration/AID-A2A-220 - GCICAP Demonstration.miz and b/AID - AI Dispatching/AID-A2A - AI A2A Dispatching/AID-A2A-220 - GCICAP Demonstration/AID-A2A-220 - GCICAP Demonstration.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/AID-A2G-001 - Detection and Engage.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/AID-A2G-001 - Detection and Engage.lua new file mode 100644 index 0000000000..15e4dcc26c --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/AID-A2G-001 - Detection and Engage.lua @@ -0,0 +1,56 @@ +--- Detect and attack a set of enemy units. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +local DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +local Detection = DETECTION_AREAS:New( DetectionSetGroup, 5000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- The Command Center (HQ) is the defense point and will also handle the communication to the coalition. +local HQ_Group = GROUP:FindByName( "HQ" ) +local HQ_CC = COMMANDCENTER:New( HQ_Group, "HQ" ) + +-- The HQ is the defense point, so this point will be defended. +A2GDispatcher:AddDefenseCoordinate( "HQ", HQ_Group:GetCoordinate() ) +A2GDispatcher:SetDefenseReactivityHigh() -- High defense reactivity. So far proximity of a threat will trigger a defense action. +A2GDispatcher:SetDefenseRadius( 200000 ) -- Defense radius wide enough to also trigger defenses far away. + +-- Communication to the players within the coalition. The HQ services the communication of the defense actions. +A2GDispatcher:SetCommandCenter( HQ_CC ) + +-- Show a tactical display. +A2GDispatcher:SetTacticalDisplay( true ) + + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCas2( "Maykop CAS", 200, 250, 300, 500, "RADIO" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP MIL-8MTV" }, 10 ) +A2GDispatcher:SetSquadronBai2( "Maykop BAI", 200, 250, 300, 500, "RADIO" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +A2GDispatcher:SetSquadron( "Krasnodar", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "CCCP SU-25TM" }, 10 ) +A2GDispatcher:SetSquadronSead2( "Krasnodar", 600, 800, 2000, 2000, "RADIO" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Krasnodar" ) +A2GDispatcher:SetSquadronOverhead( "Krasnodar", 0.2 ) + + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Krasnodar", 10 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/AID-A2G-001 - Detection and Engage.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/AID-A2G-001 - Detection and Engage.miz new file mode 100644 index 0000000000..3ce3fa2642 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/AID-A2G-001 - Detection and Engage.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-001 - Detection and Engage/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/AID-A2G-002 - Patrol during Detection and Engage.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/AID-A2G-002 - Patrol during Detection and Engage.lua new file mode 100644 index 0000000000..19dbf086bd --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/AID-A2G-002 - Patrol during Detection and Engage.lua @@ -0,0 +1,66 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +local DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +local Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- The Command Center (HQ) is the defense point and will also handle the communication to the coalition. +local HQ_Group = GROUP:FindByName( "HQ" ) +local HQ_CC = COMMANDCENTER:New( HQ_Group, "HQ" ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", HQ_Group:GetCoordinate() ) +A2GDispatcher:SetDefenseReactivityHigh() -- High defense reactivity. So far proximity of a threat will trigger a defense action. +A2GDispatcher:SetDefenseRadius( 200000 ) -- Defense radius wide enough to also trigger defenses far away. + +-- Communication to the players within the coalition. The HQ services the communication of the defense actions. +A2GDispatcher:SetCommandCenter( HQ_CC ) + +-- Show a tactical display. +A2GDispatcher:SetTacticalDisplay( true ) + + +-- Setup the patrols. + +-- The patrol zone. +local PatrolZone = ZONE:New( "PatrolZone" ) + + +-- SEADing from Krasnodar. +A2GDispatcher:SetSquadron( "Krasnodar", AIRBASE.Caucasus.Krasnodar_Pashkovsky, { "CCCP SU-25TM" }, 10 ) +A2GDispatcher:SetSquadronSeadPatrol2( "Krasnodar", PatrolZone, 500, 550, 2000, 2000, "BARO", 750, 800, 30, 30, "RADIO" ) -- New API +A2GDispatcher:SetSquadronSeadPatrolInterval( "Krasnodar", 2, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Krasnodar" ) +A2GDispatcher:SetSquadronOverhead( "Krasnodar", 0.2 ) + + +-- Close Air Support from the CAS farp. +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCasPatrol2( "Maykop CAS", PatrolZone, 50, 80, 600, 700, "BARO", 200, 230, 30, 30, "RADIO" ) -- New API +A2GDispatcher:SetSquadronCasPatrolInterval( "Maykop CAS", 2, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +-- Battlefield Air Interdiction from the BAI farp. +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP MIL-8MTV" }, 10 ) +A2GDispatcher:SetSquadronBaiPatrol2( "Maykop BAI", PatrolZone, 50, 80, 600, 700, "BARO", 200, 230, 800, 900, "RADIO" ) -- New API +A2GDispatcher:SetSquadronBaiPatrolInterval( "Maykop BAI", 5, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.75 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Krasnodar", 10 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/AID-A2G-002 - Patrol during Detection and Engage.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/AID-A2G-002 - Patrol during Detection and Engage.miz new file mode 100644 index 0000000000..495eab8f29 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/AID-A2G-002 - Patrol during Detection and Engage.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching API V2/AID-A2G-002 - Patrol during Detection and Engage/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/AID-A2G-001 - Detection and Attack Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/AID-A2G-001 - Detection and Attack Helicopters.lua new file mode 100644 index 0000000000..5118b7fdf8 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/AID-A2G-001 - Detection and Attack Helicopters.lua @@ -0,0 +1,48 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 5000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.2 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCas( "Maykop CAS", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronBai( "Maykop BAI", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/AID-A2G-001 - Detection and Attack Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/AID-A2G-001 - Detection and Attack Helicopters.miz new file mode 100644 index 0000000000..1ce0ce0827 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/AID-A2G-001 - Detection and Attack Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-001 - Detection and Attack Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/AID-A2G-002 - Patrol and Engage Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/AID-A2G-002 - Patrol and Engage Helicopters.lua new file mode 100644 index 0000000000..82403dd4df --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/AID-A2G-002 - Patrol and Engage Helicopters.lua @@ -0,0 +1,52 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", "SEAD", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 300, 500, 50, 80, 250, 300 ) +A2GDispatcher:SetSquadronPatrolInterval( "Maykop SEAD", 2, 30, 60, 1, "SEAD" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCasPatrol( "Maykop CAS", PatrolZone, 600, 700, 50, 80, 250, 300 ) +A2GDispatcher:SetSquadronPatrolInterval( "Maykop CAS", 2, 30, 60, 1, "CAS" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronBaiPatrol( "Maykop BAI", PatrolZone, 800, 900, 50, 80, 250, 300 ) +A2GDispatcher:SetSquadronPatrolInterval( "Maykop BAI", 2, 30, 60, 1, "BAI" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) \ No newline at end of file diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/AID-A2G-002 - Patrol and Engage Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/AID-A2G-002 - Patrol and Engage Helicopters.miz new file mode 100644 index 0000000000..668af4f11f Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/AID-A2G-002 - Patrol and Engage Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-002 - Patrol and Engage Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/AID-A2G-003 - Detection and Attack one Group Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/AID-A2G-003 - Detection and Attack one Group Helicopters.lua new file mode 100644 index 0000000000..75ce3f01a0 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/AID-A2G-003 - Detection and Attack one Group Helicopters.lua @@ -0,0 +1,52 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + + +CC = COMMANDCENTER:New( GROUP:FindByName( "HQ" ), "HQ" ) + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) +A2GDispatcher:SetCommandCenter( CC ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.2 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCas( "Maykop CAS", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronBai( "Maykop BAI", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/AID-A2G-003 - Detection and Attack one Group Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/AID-A2G-003 - Detection and Attack one Group Helicopters.miz new file mode 100644 index 0000000000..f1dea0fef7 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/AID-A2G-003 - Detection and Attack one Group Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-003 - Detection and Attack one Group Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/AID-A2G-004 - Detection and attack close defense point Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/AID-A2G-004 - Detection and attack close defense point Helicopters.lua new file mode 100644 index 0000000000..75ce3f01a0 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/AID-A2G-004 - Detection and attack close defense point Helicopters.lua @@ -0,0 +1,52 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + + +CC = COMMANDCENTER:New( GROUP:FindByName( "HQ" ), "HQ" ) + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) +A2GDispatcher:SetCommandCenter( CC ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.2 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCas( "Maykop CAS", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronBai( "Maykop BAI", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/AID-A2G-004 - Detection and attack close defense point Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/AID-A2G-004 - Detection and attack close defense point Helicopters.miz new file mode 100644 index 0000000000..f1dea0fef7 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/AID-A2G-004 - Detection and attack close defense point Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-004 - Detection and attack close defense point Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/AID-A2G-100 - DefenseRadius.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/AID-A2G-100 - DefenseRadius.lua new file mode 100644 index 0000000000..3354a20382 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/AID-A2G-100 - DefenseRadius.lua @@ -0,0 +1,50 @@ +--- Test the defense radius. +-- Defenses should pickup targets within the defense radius, but not outside of it! +-- Defenses should engage targets closer to the HQ with higher probability than targets at longer distance from the HQ. +-- The tests are with SEAD only. +-- Name: AID-A2G-003 - DefenseRadius +-- Author: FlightControl +-- Date Created: 11 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the SEAD squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T SEAD" }, 10 ) +A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +A2GDispatcher:SetSquadronSeadPatrolInterval( "Maykop SEAD", 1, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffInAir( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) + +-- Setup the CAS squadrons. +A2GDispatcher:SetSquadron( "Maykop CAS", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T CAS" }, 10 ) +A2GDispatcher:SetSquadronCasPatrol( "Maykop CAS", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +A2GDispatcher:SetSquadronCasPatrolInterval( "Maykop CAS", 1, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffInAir( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/AID-A2G-100 - DefenseRadius.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/AID-A2G-100 - DefenseRadius.miz new file mode 100644 index 0000000000..2f6547de09 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/AID-A2G-100 - DefenseRadius.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-100 - DefenseRadius/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/AID-A2G-110 - Default Engage Limit.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/AID-A2G-110 - Default Engage Limit.lua new file mode 100644 index 0000000000..4b77c7493b --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/AID-A2G-110 - Default Engage Limit.lua @@ -0,0 +1,45 @@ +--- Test the default engage limit. +-- Defenses should engage enemy units, but not more defenses than the defense limit! +-- Name: AID-A2G-110 - Default DefenseLimit +-- Author: FlightControl +-- Date Created: 15 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +-- This is the test, not more than 4 defenses in total should engage! +A2GDispatcher:SetDefaultEngageLimit( 6 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T SEAD" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 250, 350 ) +--A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +--A2GDispatcher:SetSquadronSeadPatrolInterval( "Maykop SEAD", 4, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffInAir( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/AID-A2G-110 - Default Engage Limit.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/AID-A2G-110 - Default Engage Limit.miz new file mode 100644 index 0000000000..eefe3c9ad6 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/AID-A2G-110 - Default Engage Limit.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-110 - Default Engage Limit/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/AID-A2G-190 - Communication.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/AID-A2G-190 - Communication.lua new file mode 100644 index 0000000000..bcf6fe2eed --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/AID-A2G-190 - Communication.lua @@ -0,0 +1,80 @@ +--- Test the communication system to other players. +-- A command center will facilitate the A2G defenses communication to the players, who reporting to the same command center. +-- The task system needs to be used to have this reporting facilitated. +-- Name: AID-A2G-190 - Communication +-- Author: FlightControl +-- Date Created: 11 Jan 2019 + +-- Define a command center that will communicate with the players. +CC_Red = COMMANDCENTER:New( GROUP:FindByName( "HQ" ), "Command" ) + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection_Red = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +AI_A2G_Dispatcher_Red = AI_A2G_DISPATCHER:New( Detection_Red ) + + + + +-- Add defense coordinates. +AI_A2G_Dispatcher_Red:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +AI_A2G_Dispatcher_Red:SetDefenseReactivityHigh() + +AI_A2G_Dispatcher_Red:SetDefenseRadius( 100000 ) + +-- This is the test, not more than 4 defenses in total should engage! +AI_A2G_Dispatcher_Red:SetDefaultEngageLimit( 6 ) + +AI_A2G_Dispatcher_Red:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. + +-- SEAD +AI_A2G_Dispatcher_Red:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP AI SU-25T SEAD #001", "CCCP AI SU-25T SEAD #002", "CCCP AI SU-25T SEAD #003" }, 10 ) +AI_A2G_Dispatcher_Red:SetSquadronSead( "Maykop SEAD", 600, 800 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +AI_A2G_Dispatcher_Red:SetSquadronOverhead( "Maykop SEAD", 0.2 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) + +-- CAS +AI_A2G_Dispatcher_Red:SetSquadron( "Maykop CAS", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP AI SU-25T CAS" }, 10 ) +AI_A2G_Dispatcher_Red:SetSquadronCas( "Maykop CAS", 600, 800 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +AI_A2G_Dispatcher_Red:SetSquadronOverhead( "Maykop CAS", 0.25 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) + +-- BAI +AI_A2G_Dispatcher_Red:SetSquadron( "Maykop BAI", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP AI SU-25T BAI" }, 10 ) +AI_A2G_Dispatcher_Red:SetSquadronBai( "Maykop BAI", 600, 800 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +AI_A2G_Dispatcher_Red:SetSquadronOverhead( "Maykop BAI", 0.25 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) + + + + +-- Now we setup the TASK A2G dispatcher, that will use the same detection system, as the AI A2G dispatcher! +Mission_Red = MISSION:New( CC_Red, "Comms Demo", "Example", "This mission demonstrates the communications between the AI A2G dispatcher and the TASK A2G dispatcher to the involved players.", coalition.side.RED ) +Players_Red = SET_GROUP:New():FilterPrefixes( "CCCP Player" ):FilterStart() +Task_A2G_Dispatcher_Red = TASK_A2G_DISPATCHER:New( Mission_Red, Players_Red, Detection_Red ) +Task_A2G_Dispatcher_Red:Start() + +-- Here we set the command center, which will faciliate the communication to the Players_Red, using the same Detection_Red. +AI_A2G_Dispatcher_Red:SetCommandCenter( CC_Red ) + diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/AID-A2G-190 - Communication.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/AID-A2G-190 - Communication.miz new file mode 100644 index 0000000000..e3f97d8bf0 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/AID-A2G-190 - Communication.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-190 - Communication/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/AID-A2G-191 - Communication Engage One Unit.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/AID-A2G-191 - Communication Engage One Unit.lua new file mode 100644 index 0000000000..7162634a08 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/AID-A2G-191 - Communication Engage One Unit.lua @@ -0,0 +1,63 @@ +--- Test the communication system to other players. +-- A command center will facilitate the A2G defenses communication to the players, who reporting to the same command center. +-- The task system needs to be used to have this reporting facilitated. +-- +-- Author: FlightControl +-- Date Created: 20 Jan 2019 + +-- Define a command center that will communicate with the players. +CC_Red = COMMANDCENTER:New( GROUP:FindByName( "HQ" ), "Command" ) + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection_Red = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +AI_A2G_Dispatcher_Red = AI_A2G_DISPATCHER:New( Detection_Red ) + + + + +-- Add defense coordinates. +AI_A2G_Dispatcher_Red:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +AI_A2G_Dispatcher_Red:SetDefenseReactivityHigh() + +AI_A2G_Dispatcher_Red:SetDefenseRadius( 100000 ) + +-- This is the test, not more than 4 defenses in total should engage! +AI_A2G_Dispatcher_Red:SetDefaultEngageLimit( 6 ) + +AI_A2G_Dispatcher_Red:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. + +-- SEAD +AI_A2G_Dispatcher_Red:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP AI SU-25T SEAD #001", "CCCP AI SU-25T SEAD #002", "CCCP AI SU-25T SEAD #003" }, 10 ) +AI_A2G_Dispatcher_Red:SetSquadronSead( "Maykop SEAD", 600, 800 ) +AI_A2G_Dispatcher_Red:SetSquadronOverhead( "Maykop SEAD", 0.2 ) +AI_A2G_Dispatcher_Red:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) + + +-- Now we setup the TASK A2G dispatcher, that will use the same detection system, as the AI A2G dispatcher! +Mission_Red = MISSION:New( CC_Red, "Comms Demo", "Example", "This mission demonstrates the communications between the AI A2G dispatcher and the TASK A2G dispatcher to the involved players.", coalition.side.RED ) +Players_Red = SET_GROUP:New():FilterPrefixes( "CCCP Player" ):FilterStart() +Task_A2G_Dispatcher_Red = TASK_A2G_DISPATCHER:New( Mission_Red, Players_Red, Detection_Red ) +Task_A2G_Dispatcher_Red:Start() + +-- Here we set the command center, which will faciliate the communication to the Players_Red, using the same Detection_Red. +AI_A2G_Dispatcher_Red:SetCommandCenter( CC_Red ) + diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/AID-A2G-191 - Communication Engage One Unit.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/AID-A2G-191 - Communication Engage One Unit.miz new file mode 100644 index 0000000000..447ed74e6d Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/AID-A2G-191 - Communication Engage One Unit.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-191 - Communication Engage One Unit/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/AID-A2G-210 - Depart from Ramp.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/AID-A2G-210 - Depart from Ramp.lua new file mode 100644 index 0000000000..dec2870538 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/AID-A2G-210 - Depart from Ramp.lua @@ -0,0 +1,42 @@ +--- Test the default engage limit. +-- Defenses should engage enemy units, but not more defenses than the defense limit! +-- Name: AID-A2G-110 - Default DefenseLimit +-- Author: FlightControl +-- Date Created: 15 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T SEAD" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 250, 350 ) +--A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +--A2GDispatcher:SetSquadronSeadPatrolInterval( "Maykop SEAD", 4, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffFromParkingCold( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/AID-A2G-210 - Depart from Ramp.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/AID-A2G-210 - Depart from Ramp.miz new file mode 100644 index 0000000000..295e66d695 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/AID-A2G-210 - Depart from Ramp.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-210 - Depart from Ramp/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/AID-A2G-211 - Depart from Hot.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/AID-A2G-211 - Depart from Hot.lua new file mode 100644 index 0000000000..d7f26d92f0 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/AID-A2G-211 - Depart from Hot.lua @@ -0,0 +1,42 @@ +--- Test the default engage limit. +-- Defenses should engage enemy units, but not more defenses than the defense limit! +-- Name: AID-A2G-110 - Default DefenseLimit +-- Author: FlightControl +-- Date Created: 15 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T SEAD" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 250, 350 ) +--A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +--A2GDispatcher:SetSquadronSeadPatrolInterval( "Maykop SEAD", 4, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/AID-A2G-211 - Depart from Hot.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/AID-A2G-211 - Depart from Hot.miz new file mode 100644 index 0000000000..fe5fb089b4 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/AID-A2G-211 - Depart from Hot.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-211 - Depart from Hot/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/AID-A2G-212 - Depart from Runway.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/AID-A2G-212 - Depart from Runway.lua new file mode 100644 index 0000000000..d22dd6a5b6 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/AID-A2G-212 - Depart from Runway.lua @@ -0,0 +1,45 @@ +--- Test the default engage limit. +-- Defenses should engage enemy units, but not more defenses than the defense limit! +-- Name: AID-A2G-110 - Default DefenseLimit +-- Author: FlightControl +-- Date Created: 15 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +-- This is the test, not more than 4 defenses in total should engage! +A2GDispatcher:SetDefaultEngageLimit( 6 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T SEAD" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 250, 350 ) +--A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +--A2GDispatcher:SetSquadronSeadPatrolInterval( "Maykop SEAD", 4, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffFromRunway( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/AID-A2G-212 - Depart from Runway.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/AID-A2G-212 - Depart from Runway.miz new file mode 100644 index 0000000000..1e2d012a68 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/AID-A2G-212 - Depart from Runway.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-212 - Depart from Runway/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/AID-A2G-213 - Depart from Air.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/AID-A2G-213 - Depart from Air.lua new file mode 100644 index 0000000000..4b77c7493b --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/AID-A2G-213 - Depart from Air.lua @@ -0,0 +1,45 @@ +--- Test the default engage limit. +-- Defenses should engage enemy units, but not more defenses than the defense limit! +-- Name: AID-A2G-110 - Default DefenseLimit +-- Author: FlightControl +-- Date Created: 15 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +-- This is the test, not more than 4 defenses in total should engage! +A2GDispatcher:SetDefaultEngageLimit( 6 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T SEAD" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 250, 350 ) +--A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +--A2GDispatcher:SetSquadronSeadPatrolInterval( "Maykop SEAD", 4, 30, 60, 1 ) +A2GDispatcher:SetSquadronTakeoffInAir( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/AID-A2G-213 - Depart from Air.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/AID-A2G-213 - Depart from Air.miz new file mode 100644 index 0000000000..0e2dca67fc Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/AID-A2G-213 - Depart from Air.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-213 - Depart from Air/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/AID-A2G-250 - Visible before start.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/AID-A2G-250 - Visible before start.lua new file mode 100644 index 0000000000..0adcd7b24b --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/AID-A2G-250 - Visible before start.lua @@ -0,0 +1,48 @@ +--- Test the default engage limit. +-- Defenses should engage enemy units, but not more defenses than the defense limit! +-- Name: AID-A2G-110 - Default DefenseLimit +-- Author: FlightControl +-- Date Created: 15 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() -- Defene a set of group objects, caled DetectionSetGroup. + +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) -- The DetectionSetGroup will search for groups that start with the name "CCCP Recce". + +-- This command will start the dynamic filtering, so when groups spawn in or are destroyed, +-- which have a group name starting with "CCCP Recce", then these will be automatically added or removed from the set. +DetectionSetGroup:FilterStart() + +-- This command defines the reconnaissance network. +-- It will group any detected ground enemy targets within a radius of 1km. +-- It uses the DetectionSetGroup, which defines the set of reconnaissance groups to detect for enemy ground targets. +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) + +-- This is the test, not more than 4 defenses in total should engage! +A2GDispatcher:SetDefaultEngageLimit( 6 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Krymsk SEAD", AIRBASE.Caucasus.Krymsk, { "CCCP SEAD Su-30", "CCCP SEAD Su-25T", "CCCP SEAD Su-25TM", "CCCP SEAD Su-34" }, 20 ) +A2GDispatcher:SetSquadronSead( "Krymsk SEAD", 600, 800 ) +--A2GDispatcher:SetSquadronSeadPatrol( "Krymsk SEAD", PatrolZone, 1000, 2500, 400, 600, 1100, 1500 ) +--A2GDispatcher:SetSquadronSeadPatrolInterval( "Krymsk SEAD", 4, 30, 60, 1 ) +A2GDispatcher:SetSquadronOverhead( "Krymsk SEAD", 0.2 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Krymsk SEAD" ) +A2GDispatcher:SetSquadronLandingAtEngineShutdown( "Krymsk SEAD" ) + +--A2GDispatcher:SetSquadronVisible( "Krymsk SEAD" ) \ No newline at end of file diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/AID-A2G-250 - Visible before start.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/AID-A2G-250 - Visible before start.miz new file mode 100644 index 0000000000..9a74a720d8 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/AID-A2G-250 - Visible before start.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-250 - Visible before start/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/AID-A2G-300 - CAS Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/AID-A2G-300 - CAS Helicopters.lua new file mode 100644 index 0000000000..91bf32f732 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/AID-A2G-300 - CAS Helicopters.lua @@ -0,0 +1,31 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Sq34", "FARP CAS", { "Defender" }, 10 ) +A2GDispatcher:SetSquadronCas( "Sq34", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.75 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/AID-A2G-300 - CAS Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/AID-A2G-300 - CAS Helicopters.miz new file mode 100644 index 0000000000..27e56a3738 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/AID-A2G-300 - CAS Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-300 - CAS Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/AID-A2G-310 - CAS Helicopters Patrol.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/AID-A2G-310 - CAS Helicopters Patrol.lua new file mode 100644 index 0000000000..9a4a75fd46 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/AID-A2G-310 - CAS Helicopters Patrol.lua @@ -0,0 +1,33 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) +A2GDispatcher:SetSquadron( "Sq34", "FARP CAS", { "Defender" }, 10 ) +A2GDispatcher:SetSquadronCasPatrol( "Sq34", CASPatrolZone, 200, 500, 70, 100, 250, 300 ) +A2GDispatcher:SetSquadronCasPatrolInterval( "Sq34", 2, 30, 60 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/AID-A2G-310 - CAS Helicopters Patrol.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/AID-A2G-310 - CAS Helicopters Patrol.miz new file mode 100644 index 0000000000..c83b0c4973 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/AID-A2G-310 - CAS Helicopters Patrol.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-310 - CAS Helicopters Patrol/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/AID-A2G-350 - CAS Airplanes.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/AID-A2G-350 - CAS Airplanes.lua new file mode 100644 index 0000000000..3e5beef7ff --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/AID-A2G-350 - CAS Airplanes.lua @@ -0,0 +1,61 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +Detection:SetFriendliesRange( 20000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +-- Setup the squadron Sq34. +A2GDispatcher:SetSquadron( "Sq34", AIRBASE.Caucasus.Vaziani, { "Defender Sq34" }, 10 ) + +-- This will setup the squadron Sq34 for CAS from Vaziani. +-- Attack speed between 1000 and 1500 km/h. +-- Attack altitude between 4000 and 6000 meters. +A2GDispatcher:SetSquadronCas( "Sq34", 1000, 1500, 4000, 6000 ) + + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) + +-- For every 2 targets, there will be one plane spawned, so we give a 0.5 value. +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.5 ) + + +-- Setup the squadron Sq25. +A2GDispatcher:SetSquadron( "Sq25", AIRBASE.Caucasus.Soganlug, { "Defender Sq25" }, 10 ) + +-- This will setup the squadron Sq34 for CAS from Vaziani. +-- No additional altitude and speed parameters are given, so the defaults are assigned. +-- Default speed between 50% and 75% of the maximum speed of the units in the group. +-- Default altitude is between 1000 and 1500 meters. +A2GDispatcher:SetSquadronCas( "Sq25" ) + + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq25" ) + +-- For every 2 targets, there will be one plane spawned, so we give a 0.5 value. +A2GDispatcher:SetSquadronOverhead( "Sq25", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/AID-A2G-350 - CAS Airplanes.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/AID-A2G-350 - CAS Airplanes.miz new file mode 100644 index 0000000000..c0c888a08e Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/AID-A2G-350 - CAS Airplanes.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-350 - CAS Airplanes/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/AID-A2G-351 - CAS Airplanes.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/AID-A2G-351 - CAS Airplanes.lua new file mode 100644 index 0000000000..5fc04b75ba --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/AID-A2G-351 - CAS Airplanes.lua @@ -0,0 +1,45 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +Detection:SetFriendliesRange( 20000 ) +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 250000 ) + + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) + +-- Setup the squadron Sq25. +A2GDispatcher:SetSquadron( "Sq25", AIRBASE.Caucasus.Beslan, { "Defender" }, 10 ) + +-- This will setup the squadron Sq34 for CAS from Beslan. +-- No additional altitude and speed parameters are given, so the defaults are assigned. +-- Default speed between 50% and 75% of the maximum speed of the units in the group. +-- Default altitude is between 1000 and 1500 meters. +A2GDispatcher:SetSquadronCas( "Sq25" ) + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq25" ) + +-- For every 2 targets, there will be one plane spawned. +A2GDispatcher:SetSquadronOverhead( "Sq25", 0.5 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/AID-A2G-351 - CAS Airplanes.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/AID-A2G-351 - CAS Airplanes.miz new file mode 100644 index 0000000000..2aae7b65e3 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/AID-A2G-351 - CAS Airplanes.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-351 - CAS Airplanes/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/AID-A2G-352 - CAS Airplanes.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/AID-A2G-352 - CAS Airplanes.lua new file mode 100644 index 0000000000..bbaa5be2f6 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/AID-A2G-352 - CAS Airplanes.lua @@ -0,0 +1,45 @@ +--- Detect and attack a set of enemy units using helicopters. +-- +-- Author: FlightControl +-- Date Created: 23 Jan 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +Detection:SetFriendliesRange( 20000 ) +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 250000 ) + + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) + +-- Setup the squadron Sq25. +A2GDispatcher:SetSquadron( "Sq26", AIRBASE.Caucasus.Nalchik, { "Defender" }, 10 ) + +-- This will setup the squadron Sq34 for CAS from Beslan. +-- No additional altitude and speed parameters are given, so the defaults are assigned. +-- Default speed between 50% and 75% of the maximum speed of the units in the group. +-- Default altitude is between 1000 and 1500 meters. +A2GDispatcher:SetSquadronCas( "Sq26" ) + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq26" ) + +-- For every 2 targets, there will be one plane spawned. +A2GDispatcher:SetSquadronOverhead( "Sq26", 0.20 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/AID-A2G-352 - CAS Airplanes.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/AID-A2G-352 - CAS Airplanes.miz new file mode 100644 index 0000000000..b99f6b13a3 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/AID-A2G-352 - CAS Airplanes.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-352 - CAS Airplanes/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/AID-A2G-360 - CAS Airplanes Patrol.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/AID-A2G-360 - CAS Airplanes Patrol.lua new file mode 100644 index 0000000000..5ebff04e69 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/AID-A2G-360 - CAS Airplanes Patrol.lua @@ -0,0 +1,43 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) + +-- Setup the squadron Sq34. +A2GDispatcher:SetSquadron( "Sq34", AIRBASE.Caucasus.Vaziani, { "Defender" }, 10 ) + +-- This will setup the squadron Sq34 for patrol and CAS from Vaziani. +A2GDispatcher:SetSquadronCasPatrol( "Sq34", CASPatrolZone, 1500, 2500, 600, 800, 800, 1200 ) + +-- Maximum 6 units for patrol, with a spawn interval between 30 and 60 seconds. +A2GDispatcher:SetSquadronCasPatrolInterval( "Sq34", 2, 30, 60 ) + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) + +-- For every 4 targets, there will be one plane spawned. +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/AID-A2G-360 - CAS Airplanes Patrol.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/AID-A2G-360 - CAS Airplanes Patrol.miz new file mode 100644 index 0000000000..bdd8e63274 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/AID-A2G-360 - CAS Airplanes Patrol.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-360 - CAS Airplanes Patrol/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/AID-A2G-361 - CAS Airplanes Patrol.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/AID-A2G-361 - CAS Airplanes Patrol.lua new file mode 100644 index 0000000000..97a124f687 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/AID-A2G-361 - CAS Airplanes Patrol.lua @@ -0,0 +1,40 @@ +-- Date Created: 09 Mar 2019 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) + +-- Setup the squadron Sq34. +A2GDispatcher:SetSquadron( "Sq34", AIRBASE.Caucasus.Vaziani, { "Defender" }, 10 ) + +-- This will setup the squadron Sq34 for patrol and CAS from Vaziani. +A2GDispatcher:SetSquadronCasPatrol( "Sq34", CASPatrolZone, 1500, 2500, 600, 800, 800, 1200 ) + +-- Maximum 6 units for patrol, with a spawn interval between 30 and 60 seconds. +--A2GDispatcher:SetSquadronCasPatrolInterval( "Sq34", 2, 30, 60 ) + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) + +-- For every 4 targets, there will be one plane spawned. +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/AID-A2G-361 - CAS Airplanes Patrol.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/AID-A2G-361 - CAS Airplanes Patrol.miz new file mode 100644 index 0000000000..1df0373026 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/AID-A2G-361 - CAS Airplanes Patrol.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-361 - CAS Airplanes Patrol/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/AID-A2G-362 - CAS Airplanes Patrol Visible.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/AID-A2G-362 - CAS Airplanes Patrol Visible.lua new file mode 100644 index 0000000000..08614f8435 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/AID-A2G-362 - CAS Airplanes Patrol Visible.lua @@ -0,0 +1,47 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) + +-- Setup the squadron Sq34 at Kutaisi, using template Defender for 10 units. +A2GDispatcher:SetSquadron( "Sq34", AIRBASE.Caucasus.Kutaisi, { "Defender" }, 10 ) + +-- This will setup the squadron Sq34 for patrol and CAS. +A2GDispatcher:SetSquadronCasPatrol( "Sq34", CASPatrolZone, 1500, 2500, 600, 800, 800, 1200 ) + +-- Maximum 2 units for patrol, with a spawn interval between 30 and 60 seconds. +A2GDispatcher:SetSquadronCasPatrolInterval( "Sq34", 2, 30, 60 ) + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) + +-- For every 4 targets, there will be one plane spawned. +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.25 ) + +-- Make planes visible before start ... +A2GDispatcher:SetSquadronVisible( "Sq34" ) + diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/AID-A2G-362 - CAS Airplanes Patrol Visible.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/AID-A2G-362 - CAS Airplanes Patrol Visible.miz new file mode 100644 index 0000000000..9e076596d9 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/AID-A2G-362 - CAS Airplanes Patrol Visible.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-362 - CAS Airplanes Patrol Visible/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/AID-A2G-363 - CAS Airplanes Patrol Refuel.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/AID-A2G-363 - CAS Airplanes Patrol Refuel.lua new file mode 100644 index 0000000000..7ec4ae9149 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/AID-A2G-363 - CAS Airplanes Patrol Refuel.lua @@ -0,0 +1,44 @@ +-- Date Created: 09 Mar 2019 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +local CASPatrolZone = ZONE:New( "CASPatrolZone" ) + +-- Setup the squadron Sq34. +A2GDispatcher:SetSquadron( "Sq34", AIRBASE.Caucasus.Vaziani, { "Defender" }, 10 ) + +-- This will setup the squadron Sq34 for patrol and CAS from Vaziani. +A2GDispatcher:SetSquadronCasPatrol( "Sq34", CASPatrolZone, 1500, 2500, 600, 800, 800, 1200 ) + +-- Maximum 6 units for patrol, with a spawn interval between 30 and 60 seconds. +--A2GDispatcher:SetSquadronCasPatrolInterval( "Sq34", 2, 30, 60 ) + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) + +-- For every 4 targets, there will be one plane spawned. +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.25 ) + +A2GDispatcher:SetDefaultTanker( "Tanker" ) +A2GDispatcher:SetDefaultFuelThreshold( 0.9 ) + diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/AID-A2G-363 - CAS Airplanes Patrol Refuel.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/AID-A2G-363 - CAS Airplanes Patrol Refuel.miz new file mode 100644 index 0000000000..251e327354 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/AID-A2G-363 - CAS Airplanes Patrol Refuel.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-363 - CAS Airplanes Patrol Refuel/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/AID-A2G-400 - BAI Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/AID-A2G-400 - BAI Helicopters.lua new file mode 100644 index 0000000000..e90889b195 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/AID-A2G-400 - BAI Helicopters.lua @@ -0,0 +1,36 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Author: FlightControl +-- Date Created: 27 Jan 2019 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "CCCP Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityMedium() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50 BAI" }, 10 ) +A2GDispatcher:SetSquadronBai( "Maykop BAI", 120, 250, 1000, 1500 ) +A2GDispatcher:SetSquadronTakeoffFromParkingCold( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- Wait for each helicopter to spawn about 4 minutes from cold start. +-- So the FARP has 4 spots, that means every 60 seconds one helo. +-- Otherwise the FARP will clutter. +-- This will result in helicopters not guided properly by the dispatcher. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/AID-A2G-400 - BAI Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/AID-A2G-400 - BAI Helicopters.miz new file mode 100644 index 0000000000..94809a0639 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/AID-A2G-400 - BAI Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-400 - BAI Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/AID-A2G-550 - SEAD Airplanes.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/AID-A2G-550 - SEAD Airplanes.lua new file mode 100644 index 0000000000..e80707ecfe --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/AID-A2G-550 - SEAD Airplanes.lua @@ -0,0 +1,62 @@ +--- Detect and attack a set of enemy units using helicopters. +-- +-- Author: FlightControl +-- Date Created: 23 Jan 2018 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "Recce" } ) +DetectionSetGroup:FilterStart() + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 20000 ) + +Detection:SetFriendliesRange( 20000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) +A2GDispatcher:SetEngageRadius( 200000 ) + + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +-- Setup the squadron Sq34. +A2GDispatcher:SetSquadron( "Sq34", AIRBASE.Caucasus.Vaziani, { "Defender Sq34" }, 10 ) + +-- This will setup the squadron Sq34 for SEAD from Vaziani. +-- Attack speed between 1000 and 1500 km/h. +-- Attack altitude between 4000 and 6000 meters. +A2GDispatcher:SetSquadronSead( "Sq34", 600, 800, 4500, 6000 ) + + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq34" ) + +-- For every 2 targets, there will be one plane spawned, so we give a 0.5 value. +A2GDispatcher:SetSquadronOverhead( "Sq34", 0.5 ) + + +-- Setup the squadron Sq25. +A2GDispatcher:SetSquadron( "Sq25", AIRBASE.Caucasus.Soganlug, { "Defender Sq25" }, 10 ) + +-- This will setup the squadron Sq34 for CAS from Vaziani. +-- No additional altitude and speed parameters are given, so the defaults are assigned. +-- Default speed between 50% and 75% of the maximum speed of the units in the group. +-- Default altitude is between 1000 and 1500 meters. +A2GDispatcher:SetSquadronCas( "Sq25" ) + + +-- Start from airbase hot. +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Sq25" ) + +-- For every 2 targets, there will be one plane spawned, so we give a 0.5 value. +A2GDispatcher:SetSquadronOverhead( "Sq25", 0.25 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/AID-A2G-550 - SEAD Airplanes.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/AID-A2G-550 - SEAD Airplanes.miz new file mode 100644 index 0000000000..f784318fd9 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/AID-A2G-550 - SEAD Airplanes.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-550 - SEAD Airplanes/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/AID-A2G-600 - Detection Zones and Attack Helicopters.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/AID-A2G-600 - Detection Zones and Attack Helicopters.lua new file mode 100644 index 0000000000..2394330530 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/AID-A2G-600 - Detection Zones and Attack Helicopters.lua @@ -0,0 +1,46 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + + + +local DetectionZones = SET_ZONE:New():FilterPrefixes( { "Detection Zone " } ):FilterOnce() + +Detection = DETECTION_ZONES:New( DetectionZones, coalition.side.BLUE ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.2 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCas( "Maykop CAS", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronBai( "Maykop BAI", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/AID-A2G-600 - Detection Zones and Attack Helicopters.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/AID-A2G-600 - Detection Zones and Attack Helicopters.miz new file mode 100644 index 0000000000..f2e2a077bb Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/AID-A2G-600 - Detection Zones and Attack Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-600 - Detection Zones and Attack Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/AID-A2G-601 - Detection Zones and Defense Limit.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/AID-A2G-601 - Detection Zones and Defense Limit.lua new file mode 100644 index 0000000000..0350aa57cb --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/AID-A2G-601 - Detection Zones and Defense Limit.lua @@ -0,0 +1,48 @@ +--- Detect and attack a set of enemy units using helicopters. +-- Name: AID-A2G-001 - Detection and Attack Helicopters +-- Author: FlightControl +-- Date Created: 02 Nov 2018 + + + +local DetectionZones = SET_ZONE:New():FilterPrefixes( { "Detection Zone " } ):FilterOnce() + +Detection = DETECTION_ZONES:New( DetectionZones, coalition.side.BLUE ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 200000 ) + +A2GDispatcher:SetDefenseLimit( 1 ) + +A2GDispatcher:SetTacticalDisplay( true ) + +-- Setup the squadrons. + +A2GDispatcher:SetSquadron( "Maykop SEAD", AIRBASE.Caucasus.Maykop_Khanskaya, { "CCCP SU-25T" }, 10 ) +A2GDispatcher:SetSquadronSead( "Maykop SEAD", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.2 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronCas( "Maykop CAS", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "CCCP KA-50" }, 10 ) +A2GDispatcher:SetSquadronBai( "Maykop BAI", 120, 250 ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/AID-A2G-601 - Detection Zones and Defense Limit.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/AID-A2G-601 - Detection Zones and Defense Limit.miz new file mode 100644 index 0000000000..b4a7906134 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/AID-A2G-601 - Detection Zones and Defense Limit.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-601 - Detection Zones and Defense Limit/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/AID-A2G-702 - Patrol and Engage Sound Check.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/AID-A2G-702 - Patrol and Engage Sound Check.lua new file mode 100644 index 0000000000..f710b92f23 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/AID-A2G-702 - Patrol and Engage Sound Check.lua @@ -0,0 +1,60 @@ +--- Sound check using patrol and engage for helicopters. +-- Author: FlightControl +-- Date Created: 14 Sep 2019 + +-- Define a SET_GROUP object that builds a collection of groups that define the recce network. +-- Here we build the network with all the groups that have a name starting with CCCP Recce. +DetectionSetGroup = SET_GROUP:New() +DetectionSetGroup:FilterPrefixes( { "US Recce" } ) +DetectionSetGroup:FilterStart() + +CCGroup = GROUP:FindByName( "HQ" ) +CC = COMMANDCENTER:New( CCGroup, "HQ" ) + +Detection = DETECTION_AREAS:New( DetectionSetGroup, 1000 ) + +-- Setup the A2A dispatcher, and initialize it. +A2GDispatcher = AI_A2G_DISPATCHER:New( Detection ) + +A2GDispatcher:SetCommandCenter( CC ) +A2GDispatcher:SetTacticalMenu( "Dispatchers", "A2G Tactical Situation" ) + +-- Add defense coordinates. +A2GDispatcher:AddDefenseCoordinate( "HQ", GROUP:FindByName( "HQ" ):GetCoordinate() ) + +A2GDispatcher:SetDefenseReactivityHigh() + +A2GDispatcher:SetDefenseRadius( 100000 ) + +A2GDispatcher:SetTacticalDisplay( false ) + +local PatrolZone = ZONE:New( "PatrolZone" ) + +-- Setup the squadrons. +A2GDispatcher:SetSquadron( "Maykop SEAD", "SEAD", { "US KA-50" }, 10 ) +A2GDispatcher:SetSquadronSeadPatrol( "Maykop SEAD", PatrolZone, 300, 500, 50, 80, 250, 300 ) +A2GDispatcher:SetSquadronPatrolInterval( "Maykop SEAD", 2, 30, 60, 1, "SEAD" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop SEAD" ) +A2GDispatcher:SetSquadronOverhead( "Maykop SEAD", 0.25 ) +A2GDispatcher:SetSquadronRadioFrequency( "Maykop SEAD", 124 ) + +A2GDispatcher:SetSquadron( "Maykop CAS", "CAS", { "US KA-50" }, 10 ) +A2GDispatcher:SetSquadronCasPatrol( "Maykop CAS", PatrolZone, 600, 700, 50, 80, 250, 300 ) +A2GDispatcher:SetSquadronPatrolInterval( "Maykop CAS", 2, 30, 60, 1, "CAS" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop CAS" ) +A2GDispatcher:SetSquadronOverhead( "Maykop CAS", 0.25 ) +A2GDispatcher:SetSquadronRadioFrequency( "Maykop CAS", 126 ) + +A2GDispatcher:SetSquadron( "Maykop BAI", "BAI", { "US KA-50" }, 10 ) +A2GDispatcher:SetSquadronBaiPatrol( "Maykop BAI", PatrolZone, 800, 900, 50, 80, 250, 300 ) +A2GDispatcher:SetSquadronPatrolInterval( "Maykop BAI", 2, 30, 60, 1, "BAI" ) +A2GDispatcher:SetSquadronTakeoffFromParkingHot( "Maykop BAI" ) +A2GDispatcher:SetSquadronOverhead( "Maykop BAI", 0.25 ) +A2GDispatcher:SetSquadronRadioFrequency( "Maykop BAI", 128 ) + +-- We set for each squadron a takeoff interval, as each helicopter will launch from a FARP. +-- This to prevent helicopters to clutter. +-- Each helicopter group is taking off the FARP in hot start. +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop SEAD", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop CAS", 60 ) +A2GDispatcher:SetSquadronTakeoffInterval( "Maykop BAI", 60 ) \ No newline at end of file diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/AID-A2G-702 - Patrol and Engage Sound Check.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/AID-A2G-702 - Patrol and Engage Sound Check.miz new file mode 100644 index 0000000000..ff2845bb86 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/AID-A2G-702 - Patrol and Engage Sound Check.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-702 - Patrol and Engage Sound Check/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.lua new file mode 100644 index 0000000000..b3f5f71659 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.lua @@ -0,0 +1,28 @@ + +Recce_Blue = SET_GROUP:New():FilterPrefixes( "RECCE" ):FilterStart() + +Detection_Blue = DETECTION_AREAS:New( Recce_Blue, 3000 ) + +A2G_Blue = AI_A2G_DISPATCHER:New(Detection_Blue) + +A2G_Blue:SetTacticalDisplay( true ) -- set on using true as a parameter + +DefenseCoordinate = GROUP:FindByName( "COMMAND" ):GetCoordinate() + +A2G_Blue:AddDefenseCoordinate( "Defense Point", DefenseCoordinate ) +A2G_Blue:SetDefenseRadius( 200000 ) -- in meters +A2G_Blue:SetDefenseReactivityHigh() -- we engage almost immediately + +A2G_Blue:SetSquadron( "SQ-1", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-AH-64D-ROCKETS", "A2G-DEFENSE-AH-64D-HELLFIRES" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-1", 200, 280, 160, 500 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-1", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-1" ) +A2G_Blue:SetSquadronOverhead( "SQ-1", 0.25 ) + +A2G_Blue:SetSquadron( "SQ-2", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-AH-SU-25T-SEAD" }, 6 ) +A2G_Blue:SetSquadronSead( "SQ-2", 600, 900, 1000, 2000 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-2", 2000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-2" ) +A2G_Blue:SetSquadronOverhead( "SQ-2", 0.5 ) + + diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.miz new file mode 100644 index 0000000000..d506dcb3f9 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-900 - A fun A2G Mission/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.lua new file mode 100644 index 0000000000..b3f5f71659 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-900 - A fun A2G Mission.lua @@ -0,0 +1,28 @@ + +Recce_Blue = SET_GROUP:New():FilterPrefixes( "RECCE" ):FilterStart() + +Detection_Blue = DETECTION_AREAS:New( Recce_Blue, 3000 ) + +A2G_Blue = AI_A2G_DISPATCHER:New(Detection_Blue) + +A2G_Blue:SetTacticalDisplay( true ) -- set on using true as a parameter + +DefenseCoordinate = GROUP:FindByName( "COMMAND" ):GetCoordinate() + +A2G_Blue:AddDefenseCoordinate( "Defense Point", DefenseCoordinate ) +A2G_Blue:SetDefenseRadius( 200000 ) -- in meters +A2G_Blue:SetDefenseReactivityHigh() -- we engage almost immediately + +A2G_Blue:SetSquadron( "SQ-1", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-AH-64D-ROCKETS", "A2G-DEFENSE-AH-64D-HELLFIRES" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-1", 200, 280, 160, 500 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-1", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-1" ) +A2G_Blue:SetSquadronOverhead( "SQ-1", 0.25 ) + +A2G_Blue:SetSquadron( "SQ-2", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-AH-SU-25T-SEAD" }, 6 ) +A2G_Blue:SetSquadronSead( "SQ-2", 600, 900, 1000, 2000 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-2", 2000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-2" ) +A2G_Blue:SetSquadronOverhead( "SQ-2", 0.5 ) + + diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-901 - A fun A2G Mission.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-901 - A fun A2G Mission.lua new file mode 100644 index 0000000000..090e4a6b2c --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-901 - A fun A2G Mission.lua @@ -0,0 +1,35 @@ + +Recce_Blue = SET_GROUP:New():FilterPrefixes( "RECCE" ):FilterStart() + +Detection_Blue = DETECTION_AREAS:New( Recce_Blue, 3000 ) + +A2G_Blue = AI_A2G_DISPATCHER:New(Detection_Blue) + +A2G_Blue:SetTacticalDisplay( true ) -- set on using true as a parameter + +A2G_Blue:AddDefenseCoordinate( "Command", GROUP:FindByName( "COMMAND" ):GetCoordinate() ) +A2G_Blue:AddDefenseCoordinate( "Home", GROUP:FindByName( "HOME" ):GetCoordinate() ) + + +A2G_Blue:SetDefenseRadius( 200000 ) -- in meters +A2G_Blue:SetDefenseReactivityHigh() -- we engage almost immediately + +A2G_Blue:SetSquadron( "SQ-1", AIRBASE.Caucasus.Senaki_Kolkhi, { "A2G-DEFENSE-HELO-001", "A2G-DEFENSE-HELO-002", "A2G-DEFENSE-HELO-003" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-1", 200, 280, 160, 500 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-1", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-1" ) +A2G_Blue:SetSquadronOverhead( "SQ-1", 0.25 ) + +A2G_Blue:SetSquadron( "SQ-2", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-SU-25T-SEAD" }, 10 ) +A2G_Blue:SetSquadronSead( "SQ-2", 600, 900, 1000, 2000 ) +A2G_Blue:SetSquadronTakeoffFromParkingHot( "SQ-2" ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingAtRunway( "SQ-2" ) +A2G_Blue:SetSquadronOverhead( "SQ-2", 0.5 ) + +A2G_Blue:SetSquadron( "SQ-3", AIRBASE.Caucasus.Kobuleti, { "A2G-DEFENSE-AJS37-CAS" }, 6 ) +A2G_Blue:SetSquadronBai( "SQ-3", 600, 900, 1000, 2000 ) +A2G_Blue:SetSquadronTakeoffFromParkingHot( "SQ-3" ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingAtRunway( "SQ-3" ) +A2G_Blue:SetSquadronOverhead( "SQ-3", 0.5 ) +A2G_Blue:SetSquadronBaiPatrol( "SQ-3", ZONE:New( "PatrolZone" ), 2000, 3000, 600, 800, 1000, 1400 ) +A2G_Blue:SetSquadronPatrolInterval( "SQ-3", 4, 30, 60, 1, "BAI" ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-901 - A fun A2G Mission.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-901 - A fun A2G Mission.miz new file mode 100644 index 0000000000..36f8bd5671 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/AID-A2G-901 - A fun A2G Mission.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-901 - A fun A2G Mission/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/AID-A2G-902 - A fun A2G Mission.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/AID-A2G-902 - A fun A2G Mission.lua new file mode 100644 index 0000000000..cda06f4b72 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/AID-A2G-902 - A fun A2G Mission.lua @@ -0,0 +1,44 @@ + +Recce_Blue = SET_GROUP:New():FilterPrefixes( "RECCE" ):FilterStart() + +Detection_Blue = DETECTION_AREAS:New( Recce_Blue, 3000 ) + +A2G_Blue = AI_A2G_DISPATCHER:New(Detection_Blue) + +A2G_Blue:SetTacticalDisplay( true ) -- set on using true as a parameter + +A2G_Blue:AddDefenseCoordinate( "Command", GROUP:FindByName( "COMMAND" ):GetCoordinate() ) +A2G_Blue:AddDefenseCoordinate( "Home", GROUP:FindByName( "HOME" ):GetCoordinate() ) + + +A2G_Blue:SetDefenseRadius( 350000 ) -- in meters +A2G_Blue:SetDefenseReactivityMedium() -- we engage almost immediately + +A2G_Blue:SetSquadron( "SQ-1", AIRBASE.Caucasus.Senaki_Kolkhi, { "A2G-DEFENSE-HELO-001", "A2G-DEFENSE-HELO-002", "A2G-DEFENSE-HELO-003" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-1", 200, 280, 160, 500 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-1", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-1" ) +A2G_Blue:SetSquadronOverhead( "SQ-1", 0.5 ) +A2G_Blue:SetSquadronGrouping( "SQ-1", 4 ) + +A2G_Blue:SetSquadron( "SQ-HELO", AIRBASE.Caucasus.Sukhumi_Babushara, { "A2G-DEFENSE-HELO-004", "A2G-DEFENSE-HELO-005", "A2G-DEFENSE-HELO-006" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-HELO", 200, 280, 1500, 2000 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-HELO", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-HELO" ) +A2G_Blue:SetSquadronOverhead( "SQ-HELO", 0.75 ) +A2G_Blue:SetSquadronGrouping( "SQ-HELO", 4 ) + +A2G_Blue:SetSquadron( "SQ-2", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-SU-25T-SEAD" }, 10 ) +A2G_Blue:SetSquadronSead( "SQ-2", 700, 1100, 2500, 4000 ) +A2G_Blue:SetSquadronTakeoffFromParkingHot( "SQ-2" ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingAtRunway( "SQ-2" ) +A2G_Blue:SetSquadronOverhead( "SQ-2", 0.5 ) + +A2G_Blue:SetSquadron( "SQ-AIR", AIRBASE.Caucasus.Kobuleti, { "A2G-DEFENSE-A-10C-CAS" }, 6 ) +A2G_Blue:SetSquadronBai( "SQ-AIR", 600, 900, 1000, 2000 ) +A2G_Blue:SetSquadronTakeoffFromParkingHot( "SQ-AIR" ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingAtRunway( "SQ-AIR" ) +A2G_Blue:SetSquadronOverhead( "SQ-AIR", 0.75 ) +A2G_Blue:SetSquadronBaiPatrol( "SQ-AIR", ZONE:New( "PatrolZone" ), 2000, 3000, 600, 800, 1000, 1400 ) +A2G_Blue:SetSquadronPatrolInterval( "SQ-AIR", 4, 30, 60, 1, "BAI" ) +A2G_Blue:SetSquadronGrouping( "SQ-AIR", 4 ) diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/AID-A2G-902 - A fun A2G Mission.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/AID-A2G-902 - A fun A2G Mission.miz new file mode 100644 index 0000000000..39f1deb7fc Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/AID-A2G-902 - A fun A2G Mission.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-902 - A fun A2G Mission/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/AID-A2G-903 - A fun A2G Mission.lua b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/AID-A2G-903 - A fun A2G Mission.lua new file mode 100644 index 0000000000..31108d19d3 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/AID-A2G-903 - A fun A2G Mission.lua @@ -0,0 +1,56 @@ + +Recce_Blue = SET_GROUP:New():FilterPrefixes( "RECCE" ):FilterStart() + +Detection_Blue = DETECTION_AREAS:New( Recce_Blue, 3000 ) + +A2G_Blue = AI_A2G_DISPATCHER:New(Detection_Blue) + +A2G_Blue:SetTacticalDisplay( true ) -- set on using true as a parameter + +A2G_Blue:AddDefenseCoordinate( "Command", GROUP:FindByName( "COMMAND" ):GetCoordinate() ) +A2G_Blue:AddDefenseCoordinate( "Home", GROUP:FindByName( "HOME" ):GetCoordinate() ) + + +A2G_Blue:SetDefenseRadius( 350000 ) -- in meters +A2G_Blue:SetDefenseReactivityMedium() -- we engage almost immediately + +A2G_Blue:SetSquadron( "SQ-HELO-BAI-1", AIRBASE.Caucasus.Senaki_Kolkhi, { "A2G-DEFENSE-HELO-001", "A2G-DEFENSE-HELO-002", "A2G-DEFENSE-HELO-003" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-HELO-BAI-1", 200, 280, 160, 500 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-HELO-BAI-1", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-HELO-BAI-1" ) +A2G_Blue:SetSquadronOverhead( "SQ-HELO-BAI-1", 0.5 ) +A2G_Blue:SetSquadronGrouping( "SQ-HELO-BAI-1", 4 ) + +A2G_Blue:SetSquadron( "SQ-HELO-BAI-2", AIRBASE.Caucasus.Sukhumi_Babushara, { "A2G-DEFENSE-HELO-004", "A2G-DEFENSE-HELO-005", "A2G-DEFENSE-HELO-006" }, 20 ) +A2G_Blue:SetSquadronBai( "SQ-HELO-BAI-2", 200, 280, 1500, 2000 ) +A2G_Blue:SetSquadronTakeoffInAir( "SQ-HELO-BAI-2", 1000 ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingNearAirbase( "SQ-HELO-BAI-2" ) +A2G_Blue:SetSquadronOverhead( "SQ-HELO-BAI-2", 0.75 ) +A2G_Blue:SetSquadronGrouping( "SQ-HELO-BAI-2", 4 ) + +A2G_Blue:SetSquadron( "SQ-SEAD", AIRBASE.Caucasus.Gudauta, { "A2G-DEFENSE-SU-25T-SEAD" }, 10 ) +A2G_Blue:SetSquadronSead( "SQ-SEAD", 700, 1100, 2500, 4000 ) +A2G_Blue:SetSquadronTakeoffFromParkingHot( "SQ-SEAD" ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingAtRunway( "SQ-SEAD" ) +A2G_Blue:SetSquadronOverhead( "SQ-SEAD", 1 ) +A2G_Blue:SetSquadronGrouping( "SQ-SEAD", 2 ) + +A2G_Blue:SetSquadron( "SQ-AIR-BAI", AIRBASE.Caucasus.Kobuleti, { "A2G-DEFENSE-A-10C" }, 6 ) +A2G_Blue:SetSquadronBai( "SQ-AIR-BAI", 600, 900, 1000, 2000 ) +A2G_Blue:SetSquadronTakeoffFromParkingHot( "SQ-AIR-BAI" ) -- altitude in meters when spawning in the air. +A2G_Blue:SetSquadronLandingAtRunway( "SQ-AIR-BAI" ) +A2G_Blue:SetSquadronOverhead( "SQ-AIR-BAI", 0.75 ) +A2G_Blue:SetSquadronBaiPatrol( "SQ-AIR-BAI", ZONE:New( "PatrolZone" ), 2000, 3000, 600, 800, 1000, 1400 ) +A2G_Blue:SetSquadronPatrolInterval( "SQ-AIR-BAI", 4, 30, 60, 1, "BAI" ) +A2G_Blue:SetSquadronGrouping( "SQ-AIR-BAI", 4 ) + + +-- A2G task dispatcher + +Command_Blue = COMMANDCENTER:New( GROUP:FindByName( "NATO HQ" ), "NATO HQ" ) + +Mission_Blue = MISSION:New( Command_Blue, "Invasion", "High", "Eliminate 5 targets", coalition.side.BLUE ) + +Players_Blue = SET_GROUP:New():FilterPrefixes( { "NATO Player" } ):FilterStart() + +A2G_Task_Blue = TASK_A2G_DISPATCHER:New( Mission_Blue, Players_Blue, Detection_Blue ) \ No newline at end of file diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/AID-A2G-903 - A fun A2G Mission.miz b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/AID-A2G-903 - A fun A2G Mission.miz new file mode 100644 index 0000000000..b36dce61f9 Binary files /dev/null and b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/AID-A2G-903 - A fun A2G Mission.miz differ diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/pack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/unpack.ps1 b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/AID - AI Dispatching/AID-A2G - AI A2G Dispatching/AID-A2G-903 - A fun A2G Mission/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-100 - APC - Pickup and Deploy/AID-CGO-100 - APC - Pickup and Deploy.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-100 - APC - Pickup and Deploy/AID-CGO-100 - APC - Pickup and Deploy.miz index 254f254b73..f485d9ae40 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-100 - APC - Pickup and Deploy/AID-CGO-100 - APC - Pickup and Deploy.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-100 - APC - Pickup and Deploy/AID-CGO-100 - APC - Pickup and Deploy.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-110 - APC - Deploy at Group Zones/AID-CGO-110 - APC - Deploy at Group Zones.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-110 - APC - Deploy at Group Zones/AID-CGO-110 - APC - Deploy at Group Zones.miz index 541360da70..3e94569490 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-110 - APC - Deploy at Group Zones/AID-CGO-110 - APC - Deploy at Group Zones.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-110 - APC - Deploy at Group Zones/AID-CGO-110 - APC - Deploy at Group Zones.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/AID-CGO-120 - APC - Pickup and Deploy Large.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/AID-CGO-120 - APC - Pickup and Deploy Large.miz index 1062d5df87..ebf60d8c45 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/AID-CGO-120 - APC - Pickup and Deploy Large.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/AID-CGO-120 - APC - Pickup and Deploy Large.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/pack.ps1 b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/pack.ps1 +++ b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/unpack.ps1 b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/unpack.ps1 index c208a31858..0206e08131 100644 --- a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/unpack.ps1 +++ b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-120 - APC - Pickup and Deploy Large/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-140 - APC - Event Handling/AID-CGO-140 - APC - Event Handling.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-140 - APC - Event Handling/AID-CGO-140 - APC - Event Handling.miz index 4ed4408652..75d4c5468d 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-140 - APC - Event Handling/AID-CGO-140 - APC - Event Handling.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-140 - APC - Event Handling/AID-CGO-140 - APC - Event Handling.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-150 - APC - Manpads against enemy helicopters/AID-CGO-150 - APC - Manpads against enemy helicopters.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-150 - APC - Manpads against enemy helicopters/AID-CGO-150 - APC - Manpads against enemy helicopters.miz index 92eb7582bb..d10806d090 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-150 - APC - Manpads against enemy helicopters/AID-CGO-150 - APC - Manpads against enemy helicopters.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-150 - APC - Manpads against enemy helicopters/AID-CGO-150 - APC - Manpads against enemy helicopters.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-151 - APC - Manpads and not defending the carrier/AID-CGO-151 - APC - Manpads and not defending the carrier.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-151 - APC - Manpads and not defending the carrier/AID-CGO-151 - APC - Manpads and not defending the carrier.miz index 5958ce28ee..7a47ebf00e 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-151 - APC - Manpads and not defending the carrier/AID-CGO-151 - APC - Manpads and not defending the carrier.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-151 - APC - Manpads and not defending the carrier/AID-CGO-151 - APC - Manpads and not defending the carrier.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-152 - APC - Defending the carrier/AID-CGO-152 - APC - Defending the carrier.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-152 - APC - Defending the carrier/AID-CGO-152 - APC - Defending the carrier.miz index 537b68e4d9..960007085f 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-152 - APC - Defending the carrier/AID-CGO-152 - APC - Defending the carrier.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-152 - APC - Defending the carrier/AID-CGO-152 - APC - Defending the carrier.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-160 - APC - Spawning of cargo objects/AID-CGO-160 - APC - Spawning of cargo objects.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-160 - APC - Spawning of cargo objects/AID-CGO-160 - APC - Spawning of cargo objects.miz index 7c653dde11..5456c5dec4 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-160 - APC - Spawning of cargo objects/AID-CGO-160 - APC - Spawning of cargo objects.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-160 - APC - Spawning of cargo objects/AID-CGO-160 - APC - Spawning of cargo objects.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-200 - Helicopter - Pickup and Deploy/AID-CGO-200 - Helicopter - Pickup and Deploy.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-200 - Helicopter - Pickup and Deploy/AID-CGO-200 - Helicopter - Pickup and Deploy.miz index feff6ad829..4a5cf6c1f9 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-200 - Helicopter - Pickup and Deploy/AID-CGO-200 - Helicopter - Pickup and Deploy.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-200 - Helicopter - Pickup and Deploy/AID-CGO-200 - Helicopter - Pickup and Deploy.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-201 - Helicopter - DeployZone Orbit/AID-CGO-201 - Helicopter - DeployZone Orbit.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-201 - Helicopter - DeployZone Orbit/AID-CGO-201 - Helicopter - DeployZone Orbit.miz index ed09a09f25..6f1b70b856 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-201 - Helicopter - DeployZone Orbit/AID-CGO-201 - Helicopter - DeployZone Orbit.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-201 - Helicopter - DeployZone Orbit/AID-CGO-201 - Helicopter - DeployZone Orbit.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-202 - Helicopter - Spawning of Helicopters/AID-CGO-202 - Helicopter - Spawning of Helicopters.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-202 - Helicopter - Spawning of Helicopters/AID-CGO-202 - Helicopter - Spawning of Helicopters.miz index eb5928d10d..95a96fbcdd 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-202 - Helicopter - Spawning of Helicopters/AID-CGO-202 - Helicopter - Spawning of Helicopters.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-202 - Helicopter - Spawning of Helicopters/AID-CGO-202 - Helicopter - Spawning of Helicopters.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-203 - Helicopter - Spawning of Infantry/AID-CGO-203 - Helicopter - Spawning of Infantry.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-203 - Helicopter - Spawning of Infantry/AID-CGO-203 - Helicopter - Spawning of Infantry.miz index 95d7e4691f..e413cfe5ec 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-203 - Helicopter - Spawning of Infantry/AID-CGO-203 - Helicopter - Spawning of Infantry.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-203 - Helicopter - Spawning of Infantry/AID-CGO-203 - Helicopter - Spawning of Infantry.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-210 - Helicopter - Home/AID-CGO-210 - Helicopter - Home.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-210 - Helicopter - Home/AID-CGO-210 - Helicopter - Home.miz index aaa8e054e3..3f2f0fd127 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-210 - Helicopter - Home/AID-CGO-210 - Helicopter - Home.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-210 - Helicopter - Home/AID-CGO-210 - Helicopter - Home.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-220 - Helicopter - Randomize Coordinates/AID-CGO-220 - Helicopter - Randomize Coordinates.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-220 - Helicopter - Randomize Coordinates/AID-CGO-220 - Helicopter - Randomize Coordinates.miz index a50cf5a498..d8c7d5e0e5 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-220 - Helicopter - Randomize Coordinates/AID-CGO-220 - Helicopter - Randomize Coordinates.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-220 - Helicopter - Randomize Coordinates/AID-CGO-220 - Helicopter - Randomize Coordinates.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-230 - Helicopter - DeployZone Probability/AID-CGO-230 - Helicopter - DeployZone Probability.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-230 - Helicopter - DeployZone Probability/AID-CGO-230 - Helicopter - DeployZone Probability.miz index 24d3df3f22..4ed7ffb1bc 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-230 - Helicopter - DeployZone Probability/AID-CGO-230 - Helicopter - DeployZone Probability.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-230 - Helicopter - DeployZone Probability/AID-CGO-230 - Helicopter - DeployZone Probability.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-240 - Helicopter - Unloaded Event Handling/AID-CGO-240 - Helicopter - Unloaded Event Handling.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-240 - Helicopter - Unloaded Event Handling/AID-CGO-240 - Helicopter - Unloaded Event Handling.miz index cd04688452..38a0b32c31 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-240 - Helicopter - Unloaded Event Handling/AID-CGO-240 - Helicopter - Unloaded Event Handling.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-240 - Helicopter - Unloaded Event Handling/AID-CGO-240 - Helicopter - Unloaded Event Handling.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-250 - Helicopter - Front-Line Enforcements/AID-CGO-250 - Helicopter - Front-Line Enforcements.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-250 - Helicopter - Front-Line Enforcements/AID-CGO-250 - Helicopter - Front-Line Enforcements.miz index 263d4472f2..d123f574ca 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-250 - Helicopter - Front-Line Enforcements/AID-CGO-250 - Helicopter - Front-Line Enforcements.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-250 - Helicopter - Front-Line Enforcements/AID-CGO-250 - Helicopter - Front-Line Enforcements.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-300 - Airplane - Pickup and Deploy/AID-CGO-300 - Airplane - Pickup and Deploy.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-300 - Airplane - Pickup and Deploy/AID-CGO-300 - Airplane - Pickup and Deploy.miz index 102093d1b8..174deeaf36 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-300 - Airplane - Pickup and Deploy/AID-CGO-300 - Airplane - Pickup and Deploy.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-300 - Airplane - Pickup and Deploy/AID-CGO-300 - Airplane - Pickup and Deploy.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-310 - Airplane - Pickup and Deploy Multiple/AID-CGO-310 - Airplane - Pickup and Deploy Multiple.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-310 - Airplane - Pickup and Deploy Multiple/AID-CGO-310 - Airplane - Pickup and Deploy Multiple.miz index 7983c6357d..5f2b8a4c3c 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-310 - Airplane - Pickup and Deploy Multiple/AID-CGO-310 - Airplane - Pickup and Deploy Multiple.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-310 - Airplane - Pickup and Deploy Multiple/AID-CGO-310 - Airplane - Pickup and Deploy Multiple.miz differ diff --git a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-340 - Airplane - Event Handling/AID-CGO-340 - Airplane - Event Handling.miz b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-340 - Airplane - Event Handling/AID-CGO-340 - Airplane - Event Handling.miz index 6ff18d41f3..b55d9e8d23 100644 Binary files a/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-340 - Airplane - Event Handling/AID-CGO-340 - Airplane - Event Handling.miz and b/AID - AI Dispatching/AID-CGO - AI Cargo Dispatching/AID-CGO-340 - Airplane - Event Handling/AID-CGO-340 - Airplane - Event Handling.miz differ diff --git a/BAI - Battlefield Air Interdiction/BAI-001 - BAI in a Zone by Airplane Group/BAI-001 - BAI in a Zone by Airplane Group.miz b/BAI - Battlefield Air Interdiction/BAI-001 - BAI in a Zone by Airplane Group/BAI-001 - BAI in a Zone by Airplane Group.miz index ef8839055d..263b20344c 100644 Binary files a/BAI - Battlefield Air Interdiction/BAI-001 - BAI in a Zone by Airplane Group/BAI-001 - BAI in a Zone by Airplane Group.miz and b/BAI - Battlefield Air Interdiction/BAI-001 - BAI in a Zone by Airplane Group/BAI-001 - BAI in a Zone by Airplane Group.miz differ diff --git a/BAI - Battlefield Air Interdiction/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed.miz b/BAI - Battlefield Air Interdiction/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed.miz index 7365b0f591..5fe54f3a5f 100644 Binary files a/BAI - Battlefield Air Interdiction/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed.miz and b/BAI - Battlefield Air Interdiction/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed/BAI-002 - BAI in a Zone by Airplane Group - Engage with Speed.miz differ diff --git a/BAI - Battlefield Air Interdiction/BAI-004 - BAI in a Zone by Airplane Group - Test Abort/BAI-004 - BAI in a Zone by Airplane Group - Test Abort.miz b/BAI - Battlefield Air Interdiction/BAI-004 - BAI in a Zone by Airplane Group - Test Abort/BAI-004 - BAI in a Zone by Airplane Group - Test Abort.miz index c190b09c12..ac0228df84 100644 Binary files a/BAI - Battlefield Air Interdiction/BAI-004 - BAI in a Zone by Airplane Group - Test Abort/BAI-004 - BAI in a Zone by Airplane Group - Test Abort.miz and b/BAI - Battlefield Air Interdiction/BAI-004 - BAI in a Zone by Airplane Group - Test Abort/BAI-004 - BAI in a Zone by Airplane Group - Test Abort.miz differ diff --git a/BAI - Battlefield Air Interdiction/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend.miz b/BAI - Battlefield Air Interdiction/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend.miz index 5b2dc4d8ed..32d12c4be7 100644 Binary files a/BAI - Battlefield Air Interdiction/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend.miz and b/BAI - Battlefield Air Interdiction/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend/BAI-005 - BAI in a Zone by Airplane Group - Engage with WeaponExpend.miz differ diff --git a/BAI - Battlefield Air Interdiction/BAI-100 - BAI of a Bridge/BAI-100 - BAI of a Bridge.miz b/BAI - Battlefield Air Interdiction/BAI-100 - BAI of a Bridge/BAI-100 - BAI of a Bridge.miz index 82108b5684..dcefdff8e2 100644 Binary files a/BAI - Battlefield Air Interdiction/BAI-100 - BAI of a Bridge/BAI-100 - BAI of a Bridge.miz and b/BAI - Battlefield Air Interdiction/BAI-100 - BAI of a Bridge/BAI-100 - BAI of a Bridge.miz differ diff --git a/CAP - Combat Air Patrol/CAP-001 - Combat Air Patrol/CAP-001 - Combat Air Patrol.miz b/CAP - Combat Air Patrol/CAP-001 - Combat Air Patrol/CAP-001 - Combat Air Patrol.miz index 80644e1580..8dcf5ddcd0 100644 Binary files a/CAP - Combat Air Patrol/CAP-001 - Combat Air Patrol/CAP-001 - Combat Air Patrol.miz and b/CAP - Combat Air Patrol/CAP-001 - Combat Air Patrol/CAP-001 - Combat Air Patrol.miz differ diff --git a/CAP - Combat Air Patrol/CAP-010 - CAP and Engage within Range/CAP-010 - CAP and Engage within Range.miz b/CAP - Combat Air Patrol/CAP-010 - CAP and Engage within Range/CAP-010 - CAP and Engage within Range.miz index 6fda6a17b9..b1357a7f57 100644 Binary files a/CAP - Combat Air Patrol/CAP-010 - CAP and Engage within Range/CAP-010 - CAP and Engage within Range.miz and b/CAP - Combat Air Patrol/CAP-010 - CAP and Engage within Range/CAP-010 - CAP and Engage within Range.miz differ diff --git a/CAP - Combat Air Patrol/CAP-011 - CAP and Engage within Zone/CAP-011 - CAP and Engage within Zone.miz b/CAP - Combat Air Patrol/CAP-011 - CAP and Engage within Zone/CAP-011 - CAP and Engage within Zone.miz index d074935b17..a0b2838104 100644 Binary files a/CAP - Combat Air Patrol/CAP-011 - CAP and Engage within Zone/CAP-011 - CAP and Engage within Zone.miz and b/CAP - Combat Air Patrol/CAP-011 - CAP and Engage within Zone/CAP-011 - CAP and Engage within Zone.miz differ diff --git a/CAP - Combat Air Patrol/CAP-012 - CAP - Test Abort/CAP-012 - CAP - Test Abort.miz b/CAP - Combat Air Patrol/CAP-012 - CAP - Test Abort/CAP-012 - CAP - Test Abort.miz index 742f174fb5..dfc9a6354f 100644 Binary files a/CAP - Combat Air Patrol/CAP-012 - CAP - Test Abort/CAP-012 - CAP - Test Abort.miz and b/CAP - Combat Air Patrol/CAP-012 - CAP - Test Abort/CAP-012 - CAP - Test Abort.miz differ diff --git a/CAP - Combat Air Patrol/CAP-020 - Combat Air Patrol RTB Test/CAP-020 - Combat Air Patrol RTB Test.miz b/CAP - Combat Air Patrol/CAP-020 - Combat Air Patrol RTB Test/CAP-020 - Combat Air Patrol RTB Test.miz index 74b2cb72b6..2a048030d4 100644 Binary files a/CAP - Combat Air Patrol/CAP-020 - Combat Air Patrol RTB Test/CAP-020 - Combat Air Patrol RTB Test.miz and b/CAP - Combat Air Patrol/CAP-020 - Combat Air Patrol RTB Test/CAP-020 - Combat Air Patrol RTB Test.miz differ diff --git a/CAP - Combat Air Patrol/CAP-100 - AI_A2A_CAP - Normal CAP/CAP-100 - AI_A2A_CAP - Normal CAP.miz b/CAP - Combat Air Patrol/CAP-100 - AI_A2A_CAP - Normal CAP/CAP-100 - AI_A2A_CAP - Normal CAP.miz index 73ef31f0bd..4205efa49b 100644 Binary files a/CAP - Combat Air Patrol/CAP-100 - AI_A2A_CAP - Normal CAP/CAP-100 - AI_A2A_CAP - Normal CAP.miz and b/CAP - Combat Air Patrol/CAP-100 - AI_A2A_CAP - Normal CAP/CAP-100 - AI_A2A_CAP - Normal CAP.miz differ diff --git a/CAS - Close Air Support/CAS-001 - CAS in a Zone by Airplane Group/CAS-001 - CAS in a Zone by Airplane Group.miz b/CAS - Close Air Support/CAS-001 - CAS in a Zone by Airplane Group/CAS-001 - CAS in a Zone by Airplane Group.miz index 9ecd7d3d62..b61c3a91c5 100644 Binary files a/CAS - Close Air Support/CAS-001 - CAS in a Zone by Airplane Group/CAS-001 - CAS in a Zone by Airplane Group.miz and b/CAS - Close Air Support/CAS-001 - CAS in a Zone by Airplane Group/CAS-001 - CAS in a Zone by Airplane Group.miz differ diff --git a/CAS - Close Air Support/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed.miz b/CAS - Close Air Support/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed.miz index ddf00c9140..7a4e24fde3 100644 Binary files a/CAS - Close Air Support/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed.miz and b/CAS - Close Air Support/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed/CAS-002 - CAS in a Zone by Airplane Group - Engage with Speed.miz differ diff --git a/CAS - Close Air Support/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude.miz b/CAS - Close Air Support/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude.miz index 70a9ceb2f5..101a40429a 100644 Binary files a/CAS - Close Air Support/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude.miz and b/CAS - Close Air Support/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude/CAS-003 - CAS in a Zone by Airplane Group - Engage with Speed and Altitude.miz differ diff --git a/CAS - Close Air Support/CAS-004 - CAS in a Zone by Airplane Group - Test Abort/CAS-004 - CAS in a Zone by Airplane Group - Test Abort.miz b/CAS - Close Air Support/CAS-004 - CAS in a Zone by Airplane Group - Test Abort/CAS-004 - CAS in a Zone by Airplane Group - Test Abort.miz index 7d775df5c9..558ddf781c 100644 Binary files a/CAS - Close Air Support/CAS-004 - CAS in a Zone by Airplane Group - Test Abort/CAS-004 - CAS in a Zone by Airplane Group - Test Abort.miz and b/CAS - Close Air Support/CAS-004 - CAS in a Zone by Airplane Group - Test Abort/CAS-004 - CAS in a Zone by Airplane Group - Test Abort.miz differ diff --git a/CAS - Close Air Support/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend.miz b/CAS - Close Air Support/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend.miz index 9ad2003531..5e2cd6fc10 100644 Binary files a/CAS - Close Air Support/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend.miz and b/CAS - Close Air Support/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend/CAS-005 - CAS in a Zone by Airplane Group - Engage with WeaponExpend.miz differ diff --git a/CAS - Close Air Support/CAS-010 - CAS in a Zone by Helicopter/CAS-010 - CAS in a Zone by Helicopter.miz b/CAS - Close Air Support/CAS-010 - CAS in a Zone by Helicopter/CAS-010 - CAS in a Zone by Helicopter.miz index 58a540033b..ee48fbf45d 100644 Binary files a/CAS - Close Air Support/CAS-010 - CAS in a Zone by Helicopter/CAS-010 - CAS in a Zone by Helicopter.miz and b/CAS - Close Air Support/CAS-010 - CAS in a Zone by Helicopter/CAS-010 - CAS in a Zone by Helicopter.miz differ diff --git a/CAS - Close Air Support/CAS-011 - CAS in a Zone by Helicopter Group/CAS-011 - CAS in a Zone by Helicopter Group.miz b/CAS - Close Air Support/CAS-011 - CAS in a Zone by Helicopter Group/CAS-011 - CAS in a Zone by Helicopter Group.miz index 4c6814d675..189fb22bb4 100644 Binary files a/CAS - Close Air Support/CAS-011 - CAS in a Zone by Helicopter Group/CAS-011 - CAS in a Zone by Helicopter Group.miz and b/CAS - Close Air Support/CAS-011 - CAS in a Zone by Helicopter Group/CAS-011 - CAS in a Zone by Helicopter Group.miz differ diff --git a/CAS - Close Air Support/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups.miz b/CAS - Close Air Support/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups.miz index f52f82f6b5..12320c6966 100644 Binary files a/CAS - Close Air Support/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups.miz and b/CAS - Close Air Support/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups/CAS-111 - Multiple CAS in 1 Radius Zone by Helicopter and AirPlane Groups.miz differ diff --git a/CAZ - Capture Zones/CAZ-001 - Capture Zone/CAZ-001 - Capture Zone.miz b/CAZ - Capture Zones/CAZ-001 - Capture Zone/CAZ-001 - Capture Zone.miz index d2dfb18f9b..27cad870d7 100644 Binary files a/CAZ - Capture Zones/CAZ-001 - Capture Zone/CAZ-001 - Capture Zone.miz and b/CAZ - Capture Zones/CAZ-001 - Capture Zone/CAZ-001 - Capture Zone.miz differ diff --git a/CAZ - Capture Zones/CAZ-002 - Attack Zone/CAZ-002 - Attack Zone.lua b/CAZ - Capture Zones/CAZ-002 - Attack Zone/CAZ-002 - Attack Zone.lua new file mode 100644 index 0000000000..97d158449e --- /dev/null +++ b/CAZ - Capture Zones/CAZ-002 - Attack Zone/CAZ-002 - Attack Zone.lua @@ -0,0 +1,110 @@ +--- +-- Name: CAZ-001 - Capture Zone +-- Author: FlightControl +-- Date Created: 13 January 2017 +-- +-- # Situation: +-- +-- # Test cases: +-- + +do -- Setup the Command Centers + + RU_CC = COMMANDCENTER:New( GROUP:FindByName( "REDHQ" ), "Russia HQ" ) + US_CC = COMMANDCENTER:New( GROUP:FindByName( "BLUEHQ" ), "USA HQ" ) + +end + +do -- Missions + + US_Mission_EchoBay = MISSION:New( US_CC, "Echo Bay", "Primary", + "Welcome trainee. The airport Groom Lake in Echo Bay needs to be captured.\n" .. + "There are five random capture zones located at the airbase.\n" .. + "Move to one of the capture zones, destroy the fuel tanks in the capture zone, " .. + "and occupy each capture zone with a platoon.\n " .. + "Your orders are to hold position until all capture zones are taken.\n" .. + "Use the map (F10) for a clear indication of the location of each capture zone.\n" .. + "Note that heavy resistance can be expected at the airbase!\n" .. + "Mission 'Echo Bay' is complete when all five capture zones are taken, and held for at least 5 minutes!" + , coalition.side.RED) + + US_Score = SCORING:New( "CAZ-001 - Capture Zone" ) + + US_Mission_EchoBay:AddScoring( US_Score ) + + US_Mission_EchoBay:Start() + +end + + + + + + +CaptureZone = ZONE:New( "CaptureZone" ) + +ZoneCaptureCoalition = ZONE_CAPTURE_COALITION:New( CaptureZone, coalition.side.RED ) + + +--- @param Functional.ZoneCaptureCoalition#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterGuarded( From, Event, To ) + if From ~= To then + local Coalition = self:GetCoalition() + self:E( { Coalition = Coalition } ) + if Coalition == coalition.side.BLUE then + ZoneCaptureCoalition:Smoke( SMOKECOLOR.Blue ) + US_CC:MessageTypeToCoalition( string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + else + ZoneCaptureCoalition:Smoke( SMOKECOLOR.Red ) + RU_CC:MessageTypeToCoalition( string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + US_CC:MessageTypeToCoalition( string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + end + end +end + +--- @param Functional.Protect#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterEmpty() + ZoneCaptureCoalition:Smoke( SMOKECOLOR.Green ) + US_CC:MessageTypeToCoalition( string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) +end + + +--- @param Functional.Protect#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterAttacked() + ZoneCaptureCoalition:Smoke( SMOKECOLOR.White ) + local Coalition = self:GetCoalition() + self:E({Coalition = Coalition}) + if Coalition == coalition.side.BLUE then + US_CC:MessageTypeToCoalition( string.format( "%s is under attack by Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + else + RU_CC:MessageTypeToCoalition( string.format( "%s is under attack by the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + US_CC:MessageTypeToCoalition( string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + end +end + +--- @param Functional.Protect#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterCaptured() + local Coalition = self:GetCoalition() + self:E({Coalition = Coalition}) + if Coalition == coalition.side.BLUE then + RU_CC:MessageTypeToCoalition( string.format( "%s is captured by the USA, we lost it!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + US_CC:MessageTypeToCoalition( string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + else + US_CC:MessageTypeToCoalition( string.format( "%s is captured by Russia, we lost it!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + end + + self:AddScore( "Captured", "Zone captured: Extra points granted.", 200 ) + + self:__Guard( 30 ) +end + +ZoneCaptureCoalition:__Guard( 1 ) + +ZoneCaptureCoalition:Start( 30, 30 ) + + + diff --git a/CAZ - Capture Zones/CAZ-002 - Attack Zone/CAZ-002 - Attack Zone.miz b/CAZ - Capture Zones/CAZ-002 - Attack Zone/CAZ-002 - Attack Zone.miz new file mode 100644 index 0000000000..eb59c91087 Binary files /dev/null and b/CAZ - Capture Zones/CAZ-002 - Attack Zone/CAZ-002 - Attack Zone.miz differ diff --git a/CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 b/CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 b/CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/CAZ - Capture Zones/CAZ-500 - Task Capture Zone/CAZ-500 - Task Capture Zone.miz b/CAZ - Capture Zones/CAZ-500 - Task Capture Zone/CAZ-500 - Task Capture Zone.miz index 061e0a8d80..eb9ee7817a 100644 Binary files a/CAZ - Capture Zones/CAZ-500 - Task Capture Zone/CAZ-500 - Task Capture Zone.miz and b/CAZ - Capture Zones/CAZ-500 - Task Capture Zone/CAZ-500 - Task Capture Zone.miz differ diff --git a/CGO - Cargo/CGO-001 - Unit Boarding/CGO-001 - Unit Boarding.miz b/CGO - Cargo/CGO-001 - Unit Boarding/CGO-001 - Unit Boarding.miz index 884669cb6c..872badb81b 100644 Binary files a/CGO - Cargo/CGO-001 - Unit Boarding/CGO-001 - Unit Boarding.miz and b/CGO - Cargo/CGO-001 - Unit Boarding/CGO-001 - Unit Boarding.miz differ diff --git a/CGO - Cargo/CGO-002 - Unit Unboarding/CGO-002 - Unit Unboarding.miz b/CGO - Cargo/CGO-002 - Unit Unboarding/CGO-002 - Unit Unboarding.miz index e7c5877ec1..3206868913 100644 Binary files a/CGO - Cargo/CGO-002 - Unit Unboarding/CGO-002 - Unit Unboarding.miz and b/CGO - Cargo/CGO-002 - Unit Unboarding/CGO-002 - Unit Unboarding.miz differ diff --git a/CGO - Cargo/CGO-003 - Unit Transferring/CGO-003 - Unit Transferring.miz b/CGO - Cargo/CGO-003 - Unit Transferring/CGO-003 - Unit Transferring.miz index 990ec59526..2b8a86391c 100644 Binary files a/CGO - Cargo/CGO-003 - Unit Transferring/CGO-003 - Unit Transferring.miz and b/CGO - Cargo/CGO-003 - Unit Transferring/CGO-003 - Unit Transferring.miz differ diff --git a/CGO - Cargo/CGO-101 - Group Boarding/CGO-101 - Group Boarding.miz b/CGO - Cargo/CGO-101 - Group Boarding/CGO-101 - Group Boarding.miz index b0effd0528..acf0c8446d 100644 Binary files a/CGO - Cargo/CGO-101 - Group Boarding/CGO-101 - Group Boarding.miz and b/CGO - Cargo/CGO-101 - Group Boarding/CGO-101 - Group Boarding.miz differ diff --git a/CGO - Cargo/CGO-102 - Group Unboarding/CGO-102 - Group Unboarding.miz b/CGO - Cargo/CGO-102 - Group Unboarding/CGO-102 - Group Unboarding.miz index 8b8d758a10..4f95a2a085 100644 Binary files a/CGO - Cargo/CGO-102 - Group Unboarding/CGO-102 - Group Unboarding.miz and b/CGO - Cargo/CGO-102 - Group Unboarding/CGO-102 - Group Unboarding.miz differ diff --git a/CGO - Cargo/CGO-103 - Group Transferring/CGO-103 - Group Transferring.miz b/CGO - Cargo/CGO-103 - Group Transferring/CGO-103 - Group Transferring.miz index b05d13ca76..5a5c9c7cd3 100644 Binary files a/CGO - Cargo/CGO-103 - Group Transferring/CGO-103 - Group Transferring.miz and b/CGO - Cargo/CGO-103 - Group Transferring/CGO-103 - Group Transferring.miz differ diff --git a/CGO - Cargo/CGO-110 - Group Respawn/CGO-110 - Group Respawn.miz b/CGO - Cargo/CGO-110 - Group Respawn/CGO-110 - Group Respawn.miz index 72b1706c52..039d066000 100644 Binary files a/CGO - Cargo/CGO-110 - Group Respawn/CGO-110 - Group Respawn.miz and b/CGO - Cargo/CGO-110 - Group Respawn/CGO-110 - Group Respawn.miz differ diff --git a/CGO - Cargo/CGO-201 - Package Boarding/CGO-201 - Package Boarding.miz b/CGO - Cargo/CGO-201 - Package Boarding/CGO-201 - Package Boarding.miz index 304680d373..4c6700b22c 100644 Binary files a/CGO - Cargo/CGO-201 - Package Boarding/CGO-201 - Package Boarding.miz and b/CGO - Cargo/CGO-201 - Package Boarding/CGO-201 - Package Boarding.miz differ diff --git a/CGO - Cargo/CGO-202 - Package Unboarding/CGO-202 - Package Unboarding.miz b/CGO - Cargo/CGO-202 - Package Unboarding/CGO-202 - Package Unboarding.miz index 6b7839ab36..f7c0806605 100644 Binary files a/CGO - Cargo/CGO-202 - Package Unboarding/CGO-202 - Package Unboarding.miz and b/CGO - Cargo/CGO-202 - Package Unboarding/CGO-202 - Package Unboarding.miz differ diff --git a/CGO - Cargo/CGO-300 - Crate Boarding/CGO-300 - Crate Boarding.miz b/CGO - Cargo/CGO-300 - Crate Boarding/CGO-300 - Crate Boarding.miz index d288ef4407..c023ed0fff 100644 Binary files a/CGO - Cargo/CGO-300 - Crate Boarding/CGO-300 - Crate Boarding.miz and b/CGO - Cargo/CGO-300 - Crate Boarding/CGO-300 - Crate Boarding.miz differ diff --git a/CGO - Cargo/CGO-900 - Cargo sets/CGO-900 - Cargo sets.miz b/CGO - Cargo/CGO-900 - Cargo sets/CGO-900 - Cargo sets.miz index 6501cf74fb..29885223c0 100644 Binary files a/CGO - Cargo/CGO-900 - Cargo sets/CGO-900 - Cargo sets.miz and b/CGO - Cargo/CGO-900 - Cargo sets/CGO-900 - Cargo sets.miz differ diff --git a/CLA - CleanUp Airbase/CLA-001 - CleanUp Airbase/CLA-001 - CleanUp Airbase.miz b/CLA - CleanUp Airbase/CLA-001 - CleanUp Airbase/CLA-001 - CleanUp Airbase.miz index 9e3d6cbda2..c73cdb5f5c 100644 Binary files a/CLA - CleanUp Airbase/CLA-001 - CleanUp Airbase/CLA-001 - CleanUp Airbase.miz and b/CLA - CleanUp Airbase/CLA-001 - CleanUp Airbase/CLA-001 - CleanUp Airbase.miz differ diff --git a/DEM - Demo Missions/GOV - Gori Valley/GOV - Gori Valley.miz b/DEM - Demo Missions/GOV - Gori Valley/GOV - Gori Valley.miz index 5ff78f1645..e61d97aff7 100644 Binary files a/DEM - Demo Missions/GOV - Gori Valley/GOV - Gori Valley.miz and b/DEM - Demo Missions/GOV - Gori Valley/GOV - Gori Valley.miz differ diff --git a/DEM - Demo Missions/MED - Medical Transport/MED - Medical Transport.miz b/DEM - Demo Missions/MED - Medical Transport/MED - Medical Transport.miz index a58a355fc7..ba17756380 100644 Binary files a/DEM - Demo Missions/MED - Medical Transport/MED - Medical Transport.miz and b/DEM - Demo Missions/MED - Medical Transport/MED - Medical Transport.miz differ diff --git a/DES - Designation/DES-010 - Designation of AREAS - Threat Level Prioritization/DES-010 - Designation of AREAS - Threat Level Prioritization.miz b/DES - Designation/DES-010 - Designation of AREAS - Threat Level Prioritization/DES-010 - Designation of AREAS - Threat Level Prioritization.miz index ac4593d916..9daae3c860 100644 Binary files a/DES - Designation/DES-010 - Designation of AREAS - Threat Level Prioritization/DES-010 - Designation of AREAS - Threat Level Prioritization.miz and b/DES - Designation/DES-010 - Designation of AREAS - Threat Level Prioritization/DES-010 - Designation of AREAS - Threat Level Prioritization.miz differ diff --git a/DES - Designation/DES-011 - Designation of AREAS - Empty Set with Threat Levels/DES-011 - Designation of AREAS - Empty Set with Threat Levels.miz b/DES - Designation/DES-011 - Designation of AREAS - Empty Set with Threat Levels/DES-011 - Designation of AREAS - Empty Set with Threat Levels.miz index 3a9bbf5637..c46036673f 100644 Binary files a/DES - Designation/DES-011 - Designation of AREAS - Empty Set with Threat Levels/DES-011 - Designation of AREAS - Empty Set with Threat Levels.miz and b/DES - Designation/DES-011 - Designation of AREAS - Empty Set with Threat Levels/DES-011 - Designation of AREAS - Empty Set with Threat Levels.miz differ diff --git a/DES - Designation/DES-020 - Designation of AREAS - Status Menu Flash Activate/DES-020 - Designation of AREAS - Status Menu Flash Activate.miz b/DES - Designation/DES-020 - Designation of AREAS - Status Menu Flash Activate/DES-020 - Designation of AREAS - Status Menu Flash Activate.miz index 168577e87c..22975bb074 100644 Binary files a/DES - Designation/DES-020 - Designation of AREAS - Status Menu Flash Activate/DES-020 - Designation of AREAS - Status Menu Flash Activate.miz and b/DES - Designation/DES-020 - Designation of AREAS - Status Menu Flash Activate/DES-020 - Designation of AREAS - Status Menu Flash Activate.miz differ diff --git a/DES - Designation/DES-100 - UNITS - Night Test/DES-100 - UNITS - Night Test.miz b/DES - Designation/DES-100 - UNITS - Night Test/DES-100 - UNITS - Night Test.miz index acef3d673f..1005f7767f 100644 Binary files a/DES - Designation/DES-100 - UNITS - Night Test/DES-100 - UNITS - Night Test.miz and b/DES - Designation/DES-100 - UNITS - Night Test/DES-100 - UNITS - Night Test.miz differ diff --git a/DES - Designation/DES-101 - UNITS - Day Test/DES-101 - UNITS - Day Test.miz b/DES - Designation/DES-101 - UNITS - Day Test/DES-101 - UNITS - Day Test.miz index 3239b6afae..8858d28c2d 100644 Binary files a/DES - Designation/DES-101 - UNITS - Day Test/DES-101 - UNITS - Day Test.miz and b/DES - Designation/DES-101 - UNITS - Day Test/DES-101 - UNITS - Day Test.miz differ diff --git a/DES - Designation/DES-110 - UNITS - Stress Test/DES-110 - UNITS - Stress Test.miz b/DES - Designation/DES-110 - UNITS - Stress Test/DES-110 - UNITS - Stress Test.miz index 8617ff2df2..a00678df25 100644 Binary files a/DES - Designation/DES-110 - UNITS - Stress Test/DES-110 - UNITS - Stress Test.miz and b/DES - Designation/DES-110 - UNITS - Stress Test/DES-110 - UNITS - Stress Test.miz differ diff --git a/DES - Designation/DES-200 - AREAS - Night Test/DES-200 - AREAS - Night Test.miz b/DES - Designation/DES-200 - AREAS - Night Test/DES-200 - AREAS - Night Test.miz index a5f8747a97..fa134c85b6 100644 Binary files a/DES - Designation/DES-200 - AREAS - Night Test/DES-200 - AREAS - Night Test.miz and b/DES - Designation/DES-200 - AREAS - Night Test/DES-200 - AREAS - Night Test.miz differ diff --git a/DES - Designation/DES-200 - AREAS - Night Test/pack.ps1 b/DES - Designation/DES-200 - AREAS - Night Test/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/DES - Designation/DES-200 - AREAS - Night Test/pack.ps1 +++ b/DES - Designation/DES-200 - AREAS - Night Test/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/DES - Designation/DES-200 - AREAS - Night Test/unpack.ps1 b/DES - Designation/DES-200 - AREAS - Night Test/unpack.ps1 index c208a31858..0206e08131 100644 --- a/DES - Designation/DES-200 - AREAS - Night Test/unpack.ps1 +++ b/DES - Designation/DES-200 - AREAS - Night Test/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DES - Designation/DES-201 - AREAS - Day Test/DES-201 - AREAS - Day Test.miz b/DES - Designation/DES-201 - AREAS - Day Test/DES-201 - AREAS - Day Test.miz index 658f6710ea..dfd71613e4 100644 Binary files a/DES - Designation/DES-201 - AREAS - Day Test/DES-201 - AREAS - Day Test.miz and b/DES - Designation/DES-201 - AREAS - Day Test/DES-201 - AREAS - Day Test.miz differ diff --git a/DES - Designation/DES-201 - AREAS - Day Test/pack.ps1 b/DES - Designation/DES-201 - AREAS - Day Test/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/DES - Designation/DES-201 - AREAS - Day Test/pack.ps1 +++ b/DES - Designation/DES-201 - AREAS - Day Test/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/DES - Designation/DES-201 - AREAS - Day Test/unpack.ps1 b/DES - Designation/DES-201 - AREAS - Day Test/unpack.ps1 index c208a31858..0206e08131 100644 --- a/DES - Designation/DES-201 - AREAS - Day Test/unpack.ps1 +++ b/DES - Designation/DES-201 - AREAS - Day Test/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DES - Designation/DES-300 - TYPES - Night Test/DES-300 - TYPES - Night Test.miz b/DES - Designation/DES-300 - TYPES - Night Test/DES-300 - TYPES - Night Test.miz index 148ca6043e..028e6a81e6 100644 Binary files a/DES - Designation/DES-300 - TYPES - Night Test/DES-300 - TYPES - Night Test.miz and b/DES - Designation/DES-300 - TYPES - Night Test/DES-300 - TYPES - Night Test.miz differ diff --git a/DES - Designation/DES-301 - TYPES - Day Test/DES-301 - TYPES - Day Test.miz b/DES - Designation/DES-301 - TYPES - Day Test/DES-301 - TYPES - Day Test.miz index 0bcc6171db..48da799d85 100644 Binary files a/DES - Designation/DES-301 - TYPES - Day Test/DES-301 - TYPES - Day Test.miz and b/DES - Designation/DES-301 - TYPES - Day Test/DES-301 - TYPES - Day Test.miz differ diff --git a/DET - Detection/DET-001 - Detection Areas/DET-001 - Detection Areas.miz b/DET - Detection/DET-001 - Detection Areas/DET-001 - Detection Areas.miz index 27310482db..7cf10fb3fb 100644 Binary files a/DET - Detection/DET-001 - Detection Areas/DET-001 - Detection Areas.miz and b/DET - Detection/DET-001 - Detection Areas/DET-001 - Detection Areas.miz differ diff --git a/DET - Detection/DET-002 - Detection only Visible Units/DET-002 - Detection only Visible Units.miz b/DET - Detection/DET-002 - Detection only Visible Units/DET-002 - Detection only Visible Units.miz index b66feac2d4..70adbefbb6 100644 Binary files a/DET - Detection/DET-002 - Detection only Visible Units/DET-002 - Detection only Visible Units.miz and b/DET - Detection/DET-002 - Detection only Visible Units/DET-002 - Detection only Visible Units.miz differ diff --git a/DET - Detection/DET-100 - Detection Probability Distance/DET-100 - Detection Probability Distance.miz b/DET - Detection/DET-100 - Detection Probability Distance/DET-100 - Detection Probability Distance.miz index 7a920d06cd..6a20a6921a 100644 Binary files a/DET - Detection/DET-100 - Detection Probability Distance/DET-100 - Detection Probability Distance.miz and b/DET - Detection/DET-100 - Detection Probability Distance/DET-100 - Detection Probability Distance.miz differ diff --git a/DET - Detection/DET-101 - Detection Reporting/DET-101 - Detection Reporting.miz b/DET - Detection/DET-101 - Detection Reporting/DET-101 - Detection Reporting.miz index 45e6ba16b2..39dcd10c72 100644 Binary files a/DET - Detection/DET-101 - Detection Reporting/DET-101 - Detection Reporting.miz and b/DET - Detection/DET-101 - Detection Reporting/DET-101 - Detection Reporting.miz differ diff --git a/DET - Detection/DET-120 - Detection Probability Zones/DET-120 - Detection Probability Zones.miz b/DET - Detection/DET-120 - Detection Probability Zones/DET-120 - Detection Probability Zones.miz index 4ce82309be..b29c87e032 100644 Binary files a/DET - Detection/DET-120 - Detection Probability Zones/DET-120 - Detection Probability Zones.miz and b/DET - Detection/DET-120 - Detection Probability Zones/DET-120 - Detection Probability Zones.miz differ diff --git a/DET - Detection/DET-200 - Detection UNITS/DET-200 - Detection UNITS.miz b/DET - Detection/DET-200 - Detection UNITS/DET-200 - Detection UNITS.miz index 5a2421c735..b3ee1ee11d 100644 Binary files a/DET - Detection/DET-200 - Detection UNITS/DET-200 - Detection UNITS.miz and b/DET - Detection/DET-200 - Detection UNITS/DET-200 - Detection UNITS.miz differ diff --git a/DET - Detection/DET-201 - Detection UNITS - Air/DET-201 - Detection UNITS - Air.miz b/DET - Detection/DET-201 - Detection UNITS - Air/DET-201 - Detection UNITS - Air.miz index a097b8fdf1..5824229222 100644 Binary files a/DET - Detection/DET-201 - Detection UNITS - Air/DET-201 - Detection UNITS - Air.miz and b/DET - Detection/DET-201 - Detection UNITS - Air/DET-201 - Detection UNITS - Air.miz differ diff --git a/DET - Detection/DET-210 - Detection TYPES/DET-210 - Detection TYPES.miz b/DET - Detection/DET-210 - Detection TYPES/DET-210 - Detection TYPES.miz index c50cc8b2cc..3856837f46 100644 Binary files a/DET - Detection/DET-210 - Detection TYPES/DET-210 - Detection TYPES.miz and b/DET - Detection/DET-210 - Detection TYPES/DET-210 - Detection TYPES.miz differ diff --git a/DET - Detection/DET-250 - Detection AREAS/DET-250 - Detection AREAS.miz b/DET - Detection/DET-250 - Detection AREAS/DET-250 - Detection AREAS.miz index 3457935592..a648dbab1f 100644 Binary files a/DET - Detection/DET-250 - Detection AREAS/DET-250 - Detection AREAS.miz and b/DET - Detection/DET-250 - Detection AREAS/DET-250 - Detection AREAS.miz differ diff --git a/DET - Detection/DET-255 - Detection AEAS with Destroys/DET-255 - Detection AEAS with Destroys.miz b/DET - Detection/DET-255 - Detection AEAS with Destroys/DET-255 - Detection AEAS with Destroys.miz index 25526e73ac..180a4b56d5 100644 Binary files a/DET - Detection/DET-255 - Detection AEAS with Destroys/DET-255 - Detection AEAS with Destroys.miz and b/DET - Detection/DET-255 - Detection AEAS with Destroys/DET-255 - Detection AEAS with Destroys.miz differ diff --git a/DET - Detection/DET-300 - Dectection Filter AIRPLANE/DET-300 - Dectection Filter AIRPLANE.miz b/DET - Detection/DET-300 - Dectection Filter AIRPLANE/DET-300 - Dectection Filter AIRPLANE.miz index 720330dc11..4724617d77 100644 Binary files a/DET - Detection/DET-300 - Dectection Filter AIRPLANE/DET-300 - Dectection Filter AIRPLANE.miz and b/DET - Detection/DET-300 - Dectection Filter AIRPLANE/DET-300 - Dectection Filter AIRPLANE.miz differ diff --git a/DET - Detection/DET-301 - Dectection Filter GROUND_UNIT/DET-301 - Dectection Filter GROUND_UNIT.miz b/DET - Detection/DET-301 - Dectection Filter GROUND_UNIT/DET-301 - Dectection Filter GROUND_UNIT.miz index 1f003453f4..0fea10aee2 100644 Binary files a/DET - Detection/DET-301 - Dectection Filter GROUND_UNIT/DET-301 - Dectection Filter GROUND_UNIT.miz and b/DET - Detection/DET-301 - Dectection Filter GROUND_UNIT/DET-301 - Dectection Filter GROUND_UNIT.miz differ diff --git a/DET - Detection/DET-302 - Dectection Filter HELICOPTER/DET-302 - Dectection Filter HELICOPTER.miz b/DET - Detection/DET-302 - Dectection Filter HELICOPTER/DET-302 - Dectection Filter HELICOPTER.miz index 9e43ae5bb7..09352a8e2c 100644 Binary files a/DET - Detection/DET-302 - Dectection Filter HELICOPTER/DET-302 - Dectection Filter HELICOPTER.miz and b/DET - Detection/DET-302 - Dectection Filter HELICOPTER/DET-302 - Dectection Filter HELICOPTER.miz differ diff --git a/DET - Detection/DET-303 - Dectection Filter SHIP/DET-303 - Dectection Filter SHIP.miz b/DET - Detection/DET-303 - Dectection Filter SHIP/DET-303 - Dectection Filter SHIP.miz index 44eebf815a..875020372e 100644 Binary files a/DET - Detection/DET-303 - Dectection Filter SHIP/DET-303 - Dectection Filter SHIP.miz and b/DET - Detection/DET-303 - Dectection Filter SHIP/DET-303 - Dectection Filter SHIP.miz differ diff --git a/DET - Detection/DET-304 - Dectection Filter STRUCTURE/DET-304 - Dectection Filter STRUCTURE.miz b/DET - Detection/DET-304 - Dectection Filter STRUCTURE/DET-304 - Dectection Filter STRUCTURE.miz index 4c57fb93e6..d3ba40ef73 100644 Binary files a/DET - Detection/DET-304 - Dectection Filter STRUCTURE/DET-304 - Dectection Filter STRUCTURE.miz and b/DET - Detection/DET-304 - Dectection Filter STRUCTURE/DET-304 - Dectection Filter STRUCTURE.miz differ diff --git a/DET - Detection/DET-305 - Dectection Filter ALL/DET-305 - Dectection Filter ALL.miz b/DET - Detection/DET-305 - Dectection Filter ALL/DET-305 - Dectection Filter ALL.miz index 1f012869f0..9614cec312 100644 Binary files a/DET - Detection/DET-305 - Dectection Filter ALL/DET-305 - Dectection Filter ALL.miz and b/DET - Detection/DET-305 - Dectection Filter ALL/DET-305 - Dectection Filter ALL.miz differ diff --git a/DET - Detection/DET-310 - EWR - Line Of Sight/DET-310 - EWR - Line Of Sight.miz b/DET - Detection/DET-310 - EWR - Line Of Sight/DET-310 - EWR - Line Of Sight.miz index 88c0e9359b..b7d050553a 100644 Binary files a/DET - Detection/DET-310 - EWR - Line Of Sight/DET-310 - EWR - Line Of Sight.miz and b/DET - Detection/DET-310 - EWR - Line Of Sight/DET-310 - EWR - Line Of Sight.miz differ diff --git a/DET - Detection/DET-320 - EWR - Line Of Sight/DET-320 - EWR - Line Of Sight.miz b/DET - Detection/DET-320 - EWR - Line Of Sight/DET-320 - EWR - Line Of Sight.miz index d70cfd8928..7c189449f4 100644 Binary files a/DET - Detection/DET-320 - EWR - Line Of Sight/DET-320 - EWR - Line Of Sight.miz and b/DET - Detection/DET-320 - EWR - Line Of Sight/DET-320 - EWR - Line Of Sight.miz differ diff --git a/DET - Detection/DET-400 - A2A - Detection methods/DET-400 - A2A - Detection methods.lua b/DET - Detection/DET-400 - A2A - Detection methods/DET-400 - A2A - Detection methods.lua new file mode 100644 index 0000000000..21ce09f25e --- /dev/null +++ b/DET - Detection/DET-400 - A2A - Detection methods/DET-400 - A2A - Detection methods.lua @@ -0,0 +1,49 @@ +--- +-- Name: DET-310 - EWR - Line Of Sight +-- Author: FlightControl +-- Date Created: 12 Sep 2018 +-- +-- # Situation: +-- +-- Demonstrates the lost of line of sight using an airplane. + +SetGroup = SET_GROUP:New():FilterPrefixes( "Recce" ):FilterStart() + +HQ = GROUP:FindByName( "HQ" ) + +CC = COMMANDCENTER:New( HQ, "HQ" ) + +RecceDetection = DETECTION_AREAS + :New( SetGroup, 1500 ) + :FilterCategories( { Unit.Category.AIRPLANE } ) + --:InitDetectVisual( true ) + :InitDetectIRST( true ) + :InitDetectRadar( true ) + :InitDetectRWR( true ) + :InitDetectOptical( true ) + +RecceDetection:Start() + +_SETTINGS:SetA2A_BRAA() +_SETTINGS:SetA2G_BR() + +--- OnAfter Transition Handler for Event DetectedItem. +-- @param Functional.Detection#DETECTION_AREAS RecceDetection self +-- @param #string From The From State string. +-- @param #string Event The Event string. +-- @param #string To The To State string. +-- @param Functional.Detection#DETECTION_BASE.DetectedItem DetectedItem +function RecceDetection:OnAfterDetectedItem(From,Event,To,DetectedItem) + + local DetectionReport = self:DetectedReportDetailed( SetGroup:GetFirst() ) + + HQ:MessageToAll( DetectionReport, 15, "Detection" ) + + if DetectedItem.IsDetected then + local Coordinate = DetectedItem.Coordinate -- Core.Point#COORDINATE + HQ:MessageToAll( "Detected", 15, "Detection" ) + end + +end + +garbagecollect() diff --git a/DET - Detection/DET-400 - A2A - Detection methods/DET-400 - A2A - Detection methods.miz b/DET - Detection/DET-400 - A2A - Detection methods/DET-400 - A2A - Detection methods.miz new file mode 100644 index 0000000000..3ad5f982e4 Binary files /dev/null and b/DET - Detection/DET-400 - A2A - Detection methods/DET-400 - A2A - Detection methods.miz differ diff --git a/DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 b/DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/DET - Detection/DET-400 - A2A - Detection methods/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 b/DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/DET - Detection/DET-400 - A2A - Detection methods/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DET - Detection/DET-500 - Handle Detected Event - Govern Artillery Demo/DET-500 - Handle Detected Event - Govern Artillery Demo.miz b/DET - Detection/DET-500 - Handle Detected Event - Govern Artillery Demo/DET-500 - Handle Detected Event - Govern Artillery Demo.miz index 49c64df5ed..dcbe3e585b 100644 Binary files a/DET - Detection/DET-500 - Handle Detected Event - Govern Artillery Demo/DET-500 - Handle Detected Event - Govern Artillery Demo.miz and b/DET - Detection/DET-500 - Handle Detected Event - Govern Artillery Demo/DET-500 - Handle Detected Event - Govern Artillery Demo.miz differ diff --git a/DET - Detection/DET-600 - Detection Zones/DET-600 - Detection Zones.lua b/DET - Detection/DET-600 - Detection Zones/DET-600 - Detection Zones.lua new file mode 100644 index 0000000000..b4edf657ad --- /dev/null +++ b/DET - Detection/DET-600 - Detection Zones/DET-600 - Detection Zones.lua @@ -0,0 +1,16 @@ +--- +-- Name: DET-600 - Detection Zones +-- Author: FlightControl +-- Date Created: 15 Mar 2019 +-- +-- # Situation: +-- +-- 2 trigger zones are defined using the mission editor. +-- The detection algorithm will detect the units within the zones and report them. + + +DetectionSetZones = SET_ZONE:New():FilterPrefixes( { "Detection Zone" } ):FilterOnce() + +DetectionZones = DETECTION_ZONES:New( DetectionSetZones, coalition.side.RED ):BoundDetectedZones():SmokeDetectedUnits() + +DetectionZones:__Start( 5 ) \ No newline at end of file diff --git a/DET - Detection/DET-600 - Detection Zones/DET-600 - Detection Zones.miz b/DET - Detection/DET-600 - Detection Zones/DET-600 - Detection Zones.miz new file mode 100644 index 0000000000..6f773b8ab4 Binary files /dev/null and b/DET - Detection/DET-600 - Detection Zones/DET-600 - Detection Zones.miz differ diff --git a/DET - Detection/DET-600 - Detection Zones/pack.ps1 b/DET - Detection/DET-600 - Detection Zones/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/DET - Detection/DET-600 - Detection Zones/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/DET - Detection/DET-600 - Detection Zones/unpack.ps1 b/DET - Detection/DET-600 - Detection Zones/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/DET - Detection/DET-600 - Detection Zones/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/DET-601 - Detection Zones_Capture_Coalition.lua b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/DET-601 - Detection Zones_Capture_Coalition.lua new file mode 100644 index 0000000000..a52d811e36 --- /dev/null +++ b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/DET-601 - Detection Zones_Capture_Coalition.lua @@ -0,0 +1,18 @@ +--- +-- Name: DET-600 - Detection Zones +-- Author: FlightControl +-- Date Created: 15 Mar 2019 +-- +-- # Situation: +-- +-- 2 trigger zones are defined using the mission editor. +-- The detection algorithm will detect the units within the zones and report them. + + +DetectionSetZones = SET_ZONE_GOAL:New():FilterPrefixes( { "Detection Zone" } ):FilterStart() + +DetectionZone1 = ZONE_CAPTURE_COALITION:New( ZONE:New( "Detection Zone 1" ), coalition.side.RED ) + +DetectionZones = DETECTION_ZONES:New( DetectionSetZones, coalition.side.RED ):BoundDetectedZones():SmokeDetectedUnits() + +DetectionZones:__Start( 5 ) \ No newline at end of file diff --git a/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/DET-601 - Detection Zones_Capture_Coalition.miz b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/DET-601 - Detection Zones_Capture_Coalition.miz new file mode 100644 index 0000000000..0da88bf85c Binary files /dev/null and b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/DET-601 - Detection Zones_Capture_Coalition.miz differ diff --git a/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/DET - Detection/DET-601 - Detection Zones_Capture_Coalition/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/DET - Detection/DET-900 - Detection Test with RED FACA/DET-900 - Detection Test with RED FACA.miz b/DET - Detection/DET-900 - Detection Test with RED FACA/DET-900 - Detection Test with RED FACA.miz index 585d33664c..b4e5931b1f 100644 Binary files a/DET - Detection/DET-900 - Detection Test with RED FACA/DET-900 - Detection Test with RED FACA.miz and b/DET - Detection/DET-900 - Detection Test with RED FACA/DET-900 - Detection Test with RED FACA.miz differ diff --git a/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.lua b/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.lua new file mode 100644 index 0000000000..fc0f23292a --- /dev/null +++ b/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.lua @@ -0,0 +1,9 @@ + +local FollowGroupSet = SET_GROUP:New():FilterCategories( { "plane", "ship" } ):FilterCoalitions( "red" ):FilterPrefixes( { "Escort", "Ship Defense" } ):FilterStart() + +local LeaderUnit = UNIT:FindByName( "Leader" ) +local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Attack", "Briefing" ) +Escort:FormationTrail( 750, 750 , 0 ) +Escort:MenusAirplanes() +Escort:__Start( 1 ) + diff --git a/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.miz b/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.miz new file mode 100644 index 0000000000..63ce64f027 Binary files /dev/null and b/ESC - AI Escort/ESC-001 - Escort A2G Test/ESC-001 - Escort A2G Test.miz differ diff --git a/ESC - AI Escort/ESC-001 - Escort A2G Test/pack.ps1 b/ESC - AI Escort/ESC-001 - Escort A2G Test/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-001 - Escort A2G Test/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-001 - Escort A2G Test/unpack.ps1 b/ESC - AI Escort/ESC-001 - Escort A2G Test/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-001 - Escort A2G Test/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/ESC-002 - Escort A2G Large Formation.lua b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/ESC-002 - Escort A2G Large Formation.lua new file mode 100644 index 0000000000..874867cb14 --- /dev/null +++ b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/ESC-002 - Escort A2G Large Formation.lua @@ -0,0 +1,8 @@ +local FollowGroupSet = SET_GROUP:New():FilterCategories( { "plane", "ship" } ):FilterCoalitions( "red" ):FilterPrefixes( { "Escort", "Ship Defense" } ):FilterStart() + +local LeaderUnit = UNIT:FindByName( "Leader" ) +local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Attack", "Briefing" ) +Escort:FormationTrail( 750, 750 , 0 ) +Escort:MenusAirplanes() +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/ESC-002 - Escort A2G Large Formation.miz b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/ESC-002 - Escort A2G Large Formation.miz new file mode 100644 index 0000000000..c7188d6a41 Binary files /dev/null and b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/ESC-002 - Escort A2G Large Formation.miz differ diff --git a/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/pack.ps1 b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/unpack.ps1 b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-002 - Escort A2G Large Formation/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/ESC-003 - Escort A2G Airbase Takeoff.lua b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/ESC-003 - Escort A2G Airbase Takeoff.lua new file mode 100644 index 0000000000..3e4033c204 --- /dev/null +++ b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/ESC-003 - Escort A2G Airbase Takeoff.lua @@ -0,0 +1,9 @@ + +local FollowGroupSet = SET_GROUP:New():FilterCategories( { "plane" } ):FilterCoalitions( "blue" ):FilterPrefixes( { "Escort" } ):FilterStart() + +local LeaderUnit = UNIT:FindByName( "Leader" ) +local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Attack", "Briefing" ) +Escort:FormationTrail( 100, 100 , 0 ) +Escort:MenusAirplanes() +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/ESC-003 - Escort A2G Airbase Takeoff.miz b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/ESC-003 - Escort A2G Airbase Takeoff.miz new file mode 100644 index 0000000000..a6fdcfeb2c Binary files /dev/null and b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/ESC-003 - Escort A2G Airbase Takeoff.miz differ diff --git a/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/pack.ps1 b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/unpack.ps1 b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-003 - Escort A2G Airbase Takeoff/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-004 - Escort A2G Formation/ESC-004 - Escort A2G Formation.lua b/ESC - AI Escort/ESC-004 - Escort A2G Formation/ESC-004 - Escort A2G Formation.lua new file mode 100644 index 0000000000..3e4033c204 --- /dev/null +++ b/ESC - AI Escort/ESC-004 - Escort A2G Formation/ESC-004 - Escort A2G Formation.lua @@ -0,0 +1,9 @@ + +local FollowGroupSet = SET_GROUP:New():FilterCategories( { "plane" } ):FilterCoalitions( "blue" ):FilterPrefixes( { "Escort" } ):FilterStart() + +local LeaderUnit = UNIT:FindByName( "Leader" ) +local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Attack", "Briefing" ) +Escort:FormationTrail( 100, 100 , 0 ) +Escort:MenusAirplanes() +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-004 - Escort A2G Formation/ESC-004 - Escort A2G Formation.miz b/ESC - AI Escort/ESC-004 - Escort A2G Formation/ESC-004 - Escort A2G Formation.miz new file mode 100644 index 0000000000..03ba40b559 Binary files /dev/null and b/ESC - AI Escort/ESC-004 - Escort A2G Formation/ESC-004 - Escort A2G Formation.miz differ diff --git a/ESC - AI Escort/ESC-004 - Escort A2G Formation/pack.ps1 b/ESC - AI Escort/ESC-004 - Escort A2G Formation/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-004 - Escort A2G Formation/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-004 - Escort A2G Formation/unpack.ps1 b/ESC - AI Escort/ESC-004 - Escort A2G Formation/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-004 - Escort A2G Formation/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/ESC-005 - Escort A2G Helicopters.lua b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/ESC-005 - Escort A2G Helicopters.lua new file mode 100644 index 0000000000..24588f503d --- /dev/null +++ b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/ESC-005 - Escort A2G Helicopters.lua @@ -0,0 +1,9 @@ + +local FollowGroupSet = SET_GROUP:New():FilterCategories( { "helicopter" } ):FilterCoalitions( "blue" ):FilterPrefixes( { "Escort" } ):FilterStart() + +local LeaderUnit = UNIT:FindByName( "Leader" ) +local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Attack", "Briefing" ) +Escort:FormationTrail( 100, 100 , 0 ) +Escort:MenusHelicopters() +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/ESC-005 - Escort A2G Helicopters.miz b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/ESC-005 - Escort A2G Helicopters.miz new file mode 100644 index 0000000000..f9dfb9ace6 Binary files /dev/null and b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/ESC-005 - Escort A2G Helicopters.miz differ diff --git a/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/pack.ps1 b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/unpack.ps1 b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-005 - Escort A2G Helicopters/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-006 - Escort ROE ROT/ESC-006 - Escort ROE ROT.lua b/ESC - AI Escort/ESC-006 - Escort ROE ROT/ESC-006 - Escort ROE ROT.lua new file mode 100644 index 0000000000..f1afbe7962 --- /dev/null +++ b/ESC - AI Escort/ESC-006 - Escort ROE ROT/ESC-006 - Escort ROE ROT.lua @@ -0,0 +1,11 @@ + +local FollowGroupSet = SET_GROUP:New():FilterCategories( { "helicopter" } ):FilterCoalitions( "blue" ):FilterPrefixes( { "Escort" } ):FilterStart() + +local LeaderUnit = UNIT:FindByName( "Leader" ) +local Escort = AI_ESCORT:New( LeaderUnit, FollowGroupSet, "Escort Test", "Use the ROE and ROT menus to test if the behaviour is working." ) + +Escort:ModeMission() + +Escort:MenusHelicopters() +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-006 - Escort ROE ROT/ESC-006 - Escort ROE ROT.miz b/ESC - AI Escort/ESC-006 - Escort ROE ROT/ESC-006 - Escort ROE ROT.miz new file mode 100644 index 0000000000..b236e882e4 Binary files /dev/null and b/ESC - AI Escort/ESC-006 - Escort ROE ROT/ESC-006 - Escort ROE ROT.miz differ diff --git a/ESC - AI Escort/ESC-006 - Escort ROE ROT/pack.ps1 b/ESC - AI Escort/ESC-006 - Escort ROE ROT/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-006 - Escort ROE ROT/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-006 - Escort ROE ROT/unpack.ps1 b/ESC - AI Escort/ESC-006 - Escort ROE ROT/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-006 - Escort ROE ROT/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/ESC-100 - Escort Request Menu - kopie.miz b/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/ESC-100 - Escort Request Menu - kopie.miz new file mode 100644 index 0000000000..9dfd21063c Binary files /dev/null and b/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/ESC-100 - Escort Request Menu - kopie.miz differ diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/pack.ps1 b/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/unpack.ps1 b/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-100 - Escort Request Menu - kopie/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu/ESC-100 - Escort Request Menu.lua b/ESC - AI Escort/ESC-100 - Escort Request Menu/ESC-100 - Escort Request Menu.lua new file mode 100644 index 0000000000..f659ad35be --- /dev/null +++ b/ESC - AI Escort/ESC-100 - Escort Request Menu/ESC-100 - Escort Request Menu.lua @@ -0,0 +1,13 @@ +-- At startup of the overall mission, we spawn 10 possible escort planes in "Uncontrolled" state. + +EscortSpawn = SPAWN:NewWithAlias( "Red A2G Escort Template", "Red A2G Escort AI" ):InitLimit( 10, 10 ) +EscortSpawn:ParkAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Sochi_Adler ), AIRBASE.TerminalType.OpenBig ) + + +local EscortUnit = UNIT:FindByName( "Red A2G Pilot" ) + +Escort = AI_ESCORT_REQUEST:New( EscortUnit, EscortSpawn, AIRBASE:FindByName(AIRBASE.Caucasus.Sochi_Adler), "A2G", "Briefing" ) +Escort:FormationTrail( 50, 100, 100 ) +Escort:MenusAirplanes( 50, 50, 0, 0, 50, 50, 6 ) +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu/ESC-100 - Escort Request Menu.miz b/ESC - AI Escort/ESC-100 - Escort Request Menu/ESC-100 - Escort Request Menu.miz new file mode 100644 index 0000000000..7315ad8de8 Binary files /dev/null and b/ESC - AI Escort/ESC-100 - Escort Request Menu/ESC-100 - Escort Request Menu.miz differ diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu/pack.ps1 b/ESC - AI Escort/ESC-100 - Escort Request Menu/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-100 - Escort Request Menu/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-100 - Escort Request Menu/unpack.ps1 b/ESC - AI Escort/ESC-100 - Escort Request Menu/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-100 - Escort Request Menu/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-200 - Escort Mission/ESC-200 - Escort Mission.lua b/ESC - AI Escort/ESC-200 - Escort Mission/ESC-200 - Escort Mission.lua new file mode 100644 index 0000000000..355a154e2c --- /dev/null +++ b/ESC - AI Escort/ESC-200 - Escort Mission/ESC-200 - Escort Mission.lua @@ -0,0 +1,14 @@ +-- At startup of the overall mission, we spawn 10 possible escort planes in "Uncontrolled" state. + +EscortSpawn = SPAWN:NewWithAlias( "Red A2G Escort Template", "Red A2G Escort AI" ):InitLimit( 10, 10 ) +EscortSpawn:ParkAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Sochi_Adler ), AIRBASE.TerminalType.OpenBig ) + + +local EscortUnit = UNIT:FindByName( "Red A2G Pilot" ) + +Escort = AI_ESCORT_REQUEST:New( EscortUnit, EscortSpawn, AIRBASE:FindByName(AIRBASE.Caucasus.Sochi_Adler), "A2G", "Briefing" ) +Escort:FormationTrail( 50, 100, 100 ) +Escort:MenusAirplanes( 50, 50, 0, 0, 50, 50, 6 ) +Escort:SetEscortSpawnMission() +Escort:__Start( 5 ) + diff --git a/ESC - AI Escort/ESC-200 - Escort Mission/ESC-200 - Escort Mission.miz b/ESC - AI Escort/ESC-200 - Escort Mission/ESC-200 - Escort Mission.miz new file mode 100644 index 0000000000..dd7b06a20c Binary files /dev/null and b/ESC - AI Escort/ESC-200 - Escort Mission/ESC-200 - Escort Mission.miz differ diff --git a/ESC - AI Escort/ESC-200 - Escort Mission/pack.ps1 b/ESC - AI Escort/ESC-200 - Escort Mission/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-200 - Escort Mission/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-200 - Escort Mission/unpack.ps1 b/ESC - AI Escort/ESC-200 - Escort Mission/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-200 - Escort Mission/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - AI Escort/ESC-201 - Escort Mission/ESC-201 - Escort Mission.lua b/ESC - AI Escort/ESC-201 - Escort Mission/ESC-201 - Escort Mission.lua new file mode 100644 index 0000000000..a4ce5a3457 --- /dev/null +++ b/ESC - AI Escort/ESC-201 - Escort Mission/ESC-201 - Escort Mission.lua @@ -0,0 +1,51 @@ +-- At startup of the overall mission, we spawn 10 possible escort planes in "Uncontrolled" state. + +HQ = GROUP:FindByName( "HQ", "Bravo" ) + +CommandCenter = COMMANDCENTER + :New( HQ, "HQ" ) + +Mission = MISSION + :New( CommandCenter, "Rescue Operation", "Tactical", "Transport General Mc. Connor!", coalition.side.BLUE ) + +TransportGroups = SET_GROUP:New():FilterCoalitions( "blue" ):FilterPrefixes( "Transport" ):FilterStart() +TaskDispatcher = TASK_CARGO_DISPATCHER:New( Mission, TransportGroups ) +TaskDispatcher:SetDefaultDeployZone( ZONE:New( "HeadQuarter" ) ) + +local CargoSet = SET_CARGO:New():FilterTypes( "General" ):FilterStart() +WorkplaceTask = TaskDispatcher:AddTransportTask( "Transport Team", CargoSet, "Rescue the general and transport him to the HeadQuarter (near the airbase Gudauta)." ) + +EscortSpawn = SPAWN:NewWithAlias( "Blue A2G Escort Template" ):InitLimit( 6, 6 ) +EscortSpawn:ParkAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Gudauta ), AIRBASE.TerminalType.OpenMedOrBig ) + + + +local EscortUnit = UNIT:FindByName( "Transport" ) + +Escort = AI_ESCORT_REQUEST:New( EscortUnit, EscortSpawn, AIRBASE:FindByName(AIRBASE.Caucasus.Gudauta), "A2G", "Rescue the engineer from the village Lesselide near the station. Beware of enemy air defenses. Use the escorts wisely." ) +Escort:FormationTrail( 50, 100, 100 ) + +Escort:SetEscortSpawnMission() + +Escort:MenuJoinUp() + +Escort:MenuFormationTrail( 50, 50, 0 ) +Escort:MenuFormationLeftLine( 0, 0, 50, 50 ) +Escort:MenuFormationRightLine( 0, 0, 50, 50 ) + + +Escort:MenuHoldAtEscortPosition( 30, 0 ) +Escort:MenuHoldAtEscortPosition( 100, 0 ) +Escort:MenuHoldAtLeaderPosition( 30, 0 ) +Escort:MenuHoldAtLeaderPosition( 100, 0 ) + +Escort:MenuFlare() +Escort:MenuSmoke() + +Escort:MenuTargets( 60 ) +Escort:MenuROE() +Escort:MenuROT() + +Escort:__Start( 5 ) + + diff --git a/ESC - AI Escort/ESC-201 - Escort Mission/ESC-201 - Escort Mission.miz b/ESC - AI Escort/ESC-201 - Escort Mission/ESC-201 - Escort Mission.miz new file mode 100644 index 0000000000..667f0c1c9f Binary files /dev/null and b/ESC - AI Escort/ESC-201 - Escort Mission/ESC-201 - Escort Mission.miz differ diff --git a/ESC - AI Escort/ESC-201 - Escort Mission/pack.ps1 b/ESC - AI Escort/ESC-201 - Escort Mission/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/ESC - AI Escort/ESC-201 - Escort Mission/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/ESC - AI Escort/ESC-201 - Escort Mission/unpack.ps1 b/ESC - AI Escort/ESC-201 - Escort Mission/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/ESC - AI Escort/ESC-201 - Escort Mission/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ESC - Escorting/ESC-001 - Escorting Helicopters/ESC-001 - Escorting Helicopters.miz b/ESC - Escorting/ESC-001 - Escorting Helicopters/ESC-001 - Escorting Helicopters.miz index 2c389f7bb1..74804241b9 100644 Binary files a/ESC - Escorting/ESC-001 - Escorting Helicopters/ESC-001 - Escorting Helicopters.miz and b/ESC - Escorting/ESC-001 - Escorting Helicopters/ESC-001 - Escorting Helicopters.miz differ diff --git a/EVT - Event Handling/EVT-001 - API Demo 1/EVT-001 - API Demo 1.miz b/EVT - Event Handling/EVT-001 - API Demo 1/EVT-001 - API Demo 1.miz index 491040c488..95f6cd52b7 100644 Binary files a/EVT - Event Handling/EVT-001 - API Demo 1/EVT-001 - API Demo 1.miz and b/EVT - Event Handling/EVT-001 - API Demo 1/EVT-001 - API Demo 1.miz differ diff --git a/EVT - Event Handling/EVT-001 - UNIT OnEventShot Stability Test/EVT-001 - UNIT OnEventShot Stability Test.miz b/EVT - Event Handling/EVT-001 - UNIT OnEventShot Stability Test/EVT-001 - UNIT OnEventShot Stability Test.miz index c764efe439..00ed689c60 100644 Binary files a/EVT - Event Handling/EVT-001 - UNIT OnEventShot Stability Test/EVT-001 - UNIT OnEventShot Stability Test.miz and b/EVT - Event Handling/EVT-001 - UNIT OnEventShot Stability Test/EVT-001 - UNIT OnEventShot Stability Test.miz differ diff --git a/EVT - Event Handling/EVT-002 - UNIT OnEventLand ReSpawn Test/EVT-002 - UNIT OnEventLand ReSpawn Test.miz b/EVT - Event Handling/EVT-002 - UNIT OnEventLand ReSpawn Test/EVT-002 - UNIT OnEventLand ReSpawn Test.miz index da0318638c..3f4737c275 100644 Binary files a/EVT - Event Handling/EVT-002 - UNIT OnEventLand ReSpawn Test/EVT-002 - UNIT OnEventLand ReSpawn Test.miz and b/EVT - Event Handling/EVT-002 - UNIT OnEventLand ReSpawn Test/EVT-002 - UNIT OnEventLand ReSpawn Test.miz differ diff --git a/EVT - Event Handling/EVT-100 - UNIT OnEventShot Example/EVT-100 - UNIT OnEventShot Example.miz b/EVT - Event Handling/EVT-100 - UNIT OnEventShot Example/EVT-100 - UNIT OnEventShot Example.miz index 244c5b2548..f673f6edf3 100644 Binary files a/EVT - Event Handling/EVT-100 - UNIT OnEventShot Example/EVT-100 - UNIT OnEventShot Example.miz and b/EVT - Event Handling/EVT-100 - UNIT OnEventShot Example/EVT-100 - UNIT OnEventShot Example.miz differ diff --git a/EVT - Event Handling/EVT-101 - UNIT OnEventHit Example/EVT-101 - UNIT OnEventHit Example.miz b/EVT - Event Handling/EVT-101 - UNIT OnEventHit Example/EVT-101 - UNIT OnEventHit Example.miz index 14ae29b943..ad745114c3 100644 Binary files a/EVT - Event Handling/EVT-101 - UNIT OnEventHit Example/EVT-101 - UNIT OnEventHit Example.miz and b/EVT - Event Handling/EVT-101 - UNIT OnEventHit Example/EVT-101 - UNIT OnEventHit Example.miz differ diff --git a/EVT - Event Handling/EVT-102 - UNIT OnEventTakeoff Example/EVT-102 - UNIT OnEventTakeoff Example.miz b/EVT - Event Handling/EVT-102 - UNIT OnEventTakeoff Example/EVT-102 - UNIT OnEventTakeoff Example.miz index 8f2f894a04..3b7ae686ad 100644 Binary files a/EVT - Event Handling/EVT-102 - UNIT OnEventTakeoff Example/EVT-102 - UNIT OnEventTakeoff Example.miz and b/EVT - Event Handling/EVT-102 - UNIT OnEventTakeoff Example/EVT-102 - UNIT OnEventTakeoff Example.miz differ diff --git a/EVT - Event Handling/EVT-103 - UNIT OnEventLand Example/EVT-103 - UNIT OnEventLand Example.miz b/EVT - Event Handling/EVT-103 - UNIT OnEventLand Example/EVT-103 - UNIT OnEventLand Example.miz index 3dccd74f67..6a2a40fdd8 100644 Binary files a/EVT - Event Handling/EVT-103 - UNIT OnEventLand Example/EVT-103 - UNIT OnEventLand Example.miz and b/EVT - Event Handling/EVT-103 - UNIT OnEventLand Example/EVT-103 - UNIT OnEventLand Example.miz differ diff --git a/EVT - Event Handling/EVT-104 - UNIT OnEventCrash Example/EVT-104 - UNIT OnEventCrash Example.miz b/EVT - Event Handling/EVT-104 - UNIT OnEventCrash Example/EVT-104 - UNIT OnEventCrash Example.miz index 4e3bde6bf1..44efe05ef2 100644 Binary files a/EVT - Event Handling/EVT-104 - UNIT OnEventCrash Example/EVT-104 - UNIT OnEventCrash Example.miz and b/EVT - Event Handling/EVT-104 - UNIT OnEventCrash Example/EVT-104 - UNIT OnEventCrash Example.miz differ diff --git a/EVT - Event Handling/EVT-105 - UNIT OnEventPlayerEnterUnit Example/EVT-105 - UNIT OnEventPlayerEnterUnit Example.miz b/EVT - Event Handling/EVT-105 - UNIT OnEventPlayerEnterUnit Example/EVT-105 - UNIT OnEventPlayerEnterUnit Example.miz index d1f5002e58..495570cdbd 100644 Binary files a/EVT - Event Handling/EVT-105 - UNIT OnEventPlayerEnterUnit Example/EVT-105 - UNIT OnEventPlayerEnterUnit Example.miz and b/EVT - Event Handling/EVT-105 - UNIT OnEventPlayerEnterUnit Example/EVT-105 - UNIT OnEventPlayerEnterUnit Example.miz differ diff --git a/EVT - Event Handling/EVT-200 - GROUP OnEventShot Example/EVT-200 - GROUP OnEventShot Example.miz b/EVT - Event Handling/EVT-200 - GROUP OnEventShot Example/EVT-200 - GROUP OnEventShot Example.miz index f43c62c6d2..7e9392ab46 100644 Binary files a/EVT - Event Handling/EVT-200 - GROUP OnEventShot Example/EVT-200 - GROUP OnEventShot Example.miz and b/EVT - Event Handling/EVT-200 - GROUP OnEventShot Example/EVT-200 - GROUP OnEventShot Example.miz differ diff --git a/EVT - Event Handling/EVT-201 - GROUP OnEventHit Example/EVT-201 - GROUP OnEventHit Example.miz b/EVT - Event Handling/EVT-201 - GROUP OnEventHit Example/EVT-201 - GROUP OnEventHit Example.miz index 402f5c9e89..25fcf18a3d 100644 Binary files a/EVT - Event Handling/EVT-201 - GROUP OnEventHit Example/EVT-201 - GROUP OnEventHit Example.miz and b/EVT - Event Handling/EVT-201 - GROUP OnEventHit Example/EVT-201 - GROUP OnEventHit Example.miz differ diff --git a/EVT - Event Handling/EVT-204 - GROUP OnEventCrash Example/EVT-204 - GROUP OnEventCrash Example.miz b/EVT - Event Handling/EVT-204 - GROUP OnEventCrash Example/EVT-204 - GROUP OnEventCrash Example.miz index b06fdc34e4..1f791e9cbd 100644 Binary files a/EVT - Event Handling/EVT-204 - GROUP OnEventCrash Example/EVT-204 - GROUP OnEventCrash Example.miz and b/EVT - Event Handling/EVT-204 - GROUP OnEventCrash Example/EVT-204 - GROUP OnEventCrash Example.miz differ diff --git a/EVT - Event Handling/EVT-205 - GROUP OnEventDead Example/EVT-205 - GROUP OnEventDead Example.miz b/EVT - Event Handling/EVT-205 - GROUP OnEventDead Example/EVT-205 - GROUP OnEventDead Example.miz index 06a80427a2..80d989b1ce 100644 Binary files a/EVT - Event Handling/EVT-205 - GROUP OnEventDead Example/EVT-205 - GROUP OnEventDead Example.miz and b/EVT - Event Handling/EVT-205 - GROUP OnEventDead Example/EVT-205 - GROUP OnEventDead Example.miz differ diff --git a/EVT - Event Handling/EVT-401 - Generic OnEventHit Example/EVT-401 - Generic OnEventHit Example.miz b/EVT - Event Handling/EVT-401 - Generic OnEventHit Example/EVT-401 - Generic OnEventHit Example.miz index 7902628d52..d90216a469 100644 Binary files a/EVT - Event Handling/EVT-401 - Generic OnEventHit Example/EVT-401 - Generic OnEventHit Example.miz and b/EVT - Event Handling/EVT-401 - Generic OnEventHit Example/EVT-401 - Generic OnEventHit Example.miz differ diff --git a/EVT - Event Handling/EVT-402 - Generic OnEventMissionEnd Example/EVT-402 - Generic OnEventMissionEnd Example.miz b/EVT - Event Handling/EVT-402 - Generic OnEventMissionEnd Example/EVT-402 - Generic OnEventMissionEnd Example.miz index f5c47a4e47..3f5fa69b28 100644 Binary files a/EVT - Event Handling/EVT-402 - Generic OnEventMissionEnd Example/EVT-402 - Generic OnEventMissionEnd Example.miz and b/EVT - Event Handling/EVT-402 - Generic OnEventMissionEnd Example/EVT-402 - Generic OnEventMissionEnd Example.miz differ diff --git a/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/EVT-403 - Generic OnEventBirth Example.lua b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/EVT-403 - Generic OnEventBirth Example.lua new file mode 100644 index 0000000000..d7e7c10020 --- /dev/null +++ b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/EVT-403 - Generic OnEventBirth Example.lua @@ -0,0 +1,32 @@ +--- +-- Name: EVT-401 - Generic OnEventHit Example +-- Author: FlightControl +-- Date Created: 15 February 2017 +-- +-- # Situation: +-- +-- Ground targets are shooting each other. +-- +-- # Test cases: +-- +-- 1. Observe the ground forces shooting each other. +-- 2. Observe when a tank receives a hit, a dcs.log entry is written in the logging. +-- 3. The generic EventHandler objects should receive the hit events. + +CC = COMMANDCENTER:New( GROUP:FindByName( "HQ" ), "HQ" ) + +EventHandler1 = EVENTHANDLER:New() + + +EventHandler1:HandleEvent( EVENTS.Birth ) + +--- @param Core.Event#EVENT self +-- @param Core.Event#EVENTDATA EventData +function EventHandler1:OnEventBirth( EventData ) + self:E("hello 1") + self:E( EventData.IniUnit:GetName() ) + CC:GetPositionable():MessageToAll( "I just got born!", 15 , "Alert!" ) +end + + + diff --git a/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/EVT-403 - Generic OnEventBirth Example.miz b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/EVT-403 - Generic OnEventBirth Example.miz new file mode 100644 index 0000000000..6a1e89bcb1 Binary files /dev/null and b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/EVT-403 - Generic OnEventBirth Example.miz differ diff --git a/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/pack.ps1 b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/unpack.ps1 b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/EVT - Event Handling/EVT-403 - Generic OnEventBirth Example/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/EVT - Event Handling/EVT-500 - OnEventLand LandingChallenge/EVT-500 - OnEventLand LandingChallenge.miz b/EVT - Event Handling/EVT-500 - OnEventLand LandingChallenge/EVT-500 - OnEventLand LandingChallenge.miz index 4e675a49a1..bf865dc4c1 100644 Binary files a/EVT - Event Handling/EVT-500 - OnEventLand LandingChallenge/EVT-500 - OnEventLand LandingChallenge.miz and b/EVT - Event Handling/EVT-500 - OnEventLand LandingChallenge/EVT-500 - OnEventLand LandingChallenge.miz differ diff --git a/EVT - Event Handling/EVT-501 - OnEventLand LandingChallengeComplex/EVT-501 - OnEventLand LandingChallengeComplex.miz b/EVT - Event Handling/EVT-501 - OnEventLand LandingChallengeComplex/EVT-501 - OnEventLand LandingChallengeComplex.miz index 5c8eff7729..a99ad9b7b0 100644 Binary files a/EVT - Event Handling/EVT-501 - OnEventLand LandingChallengeComplex/EVT-501 - OnEventLand LandingChallengeComplex.miz and b/EVT - Event Handling/EVT-501 - OnEventLand LandingChallengeComplex/EVT-501 - OnEventLand LandingChallengeComplex.miz differ diff --git a/EVT - Event Handling/EVT-600 - OnEventHit Example with a Set of Units/EVT-600 - OnEventHit Example with a Set of Units.miz b/EVT - Event Handling/EVT-600 - OnEventHit Example with a Set of Units/EVT-600 - OnEventHit Example with a Set of Units.miz index 5075765577..b31776c4e8 100644 Binary files a/EVT - Event Handling/EVT-600 - OnEventHit Example with a Set of Units/EVT-600 - OnEventHit Example with a Set of Units.miz and b/EVT - Event Handling/EVT-600 - OnEventHit Example with a Set of Units/EVT-600 - OnEventHit Example with a Set of Units.miz differ diff --git a/FOR - AI Group Formation/FOR-001 - Bomber Speed and Route Test/FOR-001 - Bomber Speed and Route Test.miz b/FOR - AI Group Formation/FOR-001 - Bomber Speed and Route Test/FOR-001 - Bomber Speed and Route Test.miz index aa4a7d89c9..bb77efb3ee 100644 Binary files a/FOR - AI Group Formation/FOR-001 - Bomber Speed and Route Test/FOR-001 - Bomber Speed and Route Test.miz and b/FOR - AI Group Formation/FOR-001 - Bomber Speed and Route Test/FOR-001 - Bomber Speed and Route Test.miz differ diff --git a/FOR - AI Group Formation/FOR-100 - Bomber Left Line Formation/FOR-100 - Bomber Left Line Formation.miz b/FOR - AI Group Formation/FOR-100 - Bomber Left Line Formation/FOR-100 - Bomber Left Line Formation.miz index c570054af1..ad0c88ab57 100644 Binary files a/FOR - AI Group Formation/FOR-100 - Bomber Left Line Formation/FOR-100 - Bomber Left Line Formation.miz and b/FOR - AI Group Formation/FOR-100 - Bomber Left Line Formation/FOR-100 - Bomber Left Line Formation.miz differ diff --git a/FOR - AI Group Formation/FOR-101 - Bomber Right Line Formation/FOR-101 - Bomber Right Line Formation.miz b/FOR - AI Group Formation/FOR-101 - Bomber Right Line Formation/FOR-101 - Bomber Right Line Formation.miz index a4f6cf7247..de3e243e3a 100644 Binary files a/FOR - AI Group Formation/FOR-101 - Bomber Right Line Formation/FOR-101 - Bomber Right Line Formation.miz and b/FOR - AI Group Formation/FOR-101 - Bomber Right Line Formation/FOR-101 - Bomber Right Line Formation.miz differ diff --git a/FOR - AI Group Formation/FOR-102 - Bomber Left Wing Formation/FOR-102 - Bomber Left Wing Formation.miz b/FOR - AI Group Formation/FOR-102 - Bomber Left Wing Formation/FOR-102 - Bomber Left Wing Formation.miz index 5d93efe0a7..8b9625bd1a 100644 Binary files a/FOR - AI Group Formation/FOR-102 - Bomber Left Wing Formation/FOR-102 - Bomber Left Wing Formation.miz and b/FOR - AI Group Formation/FOR-102 - Bomber Left Wing Formation/FOR-102 - Bomber Left Wing Formation.miz differ diff --git a/FOR - AI Group Formation/FOR-103 - Bomber Right Wing Formation/FOR-103 - Bomber Right Wing Formation.miz b/FOR - AI Group Formation/FOR-103 - Bomber Right Wing Formation/FOR-103 - Bomber Right Wing Formation.miz index 098c5abf8d..b20a73ada8 100644 Binary files a/FOR - AI Group Formation/FOR-103 - Bomber Right Wing Formation/FOR-103 - Bomber Right Wing Formation.miz and b/FOR - AI Group Formation/FOR-103 - Bomber Right Wing Formation/FOR-103 - Bomber Right Wing Formation.miz differ diff --git a/FOR - AI Group Formation/FOR-104 - Bomber Center Wing Formation/FOR-104 - Bomber Center Wing Formation.miz b/FOR - AI Group Formation/FOR-104 - Bomber Center Wing Formation/FOR-104 - Bomber Center Wing Formation.miz index 188db991cc..d3b62ff547 100644 Binary files a/FOR - AI Group Formation/FOR-104 - Bomber Center Wing Formation/FOR-104 - Bomber Center Wing Formation.miz and b/FOR - AI Group Formation/FOR-104 - Bomber Center Wing Formation/FOR-104 - Bomber Center Wing Formation.miz differ diff --git a/FOR - AI Group Formation/FOR-105 - Bomber Trail Formation/FOR-105 - Bomber Trail Formation.miz b/FOR - AI Group Formation/FOR-105 - Bomber Trail Formation/FOR-105 - Bomber Trail Formation.miz index 1048138fa7..8da92f6f0b 100644 Binary files a/FOR - AI Group Formation/FOR-105 - Bomber Trail Formation/FOR-105 - Bomber Trail Formation.miz and b/FOR - AI Group Formation/FOR-105 - Bomber Trail Formation/FOR-105 - Bomber Trail Formation.miz differ diff --git a/FOR - AI Group Formation/FOR-106 - Bomber Box Formation/FOR-106 - Bomber Box Formation.miz b/FOR - AI Group Formation/FOR-106 - Bomber Box Formation/FOR-106 - Bomber Box Formation.miz index ccfd420104..dcbd3a12c7 100644 Binary files a/FOR - AI Group Formation/FOR-106 - Bomber Box Formation/FOR-106 - Bomber Box Formation.miz and b/FOR - AI Group Formation/FOR-106 - Bomber Box Formation/FOR-106 - Bomber Box Formation.miz differ diff --git a/FSM - Finite State Machine/FSM-100 - Transition Explanation/FSM-100 - Transition Explanation.miz b/FSM - Finite State Machine/FSM-100 - Transition Explanation/FSM-100 - Transition Explanation.miz index b8400823f2..e37c7d6e9c 100644 Binary files a/FSM - Finite State Machine/FSM-100 - Transition Explanation/FSM-100 - Transition Explanation.miz and b/FSM - Finite State Machine/FSM-100 - Transition Explanation/FSM-100 - Transition Explanation.miz differ diff --git a/GRP - Group Commands/GRP-100 - IsAlive/GRP-100 - IsAlive.miz b/GRP - Group Commands/GRP-100 - IsAlive/GRP-100 - IsAlive.miz index 01fa889e1e..ff1e563e91 100644 Binary files a/GRP - Group Commands/GRP-100 - IsAlive/GRP-100 - IsAlive.miz and b/GRP - Group Commands/GRP-100 - IsAlive/GRP-100 - IsAlive.miz differ diff --git a/GRP - Group Commands/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz b/GRP - Group Commands/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz index c70aaeae69..ee0b41dacb 100644 Binary files a/GRP - Group Commands/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz and b/GRP - Group Commands/GRP-100 - TaskAttackUnit/GRP-100 - TaskAttackUnit.miz differ diff --git a/GRP - Group Commands/GRP-200 - Follow Group/GRP-200 - Follow Group.miz b/GRP - Group Commands/GRP-200 - Follow Group/GRP-200 - Follow Group.miz index 9c99b0383d..3461dc0aef 100644 Binary files a/GRP - Group Commands/GRP-200 - Follow Group/GRP-200 - Follow Group.miz and b/GRP - Group Commands/GRP-200 - Follow Group/GRP-200 - Follow Group.miz differ diff --git a/GRP - Group Commands/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz b/GRP - Group Commands/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz index 744ecf6a8c..c1ed089a52 100644 Binary files a/GRP - Group Commands/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz and b/GRP - Group Commands/GRP-300 - Switch WayPoints/GRP-300 - Switch WayPoints.miz differ diff --git a/GRP - Group Commands/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz b/GRP - Group Commands/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz index 868f71f957..8644fadb23 100644 Binary files a/GRP - Group Commands/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz and b/GRP - Group Commands/GRP-310 - Command StopRoute/GRP-310 - Command StopRoute.miz differ diff --git a/GRP - Group Commands/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz b/GRP - Group Commands/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz index ca5a5348db..1fc274ff50 100644 Binary files a/GRP - Group Commands/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz and b/GRP - Group Commands/GRP-400 - RouteReturnToAirbase/GRP-400 - RouteReturnToAirbase.miz differ diff --git a/GRP - Group Commands/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz b/GRP - Group Commands/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz index 9a1157565b..75568e658b 100644 Binary files a/GRP - Group Commands/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz and b/GRP - Group Commands/GRP-500 - Ground TaskRoute/GRP-500 - Ground TaskRoute.miz differ diff --git a/GRP - Group Commands/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz b/GRP - Group Commands/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz index 42a4f149f9..5f325f6142 100644 Binary files a/GRP - Group Commands/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz and b/GRP - Group Commands/GRP-501 - Ground TaskRouteToVec2/GRP-501 - Ground TaskRouteToVec2.miz differ diff --git a/GRP - Group Commands/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz b/GRP - Group Commands/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz index 631c139b2d..96901048a1 100644 Binary files a/GRP - Group Commands/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz and b/GRP - Group Commands/GRP-502 - Route at waypoint to random point/GRP-502 - Route at waypoint to random point.miz differ diff --git a/GRP - Group Commands/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz b/GRP - Group Commands/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz index d5612c2e66..9a85f049d3 100644 Binary files a/GRP - Group Commands/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz and b/GRP - Group Commands/GRP-503 - NTTR Route at waypoint to random point/GRP-503 - NTTR Route at waypoint to random point.miz differ diff --git a/GRP - Group Commands/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz b/GRP - Group Commands/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz index da9ef8297b..278b2b3099 100644 Binary files a/GRP - Group Commands/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz and b/GRP - Group Commands/GRP-550 - Patrol a route/GRP-550 - Patrol a route.miz differ diff --git a/GRP - Group Commands/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz b/GRP - Group Commands/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz index b73912ee47..71e0cdcc3d 100644 Binary files a/GRP - Group Commands/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz and b/GRP - Group Commands/GRP-551 - Patrol to random points of a route/GRP-551 - Patrol to random points of a route.miz differ diff --git a/GRP - Group Commands/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz b/GRP - Group Commands/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz index 38a6fa1cb1..7681318d0c 100644 Binary files a/GRP - Group Commands/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz and b/GRP - Group Commands/GRP-552 - Patrol in a zone/GRP-552 - Patrol in a zone.miz differ diff --git a/GRP - Group Commands/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz b/GRP - Group Commands/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz index d4e27ae0cd..206951bcd9 100644 Binary files a/GRP - Group Commands/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz and b/GRP - Group Commands/GRP-553 - Patrol in a list of zones/GRP-553 - Patrol in a list of zones.miz differ diff --git a/GRP - Group Commands/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz b/GRP - Group Commands/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz index 709809d36b..8756e22297 100644 Binary files a/GRP - Group Commands/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz and b/GRP - Group Commands/GRP-601 - Respawn hidden/GRP-601 - Respawn hidden.miz differ diff --git a/GRP - Group Commands/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz b/GRP - Group Commands/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz index 39baa7ea83..a6ea0f087c 100644 Binary files a/GRP - Group Commands/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz and b/GRP - Group Commands/GRP-610 - Respawn in Zone/GRP-610 - Respawn in Zone.miz differ diff --git a/GRP - Group Commands/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz b/GRP - Group Commands/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz index 061893ba4d..c81a9d5146 100644 Binary files a/GRP - Group Commands/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz and b/GRP - Group Commands/GRP-611 - Respawn multiple units in Zone/GRP-611 - Respawn multiple units in Zone.miz differ diff --git a/GRP - Group Commands/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz b/GRP - Group Commands/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz index 296a7614e0..890720f41e 100644 Binary files a/GRP - Group Commands/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz and b/GRP - Group Commands/GRP-612 - Respawn multiple units in Zone randomized/GRP-612 - Respawn multiple units in Zone randomized.miz differ diff --git a/GRP - Group Commands/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz b/GRP - Group Commands/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz index d9b0896e08..5090b2d8b8 100644 Binary files a/GRP - Group Commands/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz and b/GRP - Group Commands/GRP-615 - Respawn in Zone hidden/GRP-615 - Respawn in Zone hidden.miz differ diff --git a/GRP - Group Commands/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz b/GRP - Group Commands/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz index 237238eca9..7c6bc1a76a 100644 Binary files a/GRP - Group Commands/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz and b/GRP - Group Commands/GRP-616 - Respawn multiple units in Zone hidden/GRP-616 - Respawn multiple units in Zone hidden.miz differ diff --git a/GRP - Group Commands/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz b/GRP - Group Commands/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz index 6e7f087447..c2b5d2b7ca 100644 Binary files a/GRP - Group Commands/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz and b/GRP - Group Commands/GRP-617 - Respawn multiple units in Zone randomized hidden/GRP-617 - Respawn multiple units in Zone randomized hidden.miz differ diff --git a/GRP - Group Commands/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz b/GRP - Group Commands/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz index 370adae343..9ef32e35a5 100644 Binary files a/GRP - Group Commands/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz and b/GRP - Group Commands/GRP-620 - Respawn multiple units when destroyed/GRP-620 - Respawn multiple units when destroyed.miz differ diff --git a/GRP - Group Commands/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz b/GRP - Group Commands/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz index 900f9c699d..5d9f20a3df 100644 Binary files a/GRP - Group Commands/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz and b/GRP - Group Commands/GRP-900 - Option Green and Red State/GRP-900 - Option Green and Red State.miz differ diff --git a/MEN - Menu Options/Nevada/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz b/MEN - Menu Options/Nevada/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz index ce6f92e560..8dd41acdef 100644 Binary files a/MEN - Menu Options/Nevada/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz and b/MEN - Menu Options/Nevada/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz differ diff --git a/MEN - Menu Options/Normandy/MEN-001 - Menu Client/MEN-001 - Menu Client.miz b/MEN - Menu Options/Normandy/MEN-001 - Menu Client/MEN-001 - Menu Client.miz index 5847251d25..27ad2424ac 100644 Binary files a/MEN - Menu Options/Normandy/MEN-001 - Menu Client/MEN-001 - Menu Client.miz and b/MEN - Menu Options/Normandy/MEN-001 - Menu Client/MEN-001 - Menu Client.miz differ diff --git a/MEN - Menu Options/Normandy/MEN-002 - Menu Coalition/MEN-002 - Menu Coalition.miz b/MEN - Menu Options/Normandy/MEN-002 - Menu Coalition/MEN-002 - Menu Coalition.miz index 8d516bbcbb..db128d90ce 100644 Binary files a/MEN - Menu Options/Normandy/MEN-002 - Menu Coalition/MEN-002 - Menu Coalition.miz and b/MEN - Menu Options/Normandy/MEN-002 - Menu Coalition/MEN-002 - Menu Coalition.miz differ diff --git a/MEN - Menu Options/Normandy/MEN-003 - Menu Group/MEN-003 - Menu Group.miz b/MEN - Menu Options/Normandy/MEN-003 - Menu Group/MEN-003 - Menu Group.miz index 0161bb876d..3eef3564ff 100644 Binary files a/MEN - Menu Options/Normandy/MEN-003 - Menu Group/MEN-003 - Menu Group.miz and b/MEN - Menu Options/Normandy/MEN-003 - Menu Group/MEN-003 - Menu Group.miz differ diff --git a/MEN - Menu Options/Normandy/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz b/MEN - Menu Options/Normandy/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz index cd4922f47f..550d3da162 100644 Binary files a/MEN - Menu Options/Normandy/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz and b/MEN - Menu Options/Normandy/MEN-102 - Menu Coalition Multi Player/MEN-102 - Menu Coalition Multi Player.miz differ diff --git a/MEN - Menu Options/Normandy/MEN-200 - Menu Stress Test 1/MEN-200 - Menu Stress Test 1.miz b/MEN - Menu Options/Normandy/MEN-200 - Menu Stress Test 1/MEN-200 - Menu Stress Test 1.miz index a7c227b030..5f004db848 100644 Binary files a/MEN - Menu Options/Normandy/MEN-200 - Menu Stress Test 1/MEN-200 - Menu Stress Test 1.miz and b/MEN - Menu Options/Normandy/MEN-200 - Menu Stress Test 1/MEN-200 - Menu Stress Test 1.miz differ diff --git a/MIT - Missile Trainer/MIT-001 - Missile Trainer/MIT-001 - Missile Trainer.miz b/MIT - Missile Trainer/MIT-001 - Missile Trainer/MIT-001 - Missile Trainer.miz index e3d5bd1790..6e85262615 100644 Binary files a/MIT - Missile Trainer/MIT-001 - Missile Trainer/MIT-001 - Missile Trainer.miz and b/MIT - Missile Trainer/MIT-001 - Missile Trainer/MIT-001 - Missile Trainer.miz differ diff --git a/OPS - ATIS/ATIS - 100 - Caucasus Batumi/ATIS - 100 - Caucasus Batumi.lua b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/ATIS - 100 - Caucasus Batumi.lua new file mode 100644 index 0000000000..4bbcf789ab --- /dev/null +++ b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/ATIS - 100 - Caucasus Batumi.lua @@ -0,0 +1,19 @@ + +-- ATIS Batumi Airport on 143.00 MHz AM. +atisBatumi=ATIS:New(AIRBASE.Caucasus.Batumi, 143.00) +atisBatumi:SetRadioRelayUnitName("Radio Relay Batumi") +atisBatumi:SetTowerFrequencies({260, 131}) +atisBatumi:Start() + +-- ATIS Vaziani Airport on 144.00 MHz AM. +atisVaziani=ATIS:New(AIRBASE.Caucasus.Vaziani, 144.00) +atisVaziani:SetRadioRelayUnitName("Radio Relay Vaziani") +atisVaziani:SetTowerFrequencies({269, 140}) +atisVaziani:Start() + +-- Only for debugging/info. +local airbases=AIRBASE.GetAllAirbases() +for _,_airbase in pairs(airbases) do + local airbase=_airbase --Wrapper.Airbase#AIRBASE + airbase:GetRunwayData(nil, true) +end diff --git a/OPS - ATIS/ATIS - 100 - Caucasus Batumi/ATIS - 100 - Caucasus Batumi.miz b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/ATIS - 100 - Caucasus Batumi.miz new file mode 100644 index 0000000000..6ba8699b03 Binary files /dev/null and b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/ATIS - 100 - Caucasus Batumi.miz differ diff --git a/OPS - ATIS/ATIS - 100 - Caucasus Batumi/pack.ps1 b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/OPS - ATIS/ATIS - 100 - Caucasus Batumi/unpack.ps1 b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - ATIS/ATIS - 100 - Caucasus Batumi/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/OPS - ATIS/ATIS - 200 - Nevada Nellis/ATIS - 200 - Nevada Nellis.lua b/OPS - ATIS/ATIS - 200 - Nevada Nellis/ATIS - 200 - Nevada Nellis.lua new file mode 100644 index 0000000000..9f054116a9 --- /dev/null +++ b/OPS - ATIS/ATIS - 200 - Nevada Nellis/ATIS - 200 - Nevada Nellis.lua @@ -0,0 +1,30 @@ +-- ATIS Nellis AFB on 270.10 MHz AM. +atisNellis=ATIS:New(AIRBASE.Nevada.Nellis_AFB, 270.1) +atisNellis:SetRadioRelayUnitName("Radio Relay Nellis") +atisNellis:SetActiveRunway("21L") +atisNellis:SetTowerFrequencies({327.000, 132.550}) +atisNellis:SetTACAN(12) +atisNellis:AddILS(109.1, "21") +atisNellis:Start() + +-- ATIS Creech AFB on 290.45 MHz +atisCreech=ATIS:New(AIRBASE.Nevada.Creech_AFB, 290.45) +atisCreech:SetRadioRelayUnitName("Radio Relay Creech") +atisCreech:SetTowerFrequencies({360.6, 118.3}) +atisCreech:AddILS(108.7, "08") +atisCreech:SetTACAN(87) +atisCreech:Start() + +-- ATIS McCarran International on 132.4 MHz +atisMcCarran=ATIS:New(AIRBASE.Nevada.McCarran_International_Airport, 132.4) +atisMcCarran:SetRadioRelayUnitName("Radio Relay McCarran") +atisMcCarran:SetTowerFrequencies({257.8, 119.9}) +atisMcCarran:SetRunwayHeadingsMagnetic({"25L", "25R"}) +atisMcCarran:SetActiveRunway("R") +atisMcCarran:AddILS(110.3, "25R") +atisMcCarran:AddILS(111.75, "25L") +atisMcCarran:SetVOR(116.9) +atisMcCarran:SetTACAN(116) +atisMcCarran:SetElevation() +atisMcCarran:SetRunwayLength() +atisMcCarran:Start() diff --git a/OPS - ATIS/ATIS - 200 - Nevada Nellis/ATIS - 200 - Nevada Nellis.miz b/OPS - ATIS/ATIS - 200 - Nevada Nellis/ATIS - 200 - Nevada Nellis.miz new file mode 100644 index 0000000000..fc450788c0 Binary files /dev/null and b/OPS - ATIS/ATIS - 200 - Nevada Nellis/ATIS - 200 - Nevada Nellis.miz differ diff --git a/OPS - ATIS/ATIS - 200 - Nevada Nellis/pack.ps1 b/OPS - ATIS/ATIS - 200 - Nevada Nellis/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - ATIS/ATIS - 200 - Nevada Nellis/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/OPS - ATIS/ATIS - 200 - Nevada Nellis/unpack.ps1 b/OPS - ATIS/ATIS - 200 - Nevada Nellis/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - ATIS/ATIS - 200 - Nevada Nellis/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/ATIS - 300 - Persian Gulf Dubai.lua b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/ATIS - 300 - Persian Gulf Dubai.lua new file mode 100644 index 0000000000..89824a2690 --- /dev/null +++ b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/ATIS - 300 - Persian Gulf Dubai.lua @@ -0,0 +1,26 @@ + +atisDubai=ATIS:New(AIRBASE.PersianGulf.Dubai_Intl, 131.7) +atisDubai:SetRadioRelayUnitName("Radio Relay Dubai Intl") +atisDubai:SetMetricUnits() +atisDubai:SetActiveRunway("R") +atisDubai:SetTowerFrequencies({251.05, 118.75}) +atisDubai:AddILS(110.9, "30") +atisDubai:AddILS(110.1, "12") +atisDubai:Start() + +atisAbuDhabi=ATIS:New(AIRBASE.PersianGulf.Abu_Dhabi_International_Airport, 125.1) +atisAbuDhabi:SetRadioRelayUnitName("Radio Relay Abu Dhabi International Airport") +atisAbuDhabi:SetMetricUnits() +atisAbuDhabi:SetActiveRunway("L") +atisAbuDhabi:SetTowerFrequencies({250.5, 119.2}) +atisAbuDhabi:SetVOR(114.25) +atisAbuDhabi:Start() + +-- For debug only! Mark Runway info on F10 map. +--atisAbuDhabi:MarkRunways(true) + +-- Jiroft Airport. No radio relay unit ==> No subtitles. +atisJiroft=ATIS:New(AIRBASE.PersianGulf.Jiroft_Airport, 130) +atisJiroft:SetMetricUnits() +atisJiroft:SetTowerFrequencies({250.75, 136}) +atisJiroft:Start() \ No newline at end of file diff --git a/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/ATIS - 300 - Persian Gulf Dubai.miz b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/ATIS - 300 - Persian Gulf Dubai.miz new file mode 100644 index 0000000000..585276e568 Binary files /dev/null and b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/ATIS - 300 - Persian Gulf Dubai.miz differ diff --git a/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/pack.ps1 b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/unpack.ps1 b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - ATIS/ATIS - 300 - Persian Gulf Dubai/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/BOS-100 - Stennis Hornet and Tomcat.lua b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/BOS-100 - Stennis Hornet and Tomcat.lua new file mode 100644 index 0000000000..5afc63d101 --- /dev/null +++ b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/BOS-100 - Stennis Hornet and Tomcat.lua @@ -0,0 +1,150 @@ +---------------------------------------------------------------------------------------- +--- +-- Name: BOS-100 - Stennis Hornet and Tomcat +-- Author: funkyfranky +-- Date Created: 17 August 2019 +-- +-- # Situation: +-- +-- Practice Case I/II/III recovery using the F/A-18C Hornet or F-14B Tomcat. +-- +-- See mission briefing for further details. +-- +-- *** IMPORTANT *** +-- If you run the mission in single player, hit ESC twice before entering a slot! +-- Otherwise the script will not load due to a long standing DCS bug. +-- +---------------------------------------------------------------------------------------- + +-- No MOOSE settings menu. Comment out this line if required. +_SETTINGS:SetPlayerMenuOff() + +-- S-3B Recovery Tanker spawning in air. +local tanker=RECOVERYTANKER:New("USS Stennis", "Texaco Group") +tanker:SetTakeoffAir() +tanker:SetRadio(250) +tanker:SetModex(511) +tanker:SetTACAN(1, "TKR") +tanker:__Start(1) + +-- E-2D AWACS spawning on Stennis. +local awacs=RECOVERYTANKER:New("USS Stennis", "E-2D Wizard Group") +awacs:SetAWACS() +awacs:SetRadio(260) +awacs:SetAltitude(20000) +awacs:SetCallsign(CALLSIGN.AWACS.Wizard) +awacs:SetRacetrackDistances(30, 15) +awacs:SetModex(611) +awacs:SetTACAN(2, "WIZ") +awacs:__Start(1) + +-- Rescue Helo with home base Lake Erie. Has to be a global object! +rescuehelo=RESCUEHELO:New("USS Stennis", "Rescue Helo") +rescuehelo:SetHomeBase(AIRBASE:FindByName("Lake Erie")) +rescuehelo:SetModex(42) +rescuehelo:__Start(1) + +-- Create AIRBOSS object. +local AirbossStennis=AIRBOSS:New("USS Stennis") + +-- Add recovery windows: +-- Case I from 9 to 10 am. +local window1=AirbossStennis:AddRecoveryWindow( "9:00", "10:00", 1, nil, true, 25) +-- Case II with +15 degrees holding offset from 15:00 for 60 min. +local window2=AirbossStennis:AddRecoveryWindow("15:00", "16:00", 2, 15, true, 23) +-- Case III with +30 degrees holding offset from 2100 to 2200. +local window3=AirbossStennis:AddRecoveryWindow("21:00", "22:00", 3, 30, true, 21) + +-- Set folder of airboss sound files within miz file. +AirbossStennis:SetSoundfilesFolder("Airboss Soundfiles/") + +-- Single carrier menu optimization. +AirbossStennis:SetMenuSingleCarrier() + +-- Skipper menu. +AirbossStennis:SetMenuRecovery(30, 20, false) + +-- Remove landed AI planes from flight deck. +AirbossStennis:SetDespawnOnEngineShutdown() + +-- Load all saved player grades from your "Saved Games\DCS" folder (if lfs was desanitized). +AirbossStennis:Load() + +-- Automatically save player results to your "Saved Games\DCS" folder each time a player get a final grade from the LSO. +AirbossStennis:SetAutoSave() + +-- Enable trap sheet. +AirbossStennis:SetTrapSheet() + +-- Start airboss class. +AirbossStennis:Start() + + +--- Function called when recovery tanker is started. +function tanker:OnAfterStart(From,Event,To) + + -- Set recovery tanker. + AirbossStennis:SetRecoveryTanker(tanker) + + + -- Use tanker as radio relay unit for LSO transmissions. + AirbossStennis:SetRadioRelayLSO(self:GetUnitName()) + +end + +--- Function called when AWACS is started. +function awacs:OnAfterStart(From,Event,To) + -- Set AWACS. + AirbossStennis:SetRecoveryTanker(tanker) +end + + +--- Function called when rescue helo is started. +function rescuehelo:OnAfterStart(From,Event,To) + -- Use rescue helo as radio relay for Marshal. + AirbossStennis:SetRadioRelayMarshal(self:GetUnitName()) +end + +--- Function called when a player gets graded by the LSO. +function AirbossStennis:OnAfterLSOGrade(From, Event, To, playerData, grade) + local PlayerData=playerData --Ops.Airboss#AIRBOSS.PlayerData + local Grade=grade --Ops.Airboss#AIRBOSS.LSOgrade + + ---------------------------------------- + --- Interface your Discord bot here! --- + ---------------------------------------- + + local score=tonumber(Grade.points) + local name=tostring(PlayerData.name) + + -- Report LSO grade to dcs.log file. + env.info(string.format("Player %s scored %.1f", name, score)) +end + + +--------------------------- +--- Generate AI Traffic --- +--------------------------- + +-- Spawn some AI flights as additional traffic. +local F181=SPAWN:New("FA-18C Group 1"):InitModex(111) -- Coming in from NW after ~ 6 min +local F182=SPAWN:New("FA-18C Group 2"):InitModex(112) -- Coming in from NW after ~20 min +local F183=SPAWN:New("FA-18C Group 3"):InitModex(113) -- Coming in from W after ~18 min +local F14=SPAWN:New("F-14B 2ship"):InitModex(211) -- Coming in from SW after ~ 4 min +local E2D=SPAWN:New("E-2D Group"):InitModex(311) -- Coming in from NE after ~10 min +local S3B=SPAWN:New("S-3B Group"):InitModex(411) -- Coming in from S after ~16 min + +-- Spawn always 9 min before the recovery window opens. +local spawntimes={"8:51", "14:51", "20:51"} +for _,spawntime in pairs(spawntimes) do + local _time=UTILS.ClockToSeconds(spawntime)-timer.getAbsTime() + if _time>0 then + SCHEDULER:New(nil, F181.Spawn, {F181}, _time) + SCHEDULER:New(nil, F182.Spawn, {F182}, _time) + SCHEDULER:New(nil, F183.Spawn, {F183}, _time) + SCHEDULER:New(nil, F14.Spawn, {F14}, _time) + SCHEDULER:New(nil, E2D.Spawn, {E2D}, _time) + SCHEDULER:New(nil, S3B.Spawn, {S3B}, _time) + end +end + diff --git a/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/BOS-100 - Stennis Hornet and Tomcat.miz b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/BOS-100 - Stennis Hornet and Tomcat.miz new file mode 100644 index 0000000000..3b916e79bb Binary files /dev/null and b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/BOS-100 - Stennis Hornet and Tomcat.miz differ diff --git a/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/pack.ps1 b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/unpack.ps1 b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - Airboss/Caucasus/BOS-100 - Stennis Hornet and Tomcat/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/BOS-200 - Tarawa Harrier.lua b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/BOS-200 - Tarawa Harrier.lua new file mode 100644 index 0000000000..b8a12422d9 --- /dev/null +++ b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/BOS-200 - Tarawa Harrier.lua @@ -0,0 +1,124 @@ +---------------------------------------------------------------------------------------- +--- +-- Name: BOS-200 - Tarawa Harrier +-- Author: funkyfranky +-- Date Created: 18 August 2019 +-- +-- # Situation: +-- +-- Practice Case I/II/III recovery using the AV-8B Harrier on the USS Tarawa. +-- +-- See mission briefing for further details. +-- +-- *** IMPORTANT *** +-- If you run the mission in single player, hit ESC twice before entering a slot! +-- Otherwise the script will not load due to a long standing DCS bug. +-- +---------------------------------------------------------------------------------------- + +-- No MOOSE settings menu. Comment out this line if required. +_SETTINGS:SetPlayerMenuOff() + +-- Rescue Helo with home base USS Viksburg. Has to be a global object! +rescuehelo=RESCUEHELO:New("USS Tarawa", "Rescue Helo") +rescuehelo:SetHomeBase(AIRBASE:FindByName("USS Viksburg")) +rescuehelo:SetModex(42) + +-- Create AIRBOSS object. +local AirbossTarawa=AIRBOSS:New("USS Tarawa") + +-- Add recovery windows: +-- Case I from 9:00 to 10:00 am. +local window1=AirbossTarawa:AddRecoveryWindow( "9:00", "10:00", 1, nil, true, 25) +-- Case II with +15 degrees holding offset from 15:00 for 60 min. +local window2=AirbossTarawa:AddRecoveryWindow("15:00", "16:00", 2, 15, true, 20) +-- Case III with +30 degrees holding offset from 2100 to 2200. +local window3=AirbossTarawa:AddRecoveryWindow("21:00", "22:00", 3, 30, true, 20) + +-- Set TACAN. +AirbossTarawa:SetTACAN(73, "X", "LHA") + +-- Not sure if Tarawa has ICLS? +--AirbossTarawa:SetICLSoff() + +-- Load all saved player grades from your "Saved Games\DCS" folder (if lfs was desanitized). +AirbossTarawa:Load() + +-- Automatically save player results to your "Saved Games\DCS" folder each time a player get a final grade from the LSO. +AirbossTarawa:SetAutoSave() + +-- Set radio relay units in order to properly send transmissions with subtitles only visible if correct frequency is tuned in. +AirbossTarawa:SetRadioRelayLSO("CH-53E Radio Relay") +AirbossTarawa:SetRadioRelayMarshal("SH-60B Radio Relay") + +-- Radios. +AirbossTarawa:SetMarshalRadio(243) +AirbossTarawa:SetLSORadio(265) + +--Set folder of airboss sound files within miz file. +AirbossTarawa:SetSoundfilesFolder("Airboss Soundfiles/") + +-- Remove landed AI planes from flight deck. +AirbossTarawa:SetDespawnOnEngineShutdown() + +-- Single carrier menu optimization. +AirbossTarawa:SetMenuSingleCarrier() + +-- Add Skipper menu to start recovery via F10 radio menu. +AirbossTarawa:SetMenuRecovery(30, 20, true) + +-- Start Airboss. +AirbossTarawa:Start() + + +--- Function called when a recovery starts. +function AirbossTarawa:OnAfterRecoveryStart(From, Event, To, Case, Offset) + -- Start helo. + rescuehelo:Start() +end + +--- Function called when a recovery ends. +function AirbossTarawa:OnAfterRecoveryStop(From,Event,To) + -- Send helo RTB. + rescuehelo:RTB() +end + +--- Function called when the rescue helo has returned to base. +function rescuehelo:OnAfterReturned(From, Event, To, airbase) + -- Stop helo. + self:__Stop(3) +end + +--- Function called when a player gets graded by the LSO. +function AirbossTarawa:OnAfterLSOGrade(From, Event, To, playerData, grade) + local PlayerData=playerData --Ops.Airboss#AIRBOSS.PlayerData + local Grade=grade --Ops.Airboss#AIRBOSS.LSOgrade + + ---------------------------------------- + --- Interface your Discord bot here! --- + ---------------------------------------- + + local score=tonumber(Grade.points) + local name=tostring(PlayerData.name) + + -- Report LSO grade to dcs.log file. + env.info(self.lid..string.format("Player %s scored %.1f", name, score)) +end + + +--------------------------- +--- Generate AI Traffic --- +--------------------------- + +local AV8B1=SPAWN:New("Harrier Group 1"):InitModex(70) +local AV8B2=SPAWN:New("Harrier Group 2"):InitModex(80) + +-- Spawn always 9 min before the recovery window opens. +local spawntimes={"9:06", "14:51", "20:51"} +for _,spawntime in pairs(spawntimes) do + local _time=UTILS.ClockToSeconds(spawntime)-timer.getAbsTime() + if _time>0 then + SCHEDULER:New(nil, AV8B1.Spawn, {AV8B1}, _time) + SCHEDULER:New(nil, AV8B2.Spawn, {AV8B2}, _time) + end +end diff --git a/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/BOS-200 - Tarawa Harrier.miz b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/BOS-200 - Tarawa Harrier.miz new file mode 100644 index 0000000000..7650812562 Binary files /dev/null and b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/BOS-200 - Tarawa Harrier.miz differ diff --git a/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/pack.ps1 b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/unpack.ps1 b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - Airboss/Caucasus/BOS-200 - Tarawa Harrier/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/BOS-200 - Fortress Cherbourg Stennig FA-18C.lua b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/BOS-200 - Fortress Cherbourg Stennig FA-18C.lua new file mode 100644 index 0000000000..da3faacacd --- /dev/null +++ b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/BOS-200 - Fortress Cherbourg Stennig FA-18C.lua @@ -0,0 +1,83 @@ +------------------------- +-- AIRBOSS Test Script -- +------------------------- + +-- Set mission menu. +AIRBOSS.MenuF10Root=MENU_MISSION:New("Airboss").MenuPath + +-- No MOOSE settings menu. +_SETTINGS:SetPlayerMenuOff() + +-- S-3B Recovery Tanker spawning in air. +local tanker=RECOVERYTANKER:New("CVN-74", "- Texaco Tanker") +tanker:SetTakeoffAir() +tanker:SetRadio(256) +tanker:SetModex(511) +tanker:SetTACAN(1, "TKR") +tanker:Start() + +-- E-2D AWACS spawning in air +local awacs=RECOVERYTANKER:New("CVN-74", "AWACS") +awacs:SetAWACS() +awacs:SetTakeoffAir() +awacs:SetRadio(264) +awacs:SetAltitude(20000) +awacs:SetCallsign(CALLSIGN.AWACS.Overloard) +awacs:SetRacetrackDistances(20, 8) +awacs:SetModex(611) +awacs:SetTACAN(2, "OLV") +awacs:Start() + +-- Rescue Helo spawned in air with home base USS Perry. Has to be a global object! +rescuehelo=RESCUEHELO:New("CVN-74", "CV Helo") +rescuehelo:SetHomeBase(AIRBASE:FindByName("CG-67")) +rescuehelo:SetTakeoffAir() +rescuehelo:SetModex(42) +rescuehelo:Start() + +-- Create AIRBOSS object. +local AirbossStennis=AIRBOSS:New("CVN-74") + +-- Add recovery windows: +local window1=AirbossStennis:AddRecoveryWindow("18:30", "21:00", 1, nil, true, 20) + +-- Radio freqs. +AirbossStennis:SetMarshalRadio(305) +AirbossStennis:SetLSORadio(265) + +-- Radio relay units. +AirbossStennis:SetRadioRelayLSO(rescuehelo:GetUnitName()) +AirbossStennis:SetRadioRelayMarshal(tanker:GetUnitName()) + +-- Set folder of airboss sound files within miz file. +AirbossStennis:SetSoundfilesFolder("Airboss Soundfiles/") + +-- Single carrier menu optimization. +AirbossStennis:SetMenuSingleCarrier() + +-- Enable skipper menu. +AirbossStennis:SetMenuRecovery(15, 30, true) + +-- AI groups explicitly excluded from handling by the Airboss +AirbossStennis:SetHandleAIOFF() + +-- Remove landed AI planes from flight deck. +AirbossStennis:SetDespawnOnEngineShutdown() + +-- Load all saved player grades from your "Saved Games\DCS" folder (if lfs was desanitized). +AirbossStennis:Load() + +-- Automatically save player results to your "Saved Games\DCS" folder each time a player get a final grade from the LSO. +AirbossStennis:SetAutoSave() + +-- Enable trap sheet. +AirbossStennis:SetTrapSheet() + +-- Set recovery tanker +AirbossStennis:SetRecoveryTanker(tanker) + +-- Set AWACS. +AirbossStennis:SetAWACS(awacs) + +-- Start airboss class. +AirbossStennis:Start() diff --git a/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/BOS-200 - Fortress Cherbourg.miz b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/BOS-200 - Fortress Cherbourg.miz new file mode 100644 index 0000000000..67fbe04f2e Binary files /dev/null and b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/BOS-200 - Fortress Cherbourg.miz differ diff --git a/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/pack.ps1 b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/unpack.ps1 b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - Airboss/Normandy/BOS-200 - Fortress Cherbourg/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/PAT - Patrolling/PAT-001 - Switching Patrol Zones/PAT-001 - Switching Patrol Zones.miz b/PAT - Patrolling/PAT-001 - Switching Patrol Zones/PAT-001 - Switching Patrol Zones.miz index 67bf963423..5228556983 100644 Binary files a/PAT - Patrolling/PAT-001 - Switching Patrol Zones/PAT-001 - Switching Patrol Zones.miz and b/PAT - Patrolling/PAT-001 - Switching Patrol Zones/PAT-001 - Switching Patrol Zones.miz differ diff --git a/RAD - Radio/RAD-000 - Transmission from Static/RAD-000 - Transmission from Static.miz b/RAD - Radio/RAD-000 - Transmission from Static/RAD-000 - Transmission from Static.miz index cd57d0fd6b..26b9157200 100644 Binary files a/RAD - Radio/RAD-000 - Transmission from Static/RAD-000 - Transmission from Static.miz and b/RAD - Radio/RAD-000 - Transmission from Static/RAD-000 - Transmission from Static.miz differ diff --git a/RAD - Radio/RAD-001 - Transmission from UNIT or GROUP/RAD-001 - Transmission from UNIT or GROUP.miz b/RAD - Radio/RAD-001 - Transmission from UNIT or GROUP/RAD-001 - Transmission from UNIT or GROUP.miz index 5a32654fa5..f0acca348f 100644 Binary files a/RAD - Radio/RAD-001 - Transmission from UNIT or GROUP/RAD-001 - Transmission from UNIT or GROUP.miz and b/RAD - Radio/RAD-001 - Transmission from UNIT or GROUP/RAD-001 - Transmission from UNIT or GROUP.miz differ diff --git a/RAD - Radio/RAD-002 - Transmission Tips and Tricks/RAD-002 - Transmission Tips and Tricks.miz b/RAD - Radio/RAD-002 - Transmission Tips and Tricks/RAD-002 - Transmission Tips and Tricks.miz index 997f041b24..566c632ebc 100644 Binary files a/RAD - Radio/RAD-002 - Transmission Tips and Tricks/RAD-002 - Transmission Tips and Tricks.miz and b/RAD - Radio/RAD-002 - Transmission Tips and Tricks/RAD-002 - Transmission Tips and Tricks.miz differ diff --git a/RAD - Radio/RAD-010 - Beacons/RAD-010 - Beacons.miz b/RAD - Radio/RAD-010 - Beacons/RAD-010 - Beacons.miz index e21f7bdc07..76cdae5788 100644 Binary files a/RAD - Radio/RAD-010 - Beacons/RAD-010 - Beacons.miz and b/RAD - Radio/RAD-010 - Beacons/RAD-010 - Beacons.miz differ diff --git a/RAD - Radio/RAD-100 - Speech/RAD-100 - Speech.lua b/RAD - Radio/RAD-100 - Speech/RAD-100 - Speech.lua new file mode 100644 index 0000000000..4523bcce21 --- /dev/null +++ b/RAD - Radio/RAD-100 - Speech/RAD-100 - Speech.lua @@ -0,0 +1,19 @@ +-- This test mission demonstrates the BEACON class. +-- The goal is to activate 2 types of beacons : 1 TACAN beacon attach to an aircraft, and 1 generic radio beacon attach to a ground UNIT + +-- The player aircraft needs to be ASM and TACAN compatible. Please replace the M2000C by an aircraft you own and can receive TACAN signals + +-- Activates the trace to see what BEACON does in the log +--BASE:TraceClass("BEACON") +BASE:TraceLevel(3) + +-- Create our UNITs on which we'll attach a BEACON +local Aircraft = UNIT:FindByName("Unit1") +local LandUnit = UNIT:FindByName("Unit2") + +RadioSpeech = RADIOSPEECH:New( 124 ) +RadioSpeech:SetSenderUnitName( "Unit2" ) + +RadioSpeech:Start() + +RadioSpeech:ScheduleRepeat( 5, 30, 0, nil, RadioSpeech.Speak, "springfield11, patrolling" ) \ No newline at end of file diff --git a/RAD - Radio/RAD-100 - Speech/RAD-100 - Speech.miz b/RAD - Radio/RAD-100 - Speech/RAD-100 - Speech.miz new file mode 100644 index 0000000000..8ad9c3b03f Binary files /dev/null and b/RAD - Radio/RAD-100 - Speech/RAD-100 - Speech.miz differ diff --git a/RAD - Radio/RAD-100 - Speech/pack.ps1 b/RAD - Radio/RAD-100 - Speech/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/RAD - Radio/RAD-100 - Speech/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/RAD - Radio/RAD-100 - Speech/unpack.ps1 b/RAD - Radio/RAD-100 - Speech/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/RAD - Radio/RAD-100 - Speech/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/RAT - Random Air Traffic/Caucasus/RAT-001 - Basic/RAT-001 - Basic.miz b/RAT - Random Air Traffic/Caucasus/RAT-001 - Basic/RAT-001 - Basic.miz index 3849028b18..884f3542db 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-001 - Basic/RAT-001 - Basic.miz and b/RAT - Random Air Traffic/Caucasus/RAT-001 - Basic/RAT-001 - Basic.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-002 - Fixed Departure/RAT-002 - Fixed Departure.miz b/RAT - Random Air Traffic/Caucasus/RAT-002 - Fixed Departure/RAT-002 - Fixed Departure.miz index 2fd4200a6d..aa1ddc0d45 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-002 - Fixed Departure/RAT-002 - Fixed Departure.miz and b/RAT - Random Air Traffic/Caucasus/RAT-002 - Fixed Departure/RAT-002 - Fixed Departure.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-003 - Fixed Destination/RAT-003 - Fixed Destination.miz b/RAT - Random Air Traffic/Caucasus/RAT-003 - Fixed Destination/RAT-003 - Fixed Destination.miz index d10b47dbb6..0964ec95ad 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-003 - Fixed Destination/RAT-003 - Fixed Destination.miz and b/RAT - Random Air Traffic/Caucasus/RAT-003 - Fixed Destination/RAT-003 - Fixed Destination.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-004 - Fixed Departure and Destination/RAT-004 - Fixed Departure and Destination.miz b/RAT - Random Air Traffic/Caucasus/RAT-004 - Fixed Departure and Destination/RAT-004 - Fixed Departure and Destination.miz index 086215b8f5..cdc9d02280 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-004 - Fixed Departure and Destination/RAT-004 - Fixed Departure and Destination.miz and b/RAT - Random Air Traffic/Caucasus/RAT-004 - Fixed Departure and Destination/RAT-004 - Fixed Departure and Destination.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-005 - Resticted Coalition/RAT-005 - Resticted Coalition.miz b/RAT - Random Air Traffic/Caucasus/RAT-005 - Resticted Coalition/RAT-005 - Resticted Coalition.miz index 1e4cc79c28..bddf0c3065 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-005 - Resticted Coalition/RAT-005 - Resticted Coalition.miz and b/RAT - Random Air Traffic/Caucasus/RAT-005 - Resticted Coalition/RAT-005 - Resticted Coalition.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-006 - Continue Journey/RAT-006 - Continue Journey.miz b/RAT - Random Air Traffic/Caucasus/RAT-006 - Continue Journey/RAT-006 - Continue Journey.miz index ed4a699bd5..64ddd7331c 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-006 - Continue Journey/RAT-006 - Continue Journey.miz and b/RAT - Random Air Traffic/Caucasus/RAT-006 - Continue Journey/RAT-006 - Continue Journey.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-007 - Commute/RAT-007 - Commute.miz b/RAT - Random Air Traffic/Caucasus/RAT-007 - Commute/RAT-007 - Commute.miz index 6cc5200f47..061aebd226 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-007 - Commute/RAT-007 - Commute.miz and b/RAT - Random Air Traffic/Caucasus/RAT-007 - Commute/RAT-007 - Commute.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-008 - Spawn in Air/RAT-008 - Spawn in Air.miz b/RAT - Random Air Traffic/Caucasus/RAT-008 - Spawn in Air/RAT-008 - Spawn in Air.miz index 6ff0744ee8..802b509be8 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-008 - Spawn in Air/RAT-008 - Spawn in Air.miz and b/RAT - Random Air Traffic/Caucasus/RAT-008 - Spawn in Air/RAT-008 - Spawn in Air.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-009 - Set Cruise Altitude/RAT-009 - Set Cruise Altitude.miz b/RAT - Random Air Traffic/Caucasus/RAT-009 - Set Cruise Altitude/RAT-009 - Set Cruise Altitude.miz index 260113dea0..9cd61e6b55 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-009 - Set Cruise Altitude/RAT-009 - Set Cruise Altitude.miz and b/RAT - Random Air Traffic/Caucasus/RAT-009 - Set Cruise Altitude/RAT-009 - Set Cruise Altitude.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-010 - Helo FARP and Ship/RAT-010 - Helo FARP and Ship.miz b/RAT - Random Air Traffic/Caucasus/RAT-010 - Helo FARP and Ship/RAT-010 - Helo FARP and Ship.miz index e6e4431319..f9a223ae71 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-010 - Helo FARP and Ship/RAT-010 - Helo FARP and Ship.miz and b/RAT - Random Air Traffic/Caucasus/RAT-010 - Helo FARP and Ship/RAT-010 - Helo FARP and Ship.miz differ diff --git a/RAT - Random Air Traffic/Caucasus/RAT-011 - Carrier Ops/RAT-011 - Carrier Ops.miz b/RAT - Random Air Traffic/Caucasus/RAT-011 - Carrier Ops/RAT-011 - Carrier Ops.miz index 9f36fcb3ee..a6a847fc37 100644 Binary files a/RAT - Random Air Traffic/Caucasus/RAT-011 - Carrier Ops/RAT-011 - Carrier Ops.miz and b/RAT - Random Air Traffic/Caucasus/RAT-011 - Carrier Ops/RAT-011 - Carrier Ops.miz differ diff --git a/RAT - Random Air Traffic/Nevada/RAT-010 - Traffic at McCarran International/RAT-010 - Traffic at McCarran International.miz b/RAT - Random Air Traffic/Nevada/RAT-010 - Traffic at McCarran International/RAT-010 - Traffic at McCarran International.miz index a0d1d7eaf3..12db1f9465 100644 Binary files a/RAT - Random Air Traffic/Nevada/RAT-010 - Traffic at McCarran International/RAT-010 - Traffic at McCarran International.miz and b/RAT - Random Air Traffic/Nevada/RAT-010 - Traffic at McCarran International/RAT-010 - Traffic at McCarran International.miz differ diff --git a/RAT - Random Air Traffic/Nevada/RAT-011 - Traffic at Nellis AFB/RAT-011 - Traffic at Nellis AFB.miz b/RAT - Random Air Traffic/Nevada/RAT-011 - Traffic at Nellis AFB/RAT-011 - Traffic at Nellis AFB.miz index a4e97d7482..9844b85a56 100644 Binary files a/RAT - Random Air Traffic/Nevada/RAT-011 - Traffic at Nellis AFB/RAT-011 - Traffic at Nellis AFB.miz and b/RAT - Random Air Traffic/Nevada/RAT-011 - Traffic at Nellis AFB/RAT-011 - Traffic at Nellis AFB.miz differ diff --git a/RAT - Random Air Traffic/Normandy/RAT-020 - WWII Scenario/RAT-020 - WWII Scenario.miz b/RAT - Random Air Traffic/Normandy/RAT-020 - WWII Scenario/RAT-020 - WWII Scenario.miz index 8542a448cd..44dfff5455 100644 Binary files a/RAT - Random Air Traffic/Normandy/RAT-020 - WWII Scenario/RAT-020 - WWII Scenario.miz and b/RAT - Random Air Traffic/Normandy/RAT-020 - WWII Scenario/RAT-020 - WWII Scenario.miz differ diff --git a/SCH - Scheduler/SCH-000 - Simple Scheduling/SCH-000 - Simple Scheduling.miz b/SCH - Scheduler/SCH-000 - Simple Scheduling/SCH-000 - Simple Scheduling.miz index 7b0d748c58..6b280298ab 100644 Binary files a/SCH - Scheduler/SCH-000 - Simple Scheduling/SCH-000 - Simple Scheduling.miz and b/SCH - Scheduler/SCH-000 - Simple Scheduling/SCH-000 - Simple Scheduling.miz differ diff --git a/SCH - Scheduler/SCH-001 - Simple Object Scheduling/SCH-001 - Simple Object Scheduling.miz b/SCH - Scheduler/SCH-001 - Simple Object Scheduling/SCH-001 - Simple Object Scheduling.miz index 0da8650f8b..88245c09b8 100644 Binary files a/SCH - Scheduler/SCH-001 - Simple Object Scheduling/SCH-001 - Simple Object Scheduling.miz and b/SCH - Scheduler/SCH-001 - Simple Object Scheduling/SCH-001 - Simple Object Scheduling.miz differ diff --git a/SCH - Scheduler/SCH-100 - Simple Repeat Scheduling/SCH-100 - Simple Repeat Scheduling.miz b/SCH - Scheduler/SCH-100 - Simple Repeat Scheduling/SCH-100 - Simple Repeat Scheduling.miz index 6dc1a1986a..b803a4ef77 100644 Binary files a/SCH - Scheduler/SCH-100 - Simple Repeat Scheduling/SCH-100 - Simple Repeat Scheduling.miz and b/SCH - Scheduler/SCH-100 - Simple Repeat Scheduling/SCH-100 - Simple Repeat Scheduling.miz differ diff --git a/SCH - Scheduler/SCH-110 - Object Repeat Scheduling/SCH-110 - Object Repeat Scheduling.miz b/SCH - Scheduler/SCH-110 - Object Repeat Scheduling/SCH-110 - Object Repeat Scheduling.miz index d5b23f3e36..de9f54fd74 100644 Binary files a/SCH - Scheduler/SCH-110 - Object Repeat Scheduling/SCH-110 - Object Repeat Scheduling.miz and b/SCH - Scheduler/SCH-110 - Object Repeat Scheduling/SCH-110 - Object Repeat Scheduling.miz differ diff --git a/SCH - Scheduler/SCH-200 - Simple Repeat Scheduling Stop and Start/SCH-200 - Simple Repeat Scheduling Stop and Start.miz b/SCH - Scheduler/SCH-200 - Simple Repeat Scheduling Stop and Start/SCH-200 - Simple Repeat Scheduling Stop and Start.miz index 4071e61744..78c795c7b1 100644 Binary files a/SCH - Scheduler/SCH-200 - Simple Repeat Scheduling Stop and Start/SCH-200 - Simple Repeat Scheduling Stop and Start.miz and b/SCH - Scheduler/SCH-200 - Simple Repeat Scheduling Stop and Start/SCH-200 - Simple Repeat Scheduling Stop and Start.miz differ diff --git a/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/SCH-300 - GC Simple Object Scheduling.miz b/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/SCH-300 - GC Simple Object Scheduling.miz index 5814f4301c..19fe6240fc 100644 Binary files a/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/SCH-300 - GC Simple Object Scheduling.miz and b/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/SCH-300 - GC Simple Object Scheduling.miz differ diff --git a/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/pack.ps1 b/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/pack.ps1 +++ b/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/unpack.ps1 b/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/unpack.ps1 index c208a31858..0206e08131 100644 --- a/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/unpack.ps1 +++ b/SCH - Scheduler/SCH-300 - GC Simple Object Scheduling/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/SCH - Scheduler/SCH-310 - GC Object Repeat Scheduling/SCH-310 - GC Object Repeat Scheduling.miz b/SCH - Scheduler/SCH-310 - GC Object Repeat Scheduling/SCH-310 - GC Object Repeat Scheduling.miz index ad6ec58f64..7d38e5bb59 100644 Binary files a/SCH - Scheduler/SCH-310 - GC Object Repeat Scheduling/SCH-310 - GC Object Repeat Scheduling.miz and b/SCH - Scheduler/SCH-310 - GC Object Repeat Scheduling/SCH-310 - GC Object Repeat Scheduling.miz differ diff --git a/SCO - Scoring/SCO-100 - Scoring Demo/SCO-100 - Scoring Demo.miz b/SCO - Scoring/SCO-100 - Scoring Demo/SCO-100 - Scoring Demo.miz index 122a2af760..de7f17b360 100644 Binary files a/SCO - Scoring/SCO-100 - Scoring Demo/SCO-100 - Scoring Demo.miz and b/SCO - Scoring/SCO-100 - Scoring Demo/SCO-100 - Scoring Demo.miz differ diff --git a/SCO - Scoring/SCO-101 - Scoring Client to Client/SCO-101 - Scoring Client to Client.miz b/SCO - Scoring/SCO-101 - Scoring Client to Client/SCO-101 - Scoring Client to Client.miz index 6b0a836ae3..7d5bb4083d 100644 Binary files a/SCO - Scoring/SCO-101 - Scoring Client to Client/SCO-101 - Scoring Client to Client.miz and b/SCO - Scoring/SCO-101 - Scoring Client to Client/SCO-101 - Scoring Client to Client.miz differ diff --git a/SCO - Scoring/SCO-200 - Telemetry/SCO-200 - Telemetry.miz b/SCO - Scoring/SCO-200 - Telemetry/SCO-200 - Telemetry.miz index 12a8946aa7..6dbfc09f0c 100644 Binary files a/SCO - Scoring/SCO-200 - Telemetry/SCO-200 - Telemetry.miz and b/SCO - Scoring/SCO-200 - Telemetry/SCO-200 - Telemetry.miz differ diff --git a/SCO - Scoring/SCO-500 - Scoring Multi Player Demo Mission 1/SCO-500 - Scoring Multi Player Demo Mission 1.miz b/SCO - Scoring/SCO-500 - Scoring Multi Player Demo Mission 1/SCO-500 - Scoring Multi Player Demo Mission 1.miz index 02ed15e3ce..1c522189a7 100644 Binary files a/SCO - Scoring/SCO-500 - Scoring Multi Player Demo Mission 1/SCO-500 - Scoring Multi Player Demo Mission 1.miz and b/SCO - Scoring/SCO-500 - Scoring Multi Player Demo Mission 1/SCO-500 - Scoring Multi Player Demo Mission 1.miz differ diff --git a/SET - Data Sets/SET-001 - Airbase Sets/SET-001 - Airbase Sets.miz b/SET - Data Sets/SET-001 - Airbase Sets/SET-001 - Airbase Sets.miz index ad674baae8..6ede18f1f5 100644 Binary files a/SET - Data Sets/SET-001 - Airbase Sets/SET-001 - Airbase Sets.miz and b/SET - Data Sets/SET-001 - Airbase Sets/SET-001 - Airbase Sets.miz differ diff --git a/SET - Data Sets/SET-102 - Test SET_GROUP object against ZONE/SET-102 - Test SET_GROUP object against ZONE.miz b/SET - Data Sets/SET-102 - Test SET_GROUP object against ZONE/SET-102 - Test SET_GROUP object against ZONE.miz index c60ceacf15..46fe1b8d56 100644 Binary files a/SET - Data Sets/SET-102 - Test SET_GROUP object against ZONE/SET-102 - Test SET_GROUP object against ZONE.miz and b/SET - Data Sets/SET-102 - Test SET_GROUP object against ZONE/SET-102 - Test SET_GROUP object against ZONE.miz differ diff --git a/SET - Data Sets/SET-103 - Test SET_GROUP players added and deleted/SET-103 - Test SET_GROUP players added and deleted.miz b/SET - Data Sets/SET-103 - Test SET_GROUP players added and deleted/SET-103 - Test SET_GROUP players added and deleted.miz index 493552f7e5..989317ba70 100644 Binary files a/SET - Data Sets/SET-103 - Test SET_GROUP players added and deleted/SET-103 - Test SET_GROUP players added and deleted.miz and b/SET - Data Sets/SET-103 - Test SET_GROUP players added and deleted/SET-103 - Test SET_GROUP players added and deleted.miz differ diff --git a/SET - Data Sets/SET-201 - Client Sets/SET-201 - Client Sets.miz b/SET - Data Sets/SET-201 - Client Sets/SET-201 - Client Sets.miz index c4b9013450..1976ff11c4 100644 Binary files a/SET - Data Sets/SET-201 - Client Sets/SET-201 - Client Sets.miz and b/SET - Data Sets/SET-201 - Client Sets/SET-201 - Client Sets.miz differ diff --git a/SET - Data Sets/SET-GRP/SET-GRP-000 - Add and Remove/SET-GRP-000 - Add and Remove.miz b/SET - Data Sets/SET-GRP/SET-GRP-000 - Add and Remove/SET-GRP-000 - Add and Remove.miz index fa7bbd5f2d..1cb378a92f 100644 Binary files a/SET - Data Sets/SET-GRP/SET-GRP-000 - Add and Remove/SET-GRP-000 - Add and Remove.miz and b/SET - Data Sets/SET-GRP/SET-GRP-000 - Add and Remove/SET-GRP-000 - Add and Remove.miz differ diff --git a/SET - Data Sets/SET-GRP/SET-GRP-101 - Group Sets/SET-GRP-101 - Group Sets.miz b/SET - Data Sets/SET-GRP/SET-GRP-101 - Group Sets/SET-GRP-101 - Group Sets.miz index 38edd16e2a..28122a9957 100644 Binary files a/SET - Data Sets/SET-GRP/SET-GRP-101 - Group Sets/SET-GRP-101 - Group Sets.miz and b/SET - Data Sets/SET-GRP/SET-GRP-101 - Group Sets/SET-GRP-101 - Group Sets.miz differ diff --git a/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 1/SET-GRP-300 - FilterActive Scenario 1.miz b/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 1/SET-GRP-300 - FilterActive Scenario 1.miz index 0ad3d0d3ef..fd2490ee06 100644 Binary files a/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 1/SET-GRP-300 - FilterActive Scenario 1.miz and b/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 1/SET-GRP-300 - FilterActive Scenario 1.miz differ diff --git a/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 2/SET-GRP-300 - FilterActive Scenario 2.miz b/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 2/SET-GRP-300 - FilterActive Scenario 2.miz index 353a461d68..c80fc8c683 100644 Binary files a/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 2/SET-GRP-300 - FilterActive Scenario 2.miz and b/SET - Data Sets/SET-GRP/SET-GRP-300 - FilterActive Scenario 2/SET-GRP-300 - FilterActive Scenario 2.miz differ diff --git a/SET - Data Sets/SET-UNT/SET-UNT-100 - FilterOnce Scenario 1/SET-UNT-100 - FilterOnce Scenario 1.miz b/SET - Data Sets/SET-UNT/SET-UNT-100 - FilterOnce Scenario 1/SET-UNT-100 - FilterOnce Scenario 1.miz index a62e978b10..b0d2c26e77 100644 Binary files a/SET - Data Sets/SET-UNT/SET-UNT-100 - FilterOnce Scenario 1/SET-UNT-100 - FilterOnce Scenario 1.miz and b/SET - Data Sets/SET-UNT/SET-UNT-100 - FilterOnce Scenario 1/SET-UNT-100 - FilterOnce Scenario 1.miz differ diff --git a/SET - Data Sets/SET-UNT/SET-UNT-110 - FilterOnce Scenario 2/SET-UNT-110 - FilterOnce Scenario 2.miz b/SET - Data Sets/SET-UNT/SET-UNT-110 - FilterOnce Scenario 2/SET-UNT-110 - FilterOnce Scenario 2.miz index 42ed5e3f1a..797c955797 100644 Binary files a/SET - Data Sets/SET-UNT/SET-UNT-110 - FilterOnce Scenario 2/SET-UNT-110 - FilterOnce Scenario 2.miz and b/SET - Data Sets/SET-UNT/SET-UNT-110 - FilterOnce Scenario 2/SET-UNT-110 - FilterOnce Scenario 2.miz differ diff --git a/SET - Data Sets/SET-UNT/SET-UNT-120 - FilterOnce Scenario 3/SET-UNT-120 - FilterOnce Scenario 3.miz b/SET - Data Sets/SET-UNT/SET-UNT-120 - FilterOnce Scenario 3/SET-UNT-120 - FilterOnce Scenario 3.miz index 61e1ff4506..3c73bcc4ac 100644 Binary files a/SET - Data Sets/SET-UNT/SET-UNT-120 - FilterOnce Scenario 3/SET-UNT-120 - FilterOnce Scenario 3.miz and b/SET - Data Sets/SET-UNT/SET-UNT-120 - FilterOnce Scenario 3/SET-UNT-120 - FilterOnce Scenario 3.miz differ diff --git a/SET - Data Sets/SET-UNT/SET-UNT-300 - FilterActive Scenario 1/SET-UNT-300 - FilterActive Scenario 1.miz b/SET - Data Sets/SET-UNT/SET-UNT-300 - FilterActive Scenario 1/SET-UNT-300 - FilterActive Scenario 1.miz index 2a7236b18f..247e180cba 100644 Binary files a/SET - Data Sets/SET-UNT/SET-UNT-300 - FilterActive Scenario 1/SET-UNT-300 - FilterActive Scenario 1.miz and b/SET - Data Sets/SET-UNT/SET-UNT-300 - FilterActive Scenario 1/SET-UNT-300 - FilterActive Scenario 1.miz differ diff --git a/SEV - SEAD Evasion/SEV-001 - SEAD Evasion/SEV-001 - SEAD Evasion.miz b/SEV - SEAD Evasion/SEV-001 - SEAD Evasion/SEV-001 - SEAD Evasion.miz index 628e7f03d1..271ae1399c 100644 Binary files a/SEV - SEAD Evasion/SEV-001 - SEAD Evasion/SEV-001 - SEAD Evasion.miz and b/SEV - SEAD Evasion/SEV-001 - SEAD Evasion/SEV-001 - SEAD Evasion.miz differ diff --git a/SPA - Spawning/SPA-011 - Ground Ops - Simple Spawning/SPA-011 - Ground Ops - Simple Spawning.miz b/SPA - Spawning/SPA-011 - Ground Ops - Simple Spawning/SPA-011 - Ground Ops - Simple Spawning.miz index 2697f90a4e..676575b1ea 100644 Binary files a/SPA - Spawning/SPA-011 - Ground Ops - Simple Spawning/SPA-011 - Ground Ops - Simple Spawning.miz and b/SPA - Spawning/SPA-011 - Ground Ops - Simple Spawning/SPA-011 - Ground Ops - Simple Spawning.miz differ diff --git a/SPA - Spawning/SPA-012 - Ground Ops - Multiple Spawns/SPA-012 - Ground Ops - Multiple Spawns.miz b/SPA - Spawning/SPA-012 - Ground Ops - Multiple Spawns/SPA-012 - Ground Ops - Multiple Spawns.miz index d07af6b45b..bd3dc64de0 100644 Binary files a/SPA - Spawning/SPA-012 - Ground Ops - Multiple Spawns/SPA-012 - Ground Ops - Multiple Spawns.miz and b/SPA - Spawning/SPA-012 - Ground Ops - Multiple Spawns/SPA-012 - Ground Ops - Multiple Spawns.miz differ diff --git a/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/SPA-013 - Ground Ops - Scheduled Spawns.miz b/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/SPA-013 - Ground Ops - Scheduled Spawns.miz index 105d888b21..5cc2fb557e 100644 Binary files a/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/SPA-013 - Ground Ops - Scheduled Spawns.miz and b/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/SPA-013 - Ground Ops - Scheduled Spawns.miz differ diff --git a/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/pack.ps1 b/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/pack.ps1 +++ b/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/unpack.ps1 b/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/unpack.ps1 index c208a31858..0206e08131 100644 --- a/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/unpack.ps1 +++ b/SPA - Spawning/SPA-013 - Ground Ops - Scheduled Spawns/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.lua b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.lua index 2f8ccdc9fa..7c9b423c7f 100644 --- a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.lua +++ b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.lua @@ -16,6 +16,6 @@ -- Tests Gudauta -- ------------- -Spawn_Vehicle_1 = SPAWN:New( "Spawn Vehicle 1" ):InitLimit( 5, 10 ):SpawnScheduled( 5, .5 ) +Spawn_Vehicle_1 = SPAWN:New( "Spawn Vehicle 1" ):InitLimit( 5, 0 ):SpawnScheduled( 5, .5 ) diff --git a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.miz b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.miz index bf9d5e6db0..bff3e27221 100644 Binary files a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.miz and b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/SPA-014 - Ground Ops - Scheduled Spawns Limited.miz differ diff --git a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/pack.ps1 b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/pack.ps1 +++ b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/unpack.ps1 b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/unpack.ps1 index c208a31858..0206e08131 100644 --- a/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/unpack.ps1 +++ b/SPA - Spawning/SPA-014 - Ground Ops - Scheduled Spawns Limited/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/SPA - Spawning/SPA-015 - Ground Ops - Randomize Route/SPA-015 - Ground Ops - Randomize Route.miz b/SPA - Spawning/SPA-015 - Ground Ops - Randomize Route/SPA-015 - Ground Ops - Randomize Route.miz index fbc97f4b12..e20d7ac759 100644 Binary files a/SPA - Spawning/SPA-015 - Ground Ops - Randomize Route/SPA-015 - Ground Ops - Randomize Route.miz and b/SPA - Spawning/SPA-015 - Ground Ops - Randomize Route/SPA-015 - Ground Ops - Randomize Route.miz differ diff --git a/SPA - Spawning/SPA-016 - Ground Ops - Randomize Zones/SPA-016 - Ground Ops - Randomize Zones.miz b/SPA - Spawning/SPA-016 - Ground Ops - Randomize Zones/SPA-016 - Ground Ops - Randomize Zones.miz index 990a6a39a7..d720a755af 100644 Binary files a/SPA - Spawning/SPA-016 - Ground Ops - Randomize Zones/SPA-016 - Ground Ops - Randomize Zones.miz and b/SPA - Spawning/SPA-016 - Ground Ops - Randomize Zones/SPA-016 - Ground Ops - Randomize Zones.miz differ diff --git a/SPA - Spawning/SPA-017 - Ground Ops - Set AI inactive while spawning/SPA-017 - Ground Ops - Set AI inactive while spawning.miz b/SPA - Spawning/SPA-017 - Ground Ops - Set AI inactive while spawning/SPA-017 - Ground Ops - Set AI inactive while spawning.miz index 6fe6bcb769..4923335917 100644 Binary files a/SPA - Spawning/SPA-017 - Ground Ops - Set AI inactive while spawning/SPA-017 - Ground Ops - Set AI inactive while spawning.miz and b/SPA - Spawning/SPA-017 - Ground Ops - Set AI inactive while spawning/SPA-017 - Ground Ops - Set AI inactive while spawning.miz differ diff --git a/SPA - Spawning/SPA-018 - Ground Ops - Randomize Templates/SPA-018 - Ground Ops - Randomize Templates.miz b/SPA - Spawning/SPA-018 - Ground Ops - Randomize Templates/SPA-018 - Ground Ops - Randomize Templates.miz index 34504379fe..3b4dbbf4dc 100644 Binary files a/SPA - Spawning/SPA-018 - Ground Ops - Randomize Templates/SPA-018 - Ground Ops - Randomize Templates.miz and b/SPA - Spawning/SPA-018 - Ground Ops - Randomize Templates/SPA-018 - Ground Ops - Randomize Templates.miz differ diff --git a/SPA - Spawning/SPA-019 - Ground Ops - Randomize Templates without Waypoints/SPA-019 - Ground Ops - Randomize Templates without Waypoints.miz b/SPA - Spawning/SPA-019 - Ground Ops - Randomize Templates without Waypoints/SPA-019 - Ground Ops - Randomize Templates without Waypoints.miz index 2c2cd71d6f..62551675c1 100644 Binary files a/SPA - Spawning/SPA-019 - Ground Ops - Randomize Templates without Waypoints/SPA-019 - Ground Ops - Randomize Templates without Waypoints.miz and b/SPA - Spawning/SPA-019 - Ground Ops - Randomize Templates without Waypoints/SPA-019 - Ground Ops - Randomize Templates without Waypoints.miz differ diff --git a/SPA - Spawning/SPA-020 - Ground Ops - Randomize Templates in Zones no WP/SPA-020 - Ground Ops - Randomize Templates in Zones no WP.miz b/SPA - Spawning/SPA-020 - Ground Ops - Randomize Templates in Zones no WP/SPA-020 - Ground Ops - Randomize Templates in Zones no WP.miz index f06d0146dc..1f193c77ed 100644 Binary files a/SPA - Spawning/SPA-020 - Ground Ops - Randomize Templates in Zones no WP/SPA-020 - Ground Ops - Randomize Templates in Zones no WP.miz and b/SPA - Spawning/SPA-020 - Ground Ops - Randomize Templates in Zones no WP/SPA-020 - Ground Ops - Randomize Templates in Zones no WP.miz differ diff --git a/SPA - Spawning/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names.miz b/SPA - Spawning/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names.miz index 13ba1a85dc..48f9ebcbd6 100644 Binary files a/SPA - Spawning/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names.miz and b/SPA - Spawning/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names/SPA-021 - Ground Ops - Scheduled Spawns Limited Keep Unit Names.miz differ diff --git a/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz b/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz index 4d7ce2a55a..6891ac9d23 100644 Binary files a/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz and b/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz differ diff --git a/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz b/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz index eaff964215..2a5299b3b1 100644 Binary files a/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz and b/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz differ diff --git a/SPA - Spawning/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz b/SPA - Spawning/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz index 505d58b1a2..f0386e4e1b 100644 Binary files a/SPA - Spawning/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz and b/SPA - Spawning/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz differ diff --git a/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz b/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz index 670fa322e6..f0386e4e1b 100644 Binary files a/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz and b/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz differ diff --git a/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz b/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz index 5f08d63743..7d1259fc2a 100644 Binary files a/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz and b/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz differ diff --git a/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz b/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz index a5ee4c96b3..aa75c755f7 100644 Binary files a/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz and b/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz differ diff --git a/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz b/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz index 7c42acfbe4..3da47ecc63 100644 Binary files a/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz and b/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz differ diff --git a/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz b/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz index 36e94906c7..aa56f52ba9 100644 Binary files a/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz and b/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz differ diff --git a/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz b/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz index 31fdade1ce..02f83036da 100644 Binary files a/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz and b/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz differ diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua index 17d1f9dc91..536e568ded 100644 --- a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua +++ b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua @@ -20,7 +20,7 @@ do -- Declare SPAWN objects - Spawn_Plane = SPAWN:New("Plane"):InitLimit( 1, 10 ) + Spawn_Plane = SPAWN:New("Plane"):InitLimit( 2, 0 ) -- Choose repeat functionality diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz index 4444e5ed15..4947569f85 100644 Binary files a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz and b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz differ diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 +++ b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 index c208a31858..0206e08131 100644 --- a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 +++ b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz b/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz index 40467184c3..ee020fb478 100644 Binary files a/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz and b/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz differ diff --git a/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz b/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz index fbf14f1cff..599485d7d1 100644 Binary files a/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz and b/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz differ diff --git a/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz b/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz index 7d39e1a9a6..d022d8b73a 100644 Binary files a/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz and b/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz differ diff --git a/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz b/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz index 93e2e5fcb1..05e3eecc28 100644 Binary files a/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz and b/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz differ diff --git a/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz b/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz index 002f0b08bb..e55462d993 100644 Binary files a/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz and b/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz differ diff --git a/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz b/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz index 960d8dd870..cc27be4481 100644 Binary files a/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz and b/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz differ diff --git a/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz b/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz index 35b4b0d954..6a0ab54ef2 100644 Binary files a/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz and b/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz differ diff --git a/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz b/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz index 4db89cac95..5061e98633 100644 Binary files a/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz and b/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz differ diff --git a/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz b/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz index 285c66bfba..641cd824b1 100644 Binary files a/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz and b/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz differ diff --git a/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz b/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz index 4c6910d424..9ea55c22b6 100644 Binary files a/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz and b/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz differ diff --git a/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz b/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz index dc1079e9e7..25ae4b6494 100644 Binary files a/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz and b/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz differ diff --git a/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz b/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz index b711a84090..57cb0bda22 100644 Binary files a/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz and b/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz differ diff --git a/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz b/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz index 0123713713..a089b3cbb5 100644 Binary files a/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz and b/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz differ diff --git a/SPS - Spawning Statics/SPS-100 - Simple Spawning/SPS-100 - Simple Spawning.miz b/SPS - Spawning Statics/SPS-100 - Simple Spawning/SPS-100 - Simple Spawning.miz index 57ecb9ba85..5441abd16e 100644 Binary files a/SPS - Spawning Statics/SPS-100 - Simple Spawning/SPS-100 - Simple Spawning.miz and b/SPS - Spawning Statics/SPS-100 - Simple Spawning/SPS-100 - Simple Spawning.miz differ diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.lua b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.lua new file mode 100644 index 0000000000..75bdd7fa92 --- /dev/null +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.lua @@ -0,0 +1,73 @@ +--- +-- Name: TAD-A2A-001 - A2A - AREAS detection test +-- Author: FlightControl +-- Date Created: 17 May 2017 +-- +-- # Situation: +-- +-- This mission demonstrates the dynamic task dispatching for Air to Air operations. +-- Intruders are flying towards the EWR units. +-- The detection method used is the DETECTION_AREAS method, which groups detected targets per detected area. +-- +-- # Test cases: +-- +-- 1. Observe the EWR's detecting targets and grouping them. +-- 2. Check that the HQ provides menus to engage on a task set by the EWRs. +-- +HQ = GROUP:FindByName( "HQ", "Bravo" ) + +CommandCenter = COMMANDCENTER:New( HQ, "Lima" ) + +Scoring = SCORING:New( "A2A Dispatching demo" ) + +Mission = MISSION + :New( CommandCenter, "A2A Mission", "High", "Watch the air enemy units being detected.", coalition.side.RED ) + :AddScoring( Scoring ) + +EWRSet = SET_GROUP:New():FilterPrefixes( "EWR Red" ):FilterCoalitions("red"):FilterStart() + +EWRDetection = DETECTION_AREAS:New( EWRSet, 30000 ) +EWRDetection:SetFriendliesRange( 80000 ) +EWRDetection:SetRefreshTimeInterval( 30 ) + + +AttackGroups = SET_GROUP:New():FilterCoalitions( "red" ):FilterPrefixes( "Defender" ):FilterStart() + +TaskDispatcher = TASK_A2A_DISPATCHER:New( Mission, AttackGroups, EWRDetection ) +TaskDispatcher:SetRefreshTimeInterval( 10 ) + +AIDispatcher = AI_A2A_GCICAP:New( { "EWR Blue" } ) + +BlueTemplates = { + "Defender-1", + "Defender-2" + } + +AIDispatcher:SetSquadron( "001", AIRBASE.Caucasus.Batumi, BlueTemplates, 20 ) +AIDispatcher:SetSquadronGci( "001", 600, 800 ) + +AIDispatcher:SetSquadron( "002", AIRBASE.Caucasus.Senaki_Kolkhi, BlueTemplates, 20 ) +AIDispatcher:SetSquadronGci( "002", 600, 800 ) + +AIDispatcher:SetSquadron( "003", AIRBASE.Caucasus.Kobuleti, BlueTemplates,20 ) +AIDispatcher:SetSquadronGci( "003", 600, 800 ) + +AIDispatcher:SetSquadron( "004", AIRBASE.Caucasus.Kutaisi, BlueTemplates, 20 ) +AIDispatcher:SetSquadronGci( "004", 600, 800 ) + + + + +--- @param #TaskDispatcher self +-- @param From +-- @param Event +-- @param To +-- @param Tasking.Task_A2A#TASK_A2A Task +-- @param Wrapper.Unit#UNIT TaskUnit +-- @param #string PlayerName +function TaskDispatcher:OnAfterAssign( From, Event, To, Task, TaskUnit, PlayerName ) + Task:SetScoreOnProgress( PlayerName, 20, TaskUnit ) + Task:SetScoreOnSuccess( PlayerName, 200, TaskUnit ) + Task:SetScoreOnFail( PlayerName, -100, TaskUnit ) +end + diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.miz b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.miz index 14e4195550..4a671892c9 100644 Binary files a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.miz and b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/TAD-A2A-000 - AREAS - Detection test.miz differ diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/pack.ps1 b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/pack.ps1 +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/unpack.ps1 b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/unpack.ps1 index c208a31858..0206e08131 100644 --- a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/unpack.ps1 +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-000 - AREAS - Detection test/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/TAD-A2A-010 - AREAS - Intercept Task.miz b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/TAD-A2A-010 - AREAS - Intercept Task.miz index e633e6e0a8..8a8071c85d 100644 Binary files a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/TAD-A2A-010 - AREAS - Intercept Task.miz and b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/TAD-A2A-010 - AREAS - Intercept Task.miz differ diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/pack.ps1 b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/pack.ps1 +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/unpack.ps1 b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/unpack.ps1 index c208a31858..0206e08131 100644 --- a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/unpack.ps1 +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-010 - AREAS - Intercept Task/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/TAD-A2A-020 - AREAS - Sweep Task.miz b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/TAD-A2A-020 - AREAS - Sweep Task.miz index 6a69bc8084..e723f1c685 100644 Binary files a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/TAD-A2A-020 - AREAS - Sweep Task.miz and b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/TAD-A2A-020 - AREAS - Sweep Task.miz differ diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/pack.ps1 b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/pack.ps1 index bbac66e7c1..caa79efcaf 100644 --- a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/pack.ps1 +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/pack.ps1 @@ -1,10 +1,6 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf - -$dir -$file - -cd "_unpacked" -. 7z a -r -y -tzip "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * cd .. diff --git a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/unpack.ps1 b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/unpack.ps1 index c208a31858..0206e08131 100644 --- a/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/unpack.ps1 +++ b/TAD - Task Dispatching/A2A - Air 2 Air Task Dispatching/TAD-A2A-020 - AREAS - Sweep Task/unpack.ps1 @@ -1,7 +1,7 @@ -$dir = split-path -parent $MyInvocation.MyCommand.Definition -cd $dir -$file = Split-Path $dir -leaf -Remove-Item .\_unpacked -Force -Recurse -md "_unpacked" -cd "_unpacked" -. 7z x -r -y "..\$file.miz" * +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-000 - AREAS - Detection test/TAD-A2G-000 - AREAS - Detection test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-000 - AREAS - Detection test/TAD-A2G-000 - AREAS - Detection test.miz index 6e0cef64de..4b158d45f4 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-000 - AREAS - Detection test/TAD-A2G-000 - AREAS - Detection test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-000 - AREAS - Detection test/TAD-A2G-000 - AREAS - Detection test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-001 - AREAS - Destroy Test/TAD-A2G-001 - AREAS - Destroy Test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-001 - AREAS - Destroy Test/TAD-A2G-001 - AREAS - Destroy Test.miz index 6e77692cb8..b9ae6439dc 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-001 - AREAS - Destroy Test/TAD-A2G-001 - AREAS - Destroy Test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-001 - AREAS - Destroy Test/TAD-A2G-001 - AREAS - Destroy Test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-002 - AREAS - Task Success Test/TAD-A2G-002 - AREAS - Task Success Test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-002 - AREAS - Task Success Test/TAD-A2G-002 - AREAS - Task Success Test.miz index c39ccc72b5..8c1a931700 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-002 - AREAS - Task Success Test/TAD-A2G-002 - AREAS - Task Success Test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-002 - AREAS - Task Success Test/TAD-A2G-002 - AREAS - Task Success Test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD.miz index f086e7df46..c9d1bfaf1b 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD/TAD-A2G-010 - AREAS - Split SEAD to BAI and SEAD.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD.miz index 3352784ab3..016541f733 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD/TAD-A2G-011 - AREAS - Split SEAD to CAS and SEAD.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-020 - AREAS - Remain BAI as Player/TAD-A2G-020 - AREAS - Remain BAI as Player.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-020 - AREAS - Remain BAI as Player/TAD-A2G-020 - AREAS - Remain BAI as Player.miz index aceb364506..cd5afc8ca9 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-020 - AREAS - Remain BAI as Player/TAD-A2G-020 - AREAS - Remain BAI as Player.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-020 - AREAS - Remain BAI as Player/TAD-A2G-020 - AREAS - Remain BAI as Player.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-021 - AREAS - Remain BAI as AI/TAD-A2G-021 - AREAS - Remain BAI as AI.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-021 - AREAS - Remain BAI as AI/TAD-A2G-021 - AREAS - Remain BAI as AI.miz index 3c093af819..011d0a8f40 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-021 - AREAS - Remain BAI as AI/TAD-A2G-021 - AREAS - Remain BAI as AI.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-021 - AREAS - Remain BAI as AI/TAD-A2G-021 - AREAS - Remain BAI as AI.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-090 - AREAS - WWII - Reference Points/TAD-A2G-090 - AREAS - WWII - Reference Points.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-090 - AREAS - WWII - Reference Points/TAD-A2G-090 - AREAS - WWII - Reference Points.miz index 88dccbde36..001503f98e 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-090 - AREAS - WWII - Reference Points/TAD-A2G-090 - AREAS - WWII - Reference Points.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-090 - AREAS - WWII - Reference Points/TAD-A2G-090 - AREAS - WWII - Reference Points.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-100 - TYPES - Detection Test/TAD-A2G-100 - TYPES - Detection Test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-100 - TYPES - Detection Test/TAD-A2G-100 - TYPES - Detection Test.miz index 8ff008622c..bfadf00d43 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-100 - TYPES - Detection Test/TAD-A2G-100 - TYPES - Detection Test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-100 - TYPES - Detection Test/TAD-A2G-100 - TYPES - Detection Test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-110 - TYPES - Detection Test/TAD-A2G-110 - TYPES - Detection Test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-110 - TYPES - Detection Test/TAD-A2G-110 - TYPES - Detection Test.miz index 38c972db95..4c4a44f9d5 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-110 - TYPES - Detection Test/TAD-A2G-110 - TYPES - Detection Test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-110 - TYPES - Detection Test/TAD-A2G-110 - TYPES - Detection Test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-120 - TYPES - Scoring/TAD-A2G-120 - TYPES - Scoring.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-120 - TYPES - Scoring/TAD-A2G-120 - TYPES - Scoring.miz index 2735782e95..1c736794d9 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-120 - TYPES - Scoring/TAD-A2G-120 - TYPES - Scoring.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-120 - TYPES - Scoring/TAD-A2G-120 - TYPES - Scoring.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-200 - UNITS - Detection Test/TAD-A2G-200 - UNITS - Detection Test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-200 - UNITS - Detection Test/TAD-A2G-200 - UNITS - Detection Test.miz index d612f2d4b0..4802acd6b0 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-200 - UNITS - Detection Test/TAD-A2G-200 - UNITS - Detection Test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-200 - UNITS - Detection Test/TAD-A2G-200 - UNITS - Detection Test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-210 - UNITS - Detection Test/TAD-A2G-210 - UNITS - Detection Test.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-210 - UNITS - Detection Test/TAD-A2G-210 - UNITS - Detection Test.miz index 432f2531aa..da2a1e2a3f 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-210 - UNITS - Detection Test/TAD-A2G-210 - UNITS - Detection Test.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-210 - UNITS - Detection Test/TAD-A2G-210 - UNITS - Detection Test.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-220 - UNITS - Scoring/TAD-A2G-220 - UNITS - Scoring.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-220 - UNITS - Scoring/TAD-A2G-220 - UNITS - Scoring.miz index f155da282f..11c2c17eb7 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-220 - UNITS - Scoring/TAD-A2G-220 - UNITS - Scoring.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-220 - UNITS - Scoring/TAD-A2G-220 - UNITS - Scoring.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-320 - AREAS - Scoring/TAD-A2G-320 - AREAS - Scoring.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-320 - AREAS - Scoring/TAD-A2G-320 - AREAS - Scoring.miz index 9b0bfdc2ba..841657dedc 100644 Binary files a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-320 - AREAS - Scoring/TAD-A2G-320 - AREAS - Scoring.miz and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-320 - AREAS - Scoring/TAD-A2G-320 - AREAS - Scoring.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/TAD-A2G-601 - ZONES - Destroy.lua b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/TAD-A2G-601 - ZONES - Destroy.lua new file mode 100644 index 0000000000..789f16df3e --- /dev/null +++ b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/TAD-A2G-601 - ZONES - Destroy.lua @@ -0,0 +1,47 @@ + --- +-- Name: TAD-A2G-001 - AREAS - Destroy Test +-- Author: FlightControl +-- Date Created: 15 Mar 2018 +-- +-- This mission demonstrates the dynamic task dispatching for Air to Ground operations. +-- Reconnassance vehicles are placed at strategic locations, scanning for the enemy locations. +-- The detection method used is the DETECTION_AREAS method, which groups detected targets into areas. +-- The AttackSet will engage upon the enemy, which is a Set of Groups seated by Players. +-- A2G Tasks are being dispatched to the Players as enemy locations are being detected by the Recce. +-- Observe that A2G Tasks are being dispatched to the player. +-- Get seated in the Attack Plane, there is also an AI with you, who will attack the ground targets. +-- Join the A2G Task that was dispatched to you. +-- Once the AI in your group destroys the target, you should see that the A2G task got success. + + +-- Declare the Command Center +local HQ = GROUP + :FindByName( "HQ", "Bravo HQ" ) + +local CommandCenter = COMMANDCENTER + :New( HQ, "Lima" ) -- Create the CommandCenter. + +-- Declare the Mission for the Command Center. +local Mission = MISSION + :New( CommandCenter, "Overlord", "High", "Attack Detect Mission Briefing", coalition.side.RED ) -- Create the Mission. + + +-- Setup the detection. We use DETECTION_AREAS to detect and group the enemies. +local DetectionSetZones = SET_ZONE:New():FilterPrefixes( { "Detection Zone Blue" } ):FilterOnce() + +local DetectionZones = DETECTION_ZONES:New( DetectionSetZones, coalition.side.BLUE ) + +-- Setup the AttackSet, which is a SET_GROUP. +-- The SET_GROUP is a dynamic collection of GROUP objects. +local AttackSet = SET_GROUP + :New() -- Create the SET_GROUP object. + :FilterCoalitions( "red" ) -- Only incorporate the RED coalitions. + :FilterPrefixes( "Attack" ) -- Only incorporate groups that start with the name Attack. + :FilterStart() -- Start the dynamic building of the set. + +-- Now we have everything to setup the main A2G TaskDispatcher. +TaskDispatcher = TASK_A2G_DISPATCHER + :New( Mission, AttackSet, DetectionZones ) -- We assign the TaskDispatcher under Mission. The AttackSet will engage the enemy and will recieve the dispatched Tasks. The DetectionAreas will report any detected enemies to the TaskDispatcher. + +-- We use the MISSILETRAINER for demonstration purposes. +MissileTrainer = MISSILETRAINER:New( 100, "Missiles will be destroyed for training when they reach your plane." ) diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/TAD-A2G-601 - ZONES - Destroy.miz b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/TAD-A2G-601 - ZONES - Destroy.miz new file mode 100644 index 0000000000..0572d91a89 Binary files /dev/null and b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/TAD-A2G-601 - ZONES - Destroy.miz differ diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/pack.ps1 b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/pack.ps1 new file mode 100644 index 0000000000..bbac66e7c1 --- /dev/null +++ b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/pack.ps1 @@ -0,0 +1,10 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf + +$dir +$file + +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/unpack.ps1 b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/unpack.ps1 new file mode 100644 index 0000000000..c208a31858 --- /dev/null +++ b/TAD - Task Dispatching/A2G - Air 2 Ground Task Dispatching/TAD-A2G-601 - ZONES - Destroy/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/TAD-CAP-000 - Capture Zone Test.lua b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/TAD-CAP-000 - Capture Zone Test.lua new file mode 100644 index 0000000000..d4229affc7 --- /dev/null +++ b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/TAD-CAP-000 - Capture Zone Test.lua @@ -0,0 +1,117 @@ + +do -- Setup the Command Centers + + US_CC = COMMANDCENTER:New( GROUP:FindByName( "BLUEHQ" ), "USA HQ" ) + RU_CC = COMMANDCENTER:New( GROUP:FindByName( "REDHQ" ), "CCCP HQ" ) + +end + +do -- Missions + + US_Mission_EchoBay = MISSION:New( US_CC, "Echo Bay", "Primary", + "Welcome trainee. The airport Groom Lake in Echo Bay needs to be captured.\n" .. + "There are five random capture zones located at the airbase.\n" .. + "Move to one of the capture zones, destroy the fuel tanks in the capture zone, " .. + "and occupy each capture zone with a platoon.\n " .. + "Your orders are to hold position until all capture zones are taken.\n" .. + "Use the map (F10) for a clear indication of the location of each capture zone.\n" .. + "Note that heavy resistance can be expected at the airbase!\n" .. + "Mission 'Echo Bay' is complete when all five capture zones are taken, and held for at least 5 minutes!" + , coalition.side.RED) + + US_Score = SCORING:New( "CAZ-001 - Capture Zone" ) + + US_Mission_EchoBay:AddScoring( US_Score ) + + US_Mission_EchoBay:Start() + +end + + +Players = SET_GROUP:New():FilterPrefixes( "Player" ):FilterStart() + +TaskCaptureZoneDispatcher = TASK_CAPTURE_DISPATCHER:New( US_Mission_EchoBay, Players ) + + +--- define the capture zone + +CaptureZone = ZONE:New( "Alpha-001" ) + +ZoneCaptureCoalition = ZONE_CAPTURE_COALITION:New( CaptureZone, coalition.side.RED ) + + +--- @param Functional.ZoneCaptureCoalition#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterGuarded( From, Event, To ) + if From ~= To then + local Coalition = self:GetCoalition() + self:E( { Coalition = Coalition } ) + if Coalition == coalition.side.BLUE then + ZoneCaptureCoalition:Smoke( SMOKECOLOR.Blue ) + US_CC:MessageTypeToCoalition( string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "%s is under protection of the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + else + ZoneCaptureCoalition:Smoke( SMOKECOLOR.Red ) + RU_CC:MessageTypeToCoalition( string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + US_CC:MessageTypeToCoalition( string.format( "%s is under protection of Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + end + end +end + +--- @param Functional.Protect#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterEmpty() + ZoneCaptureCoalition:Smoke( SMOKECOLOR.Green ) + US_CC:MessageTypeToCoalition( string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "%s is unprotected, and can be captured!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) +end + + +--- @param Functional.Protect#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterAttacked() + ZoneCaptureCoalition:Smoke( SMOKECOLOR.White ) + local Coalition = self:GetCoalition() + self:E({Coalition = Coalition}) + if Coalition == coalition.side.BLUE then + US_CC:MessageTypeToCoalition( string.format( "%s is under attack by Russia", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + else + RU_CC:MessageTypeToCoalition( string.format( "%s is under attack by the USA", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + US_CC:MessageTypeToCoalition( string.format( "We are attacking %s", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + end +end + +--- @param Functional.Protect#ZONE_CAPTURE_COALITION self +function ZoneCaptureCoalition:OnEnterCaptured() + local Coalition = self:GetCoalition() + self:E({Coalition = Coalition}) + if Coalition == coalition.side.BLUE then + RU_CC:MessageTypeToCoalition( string.format( "%s is captured by the USA, we lost it!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + US_CC:MessageTypeToCoalition( string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + else + US_CC:MessageTypeToCoalition( string.format( "%s is captured by Russia, we lost it!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + RU_CC:MessageTypeToCoalition( string.format( "We captured %s, Excellent job!", ZoneCaptureCoalition:GetZoneName() ), MESSAGE.Type.Information ) + end + + self:AddScore( "Captured", "Zone captured: Extra points granted.", 200 ) + + self:__Guard( 30 ) +end + +ZoneCaptureCoalition:MonitorDestroyedUnits() +ZoneCaptureCoalition:__Guard( 1 ) +ZoneCaptureCoalition:Start( 5, 15 ) + +-- Create the tasks under the mission + +local ZoneCaptureGroupSet = SET_GROUP:New():FilterCoalitions("blue"):FilterStart() + + +-- create the capture zone task. + +US_Task_Zone_Capture = TaskCaptureZoneDispatcher:AddCaptureZoneTask( "Capture Zone", ZoneCaptureCoalition, "Capture the zone" ) + +US_CC:SetAutoAssignTasks( true ) +US_CC:SetAutoAcceptTasks( true ) + + + + diff --git a/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/TAD-CAP-000 - Capture Zone Test.miz b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/TAD-CAP-000 - Capture Zone Test.miz new file mode 100644 index 0000000000..0893488c0c Binary files /dev/null and b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/TAD-CAP-000 - Capture Zone Test.miz differ diff --git a/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/pack.ps1 b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/unpack.ps1 b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/TAD - Task Dispatching/CAP - Capture Task Dispatching/TAD-CAP-000 - Capture Zone Test/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-000 - CSAR Test/TAD-CGO-000 - CSAR Test.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-000 - CSAR Test/TAD-CGO-000 - CSAR Test.miz index 2b1c9ac93d..342a64c093 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-000 - CSAR Test/TAD-CGO-000 - CSAR Test.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-000 - CSAR Test/TAD-CGO-000 - CSAR Test.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-001 - Transport Test/TAD-CGO-001 - Transport Test.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-001 - Transport Test/TAD-CGO-001 - Transport Test.miz index 04826b7f15..2348488f86 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-001 - Transport Test/TAD-CGO-001 - Transport Test.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-001 - Transport Test/TAD-CGO-001 - Transport Test.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-002 - Transport Test - Crate/TAD-CGO-002 - Transport Test - Crate.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-002 - Transport Test - Crate/TAD-CGO-002 - Transport Test - Crate.miz index db0f191915..42d44267d4 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-002 - Transport Test - Crate/TAD-CGO-002 - Transport Test - Crate.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-002 - Transport Test - Crate/TAD-CGO-002 - Transport Test - Crate.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-003 - Transport Test - Infantry and Crate/TAD-CGO-003 - Transport Test - Infantry and Crate.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-003 - Transport Test - Infantry and Crate/TAD-CGO-003 - Transport Test - Infantry and Crate.miz index f0b84ae84e..0897fc5c25 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-003 - Transport Test - Infantry and Crate/TAD-CGO-003 - Transport Test - Infantry and Crate.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-003 - Transport Test - Infantry and Crate/TAD-CGO-003 - Transport Test - Infantry and Crate.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-004 - Transport Test - Infantry and Slingload/TAD-CGO-004 - Transport Test - Infantry and Slingload.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-004 - Transport Test - Infantry and Slingload/TAD-CGO-004 - Transport Test - Infantry and Slingload.miz index 8c7b685fda..f2c643e496 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-004 - Transport Test - Infantry and Slingload/TAD-CGO-004 - Transport Test - Infantry and Slingload.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-004 - Transport Test - Infantry and Slingload/TAD-CGO-004 - Transport Test - Infantry and Slingload.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-005 - Transport Test - Various Cargo/TAD-CGO-005 - Transport Test - Various Cargo.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-005 - Transport Test - Various Cargo/TAD-CGO-005 - Transport Test - Various Cargo.miz index 771f351e23..ae33b88f41 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-005 - Transport Test - Various Cargo/TAD-CGO-005 - Transport Test - Various Cargo.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-005 - Transport Test - Various Cargo/TAD-CGO-005 - Transport Test - Various Cargo.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-006 - Transport Test - Multiple Clients/TAD-CGO-006 - Transport Test - Multiple Clients.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-006 - Transport Test - Multiple Clients/TAD-CGO-006 - Transport Test - Multiple Clients.miz index fdecb7ce6e..0e2eb66882 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-006 - Transport Test - Multiple Clients/TAD-CGO-006 - Transport Test - Multiple Clients.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-006 - Transport Test - Multiple Clients/TAD-CGO-006 - Transport Test - Multiple Clients.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-007 - Transport Test - Cargo Fun/TAD-CGO-007 - Transport Test - Cargo Fun.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-007 - Transport Test - Cargo Fun/TAD-CGO-007 - Transport Test - Cargo Fun.miz index ac9212e9fc..1dc497fb28 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-007 - Transport Test - Cargo Fun/TAD-CGO-007 - Transport Test - Cargo Fun.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-007 - Transport Test - Cargo Fun/TAD-CGO-007 - Transport Test - Cargo Fun.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling.miz index 27c2e3fb2b..daec573d0b 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling/TAD-CGO-008 - Transport Test - PickedUp and Deployed Handling.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-009 - Transport Test - Respawning Cargo/TAD-CGO-009 - Transport Test - Respawning Cargo.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-009 - Transport Test - Respawning Cargo/TAD-CGO-009 - Transport Test - Respawning Cargo.miz index 3b68908de2..5e95782a8c 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-009 - Transport Test - Respawning Cargo/TAD-CGO-009 - Transport Test - Respawning Cargo.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-009 - Transport Test - Respawning Cargo/TAD-CGO-009 - Transport Test - Respawning Cargo.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-010 - Transport Test - Register Cargos/TAD-CGO-010 - Transport Test - Register Cargos.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-010 - Transport Test - Register Cargos/TAD-CGO-010 - Transport Test - Register Cargos.miz index d50e0d2558..d589ce5d52 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-010 - Transport Test - Register Cargos/TAD-CGO-010 - Transport Test - Register Cargos.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-010 - Transport Test - Register Cargos/TAD-CGO-010 - Transport Test - Register Cargos.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-011 - CSAR - Zone/TAD-CGO-011 - CSAR - Zone.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-011 - CSAR - Zone/TAD-CGO-011 - CSAR - Zone.miz index 3757539c00..b96afb8067 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-011 - CSAR - Zone/TAD-CGO-011 - CSAR - Zone.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-011 - CSAR - Zone/TAD-CGO-011 - CSAR - Zone.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-012 - CSAR - Maximum/TAD-CGO-012 - CSAR - Maximum.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-012 - CSAR - Maximum/TAD-CGO-012 - CSAR - Maximum.miz index cb968134d0..96cf6d2c9d 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-012 - CSAR - Maximum/TAD-CGO-012 - CSAR - Maximum.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-012 - CSAR - Maximum/TAD-CGO-012 - CSAR - Maximum.miz differ diff --git a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-013 - Transport - Pickup and deploy from roof/TAD-CGO-013 - Transport - Pickup and deploy from roof.miz b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-013 - Transport - Pickup and deploy from roof/TAD-CGO-013 - Transport - Pickup and deploy from roof.miz index cdfdb56d4d..0c733d2894 100644 Binary files a/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-013 - Transport - Pickup and deploy from roof/TAD-CGO-013 - Transport - Pickup and deploy from roof.miz and b/TAD - Task Dispatching/CGO - Cargo Task Dispatching/TAD-CGO-013 - Transport - Pickup and deploy from roof/TAD-CGO-013 - Transport - Pickup and deploy from roof.miz differ diff --git a/TSK - Task Modelling/A2A - Air to Air/TSK-300 - A2A - SWEEP/TSK-300 - A2A - SWEEP.miz b/TSK - Task Modelling/A2A - Air to Air/TSK-300 - A2A - SWEEP/TSK-300 - A2A - SWEEP.miz index 897e76d5bf..d4b3478f68 100644 Binary files a/TSK - Task Modelling/A2A - Air to Air/TSK-300 - A2A - SWEEP/TSK-300 - A2A - SWEEP.miz and b/TSK - Task Modelling/A2A - Air to Air/TSK-300 - A2A - SWEEP/TSK-300 - A2A - SWEEP.miz differ diff --git a/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-100 - SEAD/TSK-A2A-100 - SEAD.miz b/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-100 - SEAD/TSK-A2A-100 - SEAD.miz index bfd6ea3bab..ce211f5195 100644 Binary files a/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-100 - SEAD/TSK-A2A-100 - SEAD.miz and b/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-100 - SEAD/TSK-A2A-100 - SEAD.miz differ diff --git a/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-200 - BAI/TSK-A2A-200 - BAI.miz b/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-200 - BAI/TSK-A2A-200 - BAI.miz index f307331003..acff2a1a24 100644 Binary files a/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-200 - BAI/TSK-A2A-200 - BAI.miz and b/TSK - Task Modelling/A2G - Air to Ground/TSK-A2A-200 - BAI/TSK-A2A-200 - BAI.miz differ diff --git a/TSK - Task Modelling/A2G - Air to Ground/TSK-A2G-110 - BAI - WWII Mode/TSK-A2G-110 - BAI - WWII Mode.miz b/TSK - Task Modelling/A2G - Air to Ground/TSK-A2G-110 - BAI - WWII Mode/TSK-A2G-110 - BAI - WWII Mode.miz index b6d20c7d40..ef5e15c833 100644 Binary files a/TSK - Task Modelling/A2G - Air to Ground/TSK-A2G-110 - BAI - WWII Mode/TSK-A2G-110 - BAI - WWII Mode.miz and b/TSK - Task Modelling/A2G - Air to Ground/TSK-A2G-110 - BAI - WWII Mode/TSK-A2G-110 - BAI - WWII Mode.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-000 - Boarding Test/TSK-CGO-000 - Boarding Test.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-000 - Boarding Test/TSK-CGO-000 - Boarding Test.miz index f72d4e81d7..8ef2a5cbd5 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-000 - Boarding Test/TSK-CGO-000 - Boarding Test.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-000 - Boarding Test/TSK-CGO-000 - Boarding Test.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed.miz index 8e01cae3e3..e0d28a9c4d 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed/TSK-CGO-010 - Ground - Respawn on CargoGroup Destroyed.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones.miz index e10612dc14..2863f1a7de 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones/TSK-CGO-100 - Ground - 1 APC - 2 Tasks - 2 Cargo - 2 Zones.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone.miz index 145d0e25fa..6aed0a4321 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone/TSK-CGO-500 - Helo - 1 Helo - 1 Task - 1 Cargo - 1 Zone.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones.miz index e2d86bbf6f..13c6e31a94 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones/TSK-CGO-501 - Helo - 1 Helo - 1 Task - 1 Cargo - 2 Zones.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone.miz index 96d3c7512a..52b4444f76 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone/TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones.miz index 488c0bf1bf..9145607345 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones/TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones.miz differ diff --git a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones.miz b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones.miz index 2e424414f4..751b142ca1 100644 Binary files a/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones.miz and b/TSK - Task Modelling/CGO - Cargo Transportation/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones/TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones.miz differ diff --git a/WHS - Warehouse/Caucasus/WHS-160 - Resupply/WHS-160 - Resupply.miz b/WHS - Warehouse/Caucasus/WHS-160 - Resupply/WHS-160 - Resupply.miz index 018f4a34e5..ce8dccdaab 100644 Binary files a/WHS - Warehouse/Caucasus/WHS-160 - Resupply/WHS-160 - Resupply.miz and b/WHS - Warehouse/Caucasus/WHS-160 - Resupply/WHS-160 - Resupply.miz differ diff --git a/WHS - Warehouse/Caucasus/WHS-170 - Resupply/WHS-170 - Resupply.lua b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/WHS-170 - Resupply.lua new file mode 100644 index 0000000000..eba0be3666 --- /dev/null +++ b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/WHS-170 - Resupply.lua @@ -0,0 +1,104 @@ +----------------------- +-- Test 17: Resupply -- +----------------------- +-- Warehouse at FARP Berlin is located at the front line and sends infantry groups to the battle zone. +-- Whenever a group dies, a new group is send from the warehouse to the battle zone. +-- Additionally, for each dead group, Berlin requests resupply from Batumi. + +-- Display mission time every 30 seconds. +SCHEDULER:New(nil, UTILS.DisplayMissionTime, {5}, 30, 30) + +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +-- Define Warehouses. +local warehouse={} + +-- Blue warehouses +warehouse.Senaki = WAREHOUSE:New(STATIC:FindByName("Warehouse Senaki"), "Senaki") --Functional.Warehouse#WAREHOUSE +warehouse.Batumi = WAREHOUSE:New(STATIC:FindByName("Warehouse Batumi"), "Batumi") --Functional.Warehouse#WAREHOUSE +warehouse.Kobuleti = WAREHOUSE:New(STATIC:FindByName("Warehouse Kobuleti"), "Kobuleti") --Functional.Warehouse#WAREHOUSE +warehouse.Kutaisi = WAREHOUSE:New(STATIC:FindByName("Warehouse Kutaisi"), "Kutaisi") --Functional.Warehouse#WAREHOUSE +warehouse.Berlin = WAREHOUSE:New(STATIC:FindByName("Warehouse Berlin"), "Berlin") --Functional.Warehouse#WAREHOUSE +warehouse.London = WAREHOUSE:New(STATIC:FindByName("Warehouse London"), "London") --Functional.Warehouse#WAREHOUSE +warehouse.Stennis = WAREHOUSE:New(STATIC:FindByName("Warehouse Stennis"), "Stennis") --Functional.Warehouse#WAREHOUSE +warehouse.Pampa = WAREHOUSE:New(STATIC:FindByName("Warehouse Pampa"), "Pampa") --Functional.Warehouse#WAREHOUSE +warehouse.Pearth = WAREHOUSE:New(STATIC:FindByName("Warehouse Pearth"), "Pearth") --Functional.Warehouse#WAREHOUSE +-- Red warehouse +warehouse.Sukhumi = WAREHOUSE:New(STATIC:FindByName("Warehouse Sukhumi"), "Sukhumi") --Functional.Warehouse#WAREHOUSE +warehouse.Gudauta = WAREHOUSE:New(STATIC:FindByName("Warehouse Gudauta"), "Gudauta") --Functional.Warehouse#WAREHOUSE +warehouse.Sochi = WAREHOUSE:New(STATIC:FindByName("Warehouse Sochi"), "Sochi") --Functional.Warehouse#WAREHOUSE + +-- Fine tune warehouses if necessary. +warehouse.Batumi:SetSpawnZone(ZONE:New("Warehouse Batumi Spawn Zone")) +warehouse.Senaki:SetSpawnZone(ZONE:New("Warehouse Senaki Spawn Zone")) +warehouse.Kobuleti:SetSpawnZone(ZONE_POLYGON:New("Warehouse Kobuleti Spawn Zone", GROUP:FindByName("Warehouse Kobuleti Spawn Zone"))) + + +-- Creat explosion at an object. +local function Explosion(object, power) + power=power or 1000 + if object and object:IsAlive() then + object:GetCoordinate():Explosion(power) + end +end + +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +-- Start warehouses. +warehouse.Batumi:Start() +warehouse.Berlin:Start() + +-- Front line warehouse. +warehouse.Berlin:AddAsset("Infantry Platoon Alpha", 6) + +-- Resupply warehouse. +warehouse.Batumi:AddAsset("Infantry Platoon Alpha", 50) + +-- Battle zone near FARP Berlin. This is where the action is! +local BattleZone=ZONE:New("Virtual Battle Zone") + +-- Send infantry groups to the battle zone. Two groups every ~60 seconds. +for i=1,2 do + local time=(i-1)*60+10 + warehouse.Berlin:__AddRequest(time, warehouse.Berlin, WAREHOUSE.Descriptor.ATTRIBUTE, WAREHOUSE.Attribute.GROUND_INFANTRY, 2, nil, nil, nil, "To Battle Zone") +end + +-- Take care of the spawned units. +function warehouse.Berlin:OnAfterSelfRequest(From,Event,To,groupset,request) + local groupset=groupset --Core.Set#SET_GROUP + local request=request --Functional.Warehouse#WAREHOUSE.Pendingitem + + -- Get assignment of this request. + local assignment=warehouse.Berlin:GetAssignment(request) + + if assignment=="To Battle Zone" then + + for _,group in pairs(groupset:GetSet()) do + local group=group --Wrapper.Group#GROUP + + -- Route group to Battle zone. + local ToCoord=BattleZone:GetRandomCoordinate() + group:RouteGroundOnRoad(ToCoord, group:GetSpeedMax()*0.8) + + -- After 3-5 minutes we create an explosion to destroy the group. + SCHEDULER:New(nil, Explosion, {group, 50}, math.random(180, 300)) + end + + end + +end + +-- An asset has died ==> request resupply for it. +function warehouse.Berlin:OnAfterAssetDead(From, Event, To, asset, request) + local asset=asset --Functional.Warehouse#WAREHOUSE.Assetitem + local request=request --Functional.Warehouse#WAREHOUSE.Pendingitem + + -- Get assignment. + local assignment=warehouse.Berlin:GetAssignment(request) + + -- Request resupply for dead asset from Batumi. + warehouse.Batumi:AddRequest(warehouse.Berlin, WAREHOUSE.Descriptor.ATTRIBUTE, asset.attribute, 1, nil, nil, nil, "Resupply") + + -- Send asset to Battle zone either now or when they arrive. + warehouse.Berlin:AddRequest(warehouse.Berlin, WAREHOUSE.Descriptor.ATTRIBUTE, asset.attribute, 1, nil, nil, nil, assignment) +end diff --git a/WHS - Warehouse/Caucasus/WHS-170 - Resupply/WHS-170 - Resupply.miz b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/WHS-170 - Resupply.miz new file mode 100644 index 0000000000..211cff0d4a Binary files /dev/null and b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/WHS-170 - Resupply.miz differ diff --git a/WHS - Warehouse/Caucasus/WHS-170 - Resupply/pack.ps1 b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/WHS - Warehouse/Caucasus/WHS-170 - Resupply/unpack.ps1 b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/WHS - Warehouse/Caucasus/WHS-170 - Resupply/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" * diff --git a/ZON - Zones/ZON-100 - Normal Zone/ZON-100 - Normal Zone.miz b/ZON - Zones/ZON-100 - Normal Zone/ZON-100 - Normal Zone.miz index 610e8941f5..f43f270a5d 100644 Binary files a/ZON - Zones/ZON-100 - Normal Zone/ZON-100 - Normal Zone.miz and b/ZON - Zones/ZON-100 - Normal Zone/ZON-100 - Normal Zone.miz differ diff --git a/ZON - Zones/ZON-101 - Normal Zone - Random Point/ZON-101 - Normal Zone - Random Point.miz b/ZON - Zones/ZON-101 - Normal Zone - Random Point/ZON-101 - Normal Zone - Random Point.miz index d60e52328e..d0c450a623 100644 Binary files a/ZON - Zones/ZON-101 - Normal Zone - Random Point/ZON-101 - Normal Zone - Random Point.miz and b/ZON - Zones/ZON-101 - Normal Zone - Random Point/ZON-101 - Normal Zone - Random Point.miz differ diff --git a/ZON - Zones/ZON-102 - Normal Zone Boundary/ZON-102 - Normal Zone Boundary.miz b/ZON - Zones/ZON-102 - Normal Zone Boundary/ZON-102 - Normal Zone Boundary.miz index af3afa47b3..563c79ba04 100644 Binary files a/ZON - Zones/ZON-102 - Normal Zone Boundary/ZON-102 - Normal Zone Boundary.miz and b/ZON - Zones/ZON-102 - Normal Zone Boundary/ZON-102 - Normal Zone Boundary.miz differ diff --git a/ZON - Zones/ZON-103 - Test if GROUP object is in ZONE/ZON-103 - Test if GROUP object is in ZONE.miz b/ZON - Zones/ZON-103 - Test if GROUP object is in ZONE/ZON-103 - Test if GROUP object is in ZONE.miz index c1281a02aa..2c9bdcb8f3 100644 Binary files a/ZON - Zones/ZON-103 - Test if GROUP object is in ZONE/ZON-103 - Test if GROUP object is in ZONE.miz and b/ZON - Zones/ZON-103 - Test if GROUP object is in ZONE/ZON-103 - Test if GROUP object is in ZONE.miz differ diff --git a/ZON - Zones/ZON-110 - ZONE declared in ME/ZON-110 - ZONE declared in ME.miz b/ZON - Zones/ZON-110 - ZONE declared in ME/ZON-110 - ZONE declared in ME.miz index 628a24db0d..dcd7638511 100644 Binary files a/ZON - Zones/ZON-110 - ZONE declared in ME/ZON-110 - ZONE declared in ME.miz and b/ZON - Zones/ZON-110 - ZONE declared in ME/ZON-110 - ZONE declared in ME.miz differ diff --git a/ZON - Zones/ZON-190 - Return SCENERY objects in Zone/ZON-190 - Return SCENERY objects in Zone.miz b/ZON - Zones/ZON-190 - Return SCENERY objects in Zone/ZON-190 - Return SCENERY objects in Zone.miz index c26b131da2..9f4d623963 100644 Binary files a/ZON - Zones/ZON-190 - Return SCENERY objects in Zone/ZON-190 - Return SCENERY objects in Zone.miz and b/ZON - Zones/ZON-190 - Return SCENERY objects in Zone/ZON-190 - Return SCENERY objects in Zone.miz differ diff --git a/ZON - Zones/ZON-200 - Group Zone/ZON-200 - Group Zone.miz b/ZON - Zones/ZON-200 - Group Zone/ZON-200 - Group Zone.miz index f8f2efd33c..a1f6212034 100644 Binary files a/ZON - Zones/ZON-200 - Group Zone/ZON-200 - Group Zone.miz and b/ZON - Zones/ZON-200 - Group Zone/ZON-200 - Group Zone.miz differ diff --git a/ZON - Zones/ZON-201 - Group Zone - Random Point/ZON-201 - Group Zone - Random Point.miz b/ZON - Zones/ZON-201 - Group Zone - Random Point/ZON-201 - Group Zone - Random Point.miz index b638ac5dbd..8ff9ba940f 100644 Binary files a/ZON - Zones/ZON-201 - Group Zone - Random Point/ZON-201 - Group Zone - Random Point.miz and b/ZON - Zones/ZON-201 - Group Zone - Random Point/ZON-201 - Group Zone - Random Point.miz differ diff --git a/ZON - Zones/ZON-300 - Unit Zone/ZON-300 - Unit Zone.miz b/ZON - Zones/ZON-300 - Unit Zone/ZON-300 - Unit Zone.miz index fdb11c5407..6ef39ab831 100644 Binary files a/ZON - Zones/ZON-300 - Unit Zone/ZON-300 - Unit Zone.miz and b/ZON - Zones/ZON-300 - Unit Zone/ZON-300 - Unit Zone.miz differ diff --git a/ZON - Zones/ZON-301 - Unit Zone - Random Point/ZON-301 - Unit Zone - Random Point.miz b/ZON - Zones/ZON-301 - Unit Zone - Random Point/ZON-301 - Unit Zone - Random Point.miz index 7060687d1d..42986beb37 100644 Binary files a/ZON - Zones/ZON-301 - Unit Zone - Random Point/ZON-301 - Unit Zone - Random Point.miz and b/ZON - Zones/ZON-301 - Unit Zone - Random Point/ZON-301 - Unit Zone - Random Point.miz differ diff --git a/ZON - Zones/ZON-400 - Radius Zone/ZON-400 - Radius Zone.miz b/ZON - Zones/ZON-400 - Radius Zone/ZON-400 - Radius Zone.miz index 9080d9f2de..348a12c1db 100644 Binary files a/ZON - Zones/ZON-400 - Radius Zone/ZON-400 - Radius Zone.miz and b/ZON - Zones/ZON-400 - Radius Zone/ZON-400 - Radius Zone.miz differ diff --git a/ZON - Zones/ZON-401 - Radius Zone - Random Point/ZON-401 - Radius Zone - Random Point.miz b/ZON - Zones/ZON-401 - Radius Zone - Random Point/ZON-401 - Radius Zone - Random Point.miz index 4bc011fdbb..45ca7bcbbf 100644 Binary files a/ZON - Zones/ZON-401 - Radius Zone - Random Point/ZON-401 - Radius Zone - Random Point.miz and b/ZON - Zones/ZON-401 - Radius Zone - Random Point/ZON-401 - Radius Zone - Random Point.miz differ diff --git a/ZON - Zones/ZON-500 - Polygon Zone/ZON-500 - Polygon Zone.miz b/ZON - Zones/ZON-500 - Polygon Zone/ZON-500 - Polygon Zone.miz index 5ff7089db0..823a2065be 100644 Binary files a/ZON - Zones/ZON-500 - Polygon Zone/ZON-500 - Polygon Zone.miz and b/ZON - Zones/ZON-500 - Polygon Zone/ZON-500 - Polygon Zone.miz differ diff --git a/ZON - Zones/ZON-501 - Polygon Zone - Random Point/ZON-501 - Polygon Zone - Random Point.miz b/ZON - Zones/ZON-501 - Polygon Zone - Random Point/ZON-501 - Polygon Zone - Random Point.miz index 33f9d3cde8..b65e1c0d70 100644 Binary files a/ZON - Zones/ZON-501 - Polygon Zone - Random Point/ZON-501 - Polygon Zone - Random Point.miz and b/ZON - Zones/ZON-501 - Polygon Zone - Random Point/ZON-501 - Polygon Zone - Random Point.miz differ diff --git a/ZON - Zones/ZON-502 - Polygon Zone Boundary/ZON-502 - Polygon Zone Boundary.miz b/ZON - Zones/ZON-502 - Polygon Zone Boundary/ZON-502 - Polygon Zone Boundary.miz index 3842f37570..7f634a48f9 100644 Binary files a/ZON - Zones/ZON-502 - Polygon Zone Boundary/ZON-502 - Polygon Zone Boundary.miz and b/ZON - Zones/ZON-502 - Polygon Zone Boundary/ZON-502 - Polygon Zone Boundary.miz differ diff --git a/ZON - Zones/ZON-510 - ZONE_POLYGON declared in ME/ZON-510 - ZONE_POLYGON declared in ME.miz b/ZON - Zones/ZON-510 - ZONE_POLYGON declared in ME/ZON-510 - ZONE_POLYGON declared in ME.miz index e4b7c227e8..28537d89b4 100644 Binary files a/ZON - Zones/ZON-510 - ZONE_POLYGON declared in ME/ZON-510 - ZONE_POLYGON declared in ME.miz and b/ZON - Zones/ZON-510 - ZONE_POLYGON declared in ME/ZON-510 - ZONE_POLYGON declared in ME.miz differ