Add files via upload

This commit is contained in:
Applevangelist
2021-11-24 15:38:45 +01:00
committed by GitHub
parent 42f88d2820
commit 3197726024
4 changed files with 33 additions and 0 deletions
@@ -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)
@@ -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" *