mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
Clean up demo missions
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
-- Name: SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 18 Mar 2017
|
||||
-- Checked in 15 dez 2020 by ZERO
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
@@ -11,6 +12,7 @@
|
||||
--
|
||||
-- 1. Observe that the ground vehicles are spawned at the position declared within the mission editor.
|
||||
-- 2. The vehicles should spawn according the scheduler parameters.
|
||||
-- 3. When the vehicle spawned die, a new vehicle will be spawned
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,7 @@
|
||||
-- Name: SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Sep 2017
|
||||
-- Checked in 15 dez 2020 by ZERO
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
@@ -9,6 +10,7 @@
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe that a random ground vehicle is spawned and his hidden.
|
||||
-- 2. Observe that templates are hidden on MAP on Mission Editor
|
||||
|
||||
|
||||
|
||||
@@ -18,9 +20,7 @@
|
||||
|
||||
Templates = { "A", "B" }
|
||||
|
||||
Spawn_Vehicle_1 = SPAWN:New( "Vehicle" )
|
||||
Spawn_Vehicle_1 = SPAWN:New( "vehicle" )
|
||||
Spawn_Vehicle_1:InitRandomizeTemplate( Templates )
|
||||
Spawn_Group_1 = Spawn_Vehicle_1:Spawn()
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,10 @@
|
||||
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||
cd $dir
|
||||
$file = Split-Path $dir -leaf
|
||||
cd "_unpacked"
|
||||
. 7z a -r -y -tzip "..\$file.miz" *
|
||||
$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 ..
|
||||
|
||||
@@ -1,7 +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" *
|
||||
$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.
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,7 @@
|
||||
-- Name: SPA-123 - Air Ops - Repeat on Landing and InitCleanUp
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 15 Sep 2018
|
||||
-- Checked in 15 dez 2020 by ZERO
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
@@ -12,7 +13,7 @@
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 2, 10 )
|
||||
Spawn_KA_50 = SPAWN:New("KA-50")
|
||||
:InitLimit( 2, 0 )
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,19 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-140 - Spawn Client Slots
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 30 Aug 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- A plane will be spawned Uncontrolled and later one will be spawned Controlled.
|
||||
-- Only the Controlled plane will move, the other will remain idle at the parking spot.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
|
||||
-- Create the SPAWN object looking for the group (template) "Plane".
|
||||
SpawnPlane = SPAWN:New( "Plane" )
|
||||
|
||||
-- Spawn the UnControlled Group
|
||||
UnControlledPlane = SpawnPlane:SpawnClientAtAirbase( AIRBASE:FindByName( AIRBASE.Caucasus.Kutaisi ) )
|
||||
|
||||
Binary file not shown.
@@ -1,10 +0,0 @@
|
||||
$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 ..
|
||||
@@ -1,7 +0,0 @@
|
||||
$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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user