diff --git a/OPS - Auftrag/Airforce/Auftrag - 029 - Cargo Transport/Auftrag - 029 - Cargo Transport.miz b/OPS - Auftrag/Airforce/Auftrag - 029 - Cargo Transport/Auftrag - 029 - Cargo Transport.miz index 2996364611..a731c8f556 100644 Binary files a/OPS - Auftrag/Airforce/Auftrag - 029 - Cargo Transport/Auftrag - 029 - Cargo Transport.miz and b/OPS - Auftrag/Airforce/Auftrag - 029 - Cargo Transport/Auftrag - 029 - Cargo Transport.miz differ diff --git a/OPS - Auftrag/Army/Auftrag - 020 - Capture Zone/Auftrag - 020 - Capture Zone.lua b/OPS - Auftrag/Army/Auftrag - 020 - Capture Zone/Auftrag - 020 - Capture Zone.lua new file mode 100644 index 0000000000..7a2eff8855 --- /dev/null +++ b/OPS - Auftrag/Army/Auftrag - 020 - Capture Zone/Auftrag - 020 - Capture Zone.lua @@ -0,0 +1,31 @@ +--- +-- AUFTRAG: Capture Zone +-- +-- A IFV Bradley is located near Mozdok airbase. +-- It is assigned to capture a zone nearby. +-- +-- In the zone, there are three BMP-80s, which have ROE="Weapon Hold". +-- The Bradley will engage all three targets. Once they are destroyed, +-- it will return to its initial position. +-- +-- NOTE that the group does not rely on its detection. It will know +-- all enemy position via the eye of Sauron. +--- + + +-- Create a new ARMYGROUP object. +local bradley=ARMYGROUP:New("Bradley Alpha-1") + +-- Create a capture zone and start it. +local opszone=OPSZONE:New("Alpha-1") +opszone:Start() + + +-- Create a new CAPTUREZONE mission. Mission is a success once the BLUE coalition captures it. +local mission=AUFTRAG:NewCAPTUREZONE(opszone, coalition.side.BLUE) + + +-- Assign mission to Bradley. +bradley:AddMission(mission) + + diff --git a/OPS - Auftrag/Army/Auftrag - 020 - Capture Zone/Auftrag - 020 - Capture Zone.miz b/OPS - Auftrag/Army/Auftrag - 020 - Capture Zone/Auftrag - 020 - Capture Zone.miz new file mode 100644 index 0000000000..5bac2e3c35 Binary files /dev/null and b/OPS - Auftrag/Army/Auftrag - 020 - Capture Zone/Auftrag - 020 - Capture Zone.miz differ diff --git a/OPS - Auftrag/Army/Auftrag - 021 - Capture Zones/Auftrag - 021 - Capture Zones.lua b/OPS - Auftrag/Army/Auftrag - 021 - Capture Zones/Auftrag - 021 - Capture Zones.lua new file mode 100644 index 0000000000..008f6ed4c1 --- /dev/null +++ b/OPS - Auftrag/Army/Auftrag - 021 - Capture Zones/Auftrag - 021 - Capture Zones.lua @@ -0,0 +1,50 @@ +--- +-- AUFTRAG: Capture Zone +-- +-- A IFV Bradley and an MBT Abrams are located near Mozdok airbase. +-- +-- They are assigned to capture multiple zones nearby. +-- +-- In some zones, there are enemy units, which have ROE="Weapon Hold". +-- The blue forces will engage all targets. +-- +-- The blue forces will always try to capture the nearest red or neutral +-- zone. +-- +-- Once all six zones are captured, blue will return to their initial +-- position. +-- +-- NOTE that the group does not rely on its detection. It will know +-- all enemy position via the eye of Sauron. +--- + +-- Create a capture zones. +local opszone1=OPSZONE:New("Alpha-1") +local opszone2=OPSZONE:New("Alpha-2") +local opszone3=OPSZONE:New("Alpha-3") +local opszone4=OPSZONE:New("Alpha-4") +local opszone5=OPSZONE:New("Alpha-5") +local opszone6=OPSZONE:New("Alpha-6") + + +-- Create a SET_OPSGROUP of the capture zones. +local opszones=SET_OPSZONE:New():FilterPrefixes("Alpha"):FilterOnce() + +-- Start all opszones in the SET. +opszones:Start() + + +-- Create a new CAPTUREZONE mission. Mission is a success once the BLUE coalition captures it. +local mission=AUFTRAG:NewCAPTUREZONE(opszones, coalition.side.BLUE) + + +-- Create a new ARMYGROUP object. +local bradley=ARMYGROUP:New("Bradley Alpha-1") + +-- Assign mission to Bradley. +bradley:AddMission(mission) + +local abrams=ARMYGROUP:New("Abrams Alpha-1") + +-- Assign mission to Abrams. +abrams:AddMission(mission) diff --git a/OPS - Auftrag/Army/Auftrag - 021 - Capture Zones/Auftrag - 021 - Capture Zones.miz b/OPS - Auftrag/Army/Auftrag - 021 - Capture Zones/Auftrag - 021 - Capture Zones.miz new file mode 100644 index 0000000000..ec89aa4b81 Binary files /dev/null and b/OPS - Auftrag/Army/Auftrag - 021 - Capture Zones/Auftrag - 021 - Capture Zones.miz differ diff --git a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/OPS - Auftrag - 011 Armor Attack.lua b/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/OPS - Auftrag - 011 Armor Attack.lua deleted file mode 100644 index 6aa6747285..0000000000 --- a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/OPS - Auftrag - 011 Armor Attack.lua +++ /dev/null @@ -1,16 +0,0 @@ ---- --- Auftrag - Armor Attack --- ---- - --- Create a new ARMYGROUP object. -local armygroup=ARMYGROUP:New("Blue Tanks") -armygroup:SetDefaultFormation(ENUMS.Formation.Vehicle.OnRoad) - --- We set the weapon min/max ranges in nautical miles (NM). Target needs to be not closer than 2 km. -armygroup:AddWeaponRange(UTILS.KiloMetersToNM(2)) - -local mission = AUFTRAG:NewARMORATTACK(GROUP:FindByName("Red Tanks"),UTILS.KmphToKnots(20),"Vee") - --- Give mission to commander. -armygroup:AddMission(mission) \ No newline at end of file diff --git a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/OPS - Auftrag - 011 Armor Attack.miz b/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/OPS - Auftrag - 011 Armor Attack.miz deleted file mode 100644 index 0e291c5f47..0000000000 Binary files a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/OPS - Auftrag - 011 Armor Attack.miz and /dev/null differ diff --git a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/pack.ps1 b/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/pack.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -$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/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/unpack.ps1 b/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/OPS - Auftrag/Army/OPS - Auftrag - 011 Armor Attack/unpack.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -$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" *