MOOSE demonstration missions [skip ci]

This commit is contained in:
FlightControl-User
2018-09-22 20:07:36 +00:00
parent 826439e222
commit d73f3f3bd7
1296 changed files with 19735 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
-- Name: SPA-123 - Air Ops - Repeat on Landing and InitCleanUp
-- Author: FlightControl
-- Date Created: 15 Sep 2018
--
-- # Situation:
--
-- Helicpters spawn and are lightly shot until the crash land, but don't really destroy.
-- The should be respawned after a while.
-- No performance overhead should be noticed.
do
-- Declare SPAWN objects
Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 2, 10 )
:InitLimit( 2, 0 )
-- Choose repeat functionality
-- Repeat on landing
Spawn_KA_50:InitRepeatOnLanding()
Spawn_KA_50:InitDelayOff()
Spawn_KA_50:InitCleanUp( 300 )
Spawn_KA_50:SpawnScheduled( 180, 0.2 )
-- Now run the mission and observe the behaviour.
end

View File

@@ -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 ..

View 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" *