mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
MOOSE demonstration missions [skip ci]
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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()
|
||||
Binary file not shown.
@@ -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 ..
|
||||
@@ -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" *
|
||||
Binary file not shown.
@@ -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 )
|
||||
Binary file not shown.
6
DET - Detection/DET-600 - Detection Zones/pack.ps1
Normal file
6
DET - Detection/DET-600 - Detection Zones/pack.ps1
Normal file
@@ -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 ..
|
||||
7
DET - Detection/DET-600 - Detection Zones/unpack.ps1
Normal file
7
DET - Detection/DET-600 - Detection Zones/unpack.ps1
Normal file
@@ -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" *
|
||||
@@ -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 )
|
||||
Binary file not shown.
@@ -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 ..
|
||||
@@ -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" *
|
||||
Binary file not shown.
Reference in New Issue
Block a user