mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-26 17:56:38 +00:00
Add files via upload
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
-- 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)
|
||||||
BIN
Binary file not shown.
@@ -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 ..
|
||||||
@@ -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" *
|
||||||
Reference in New Issue
Block a user