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:
@@ -0,0 +1,32 @@
|
||||
---
|
||||
-- AUFTRAG: Arty
|
||||
--
|
||||
-- USS Lake Erie is ordered to attack two targets.
|
||||
-- First target is engaged with cruise missiles. Second with cannons.
|
||||
---
|
||||
|
||||
-- Create a NAVYGROUP object.
|
||||
local navygroup=NAVYGROUP:New("USS Lake Erie Group")
|
||||
|
||||
-- Increase output to DCS log file.
|
||||
navygroup:SetVerbosity(3)
|
||||
|
||||
-- Set weapon range (in NM). This is IMPORTANT since the fire at point task is not executed if the ship is not in range.
|
||||
navygroup:AddWeaponRange(5.5, 270, ENUMS.WeaponFlag.CruiseMissile)
|
||||
navygroup:AddWeaponRange(2.7, 13, ENUMS.WeaponFlag.Cannons)
|
||||
|
||||
-- Targets.
|
||||
local target1=GROUP:FindByName("Red Target X")
|
||||
local target2=GROUP:FindByName("Red Target Poti")
|
||||
|
||||
-- First mission uses 5 cruise missiles. NOTE that cruise missiles don't obey the radius parametrer of the fire at point task :( They all impact at the same position.
|
||||
local auftrag1=AUFTRAG:NewARTY(target1, 5)
|
||||
auftrag1:SetWeaponType(ENUMS.WeaponFlag.CruiseMissile)
|
||||
|
||||
-- Second mission fires 10 shells at a target near Poti. Radius is set to 250 meters.
|
||||
local auftrag2=AUFTRAG:NewARTY(target2, 10, 250)
|
||||
auftrag2:SetWeaponType(ENUMS.WeaponFlag.Cannons)
|
||||
|
||||
-- Assign mission to the ship's captain.
|
||||
navygroup:AddMission(auftrag1)
|
||||
navygroup:AddMission(auftrag2)
|
||||
BIN
OPS - Auftrag/Navy/Auftrag - 010 - Arty/Auftrag - 010 - Arty.miz
Normal file
BIN
OPS - Auftrag/Navy/Auftrag - 010 - Arty/Auftrag - 010 - Arty.miz
Normal file
Binary file not shown.
Reference in New Issue
Block a user