mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
OPS Demo
**AUFTRAG** - Added new demo missions for CAPTUREZONE type.
This commit is contained in:
parent
5e7f4af24f
commit
af91dc6ee1
Binary file not shown.
@ -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)
|
||||
|
||||
|
||||
Binary file not shown.
@ -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)
|
||||
Binary file not shown.
@ -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)
|
||||
Binary file not shown.
@ -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 ..
|
||||
@ -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" *
|
||||
Loading…
x
Reference in New Issue
Block a user