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:
parent
1689d47c19
commit
fff1acfa06
@ -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.
Binary file not shown.
@ -1,25 +0,0 @@
|
||||
-- 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:
|
||||
--
|
||||
-- At Gudauta spawn multiple ground vehicles, in a scheduled fashion.
|
||||
-- The vehicle should respawn when killed.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 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
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
Spawn_Vehicle_1 = SPAWN:New( "Spawn Vehicle 1" ):InitLimit( 1, 0 ):SpawnScheduled( 30, .5 )
|
||||
|
||||
|
||||
|
||||
|
||||
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" *
|
||||
@ -1,26 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-023 - Ground Ops - SpawnStart and SpawnStop
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 10 Jan 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- At Gudauta spawn multiple ground vehicles, in a scheduled fashion.
|
||||
-- The schedule is immediately stopped and started.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 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.
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
Spawn_Vehicle = SPAWN:New( "Spawn Vehicle 1" ):SpawnScheduled( 10, 0.5 ):SpawnScheduleStop()
|
||||
|
||||
Spawn_Vehicle:SpawnScheduleStart()
|
||||
|
||||
|
||||
|
||||
|
||||
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" *
|
||||
@ -1,27 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-024 - Ground Ops - Arrays
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 19 Jul 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- At Gudauta spawn multiple ground vehicles, in an array.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe that the ground vehicles are spawned at the position declared within the mission editor.
|
||||
-- 2. The vehicles should spawn according the array parameters.
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
Spawn_Vehicle = SPAWN
|
||||
:New( "Spawn Vehicles" )
|
||||
:InitLimit( 12, 60 )
|
||||
:InitArray( 90, 10, 10, 10 )
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-024 - Ground Ops - Arrays
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 19 Jul 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- At Gudauta spawn multiple ground vehicles, in an array.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe that the ground vehicles are spawned at the position declared within the mission editor.
|
||||
-- 2. The vehicles should spawn according the array parameters.
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
Spawn_Vehicle = SPAWN
|
||||
:New( "Spawn Vehicles" )
|
||||
:InitLimit( 12, 60 )
|
||||
:InitArray( 90, 10, 10, 10 )
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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" *
|
||||
@ -1,27 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-024 - Ground Ops - Arrays
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 19 Jul 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- At Gudauta spawn multiple ground vehicles, in an array.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe that the ground vehicles are spawned at the position declared within the mission editor.
|
||||
-- 2. The vehicles should spawn according the array parameters.
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
Spawn_Vehicle = SPAWN
|
||||
:New( "Spawn Vehicles" )
|
||||
:InitLimit( 12, 60 )
|
||||
:InitArray( 90, 10, 10, 10 )
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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" *
|
||||
@ -1,22 +0,0 @@
|
||||
-- Name: SPA-025 - Ground Ops - Spawn Hidden
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Sep 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- At Gudauta spawn a ground vehicle, hidden
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe that the ground vehicle is spawned and his hidden.
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
-- Spawn a gound vehicle...
|
||||
Spawn_Vehicle_1 = SPAWN:New( "Spawn Vehicle 1" )
|
||||
Spawn_Group_1 = Spawn_Vehicle_1:Spawn()
|
||||
|
||||
|
||||
|
||||
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" *
|
||||
@ -1,26 +0,0 @@
|
||||
-- Name: SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 06 Sep 2017
|
||||
-- Checked in 15 dez 2020 by ZERO
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- At Gudauta spawn a ground vehicle, hidden, based on a randomized template.
|
||||
--
|
||||
-- # 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
|
||||
|
||||
|
||||
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
-- Spawn a gound vehicle...
|
||||
|
||||
Templates = { "A", "B" }
|
||||
|
||||
Spawn_Vehicle_1 = SPAWN:New( "vehicle" )
|
||||
Spawn_Vehicle_1:InitRandomizeTemplate( Templates )
|
||||
Spawn_Group_1 = Spawn_Vehicle_1:Spawn()
|
||||
|
||||
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" *
|
||||
@ -1,25 +0,0 @@
|
||||
-- Name: SPA-027 - Ground Ops - Respawning After Destroy
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 10 Dec 2017
|
||||
--
|
||||
-- At Gudauta spawns ground vehicle, in a scheduled fashion.
|
||||
-- There can only be a maximum of 2 grond vehicles alive.
|
||||
-- When a ground vehicle is destroyed, a new one needs to be spawned at a different location in the zone.
|
||||
-- Until that one is also destroyed.
|
||||
--
|
||||
-- Red is attacking the spawned blue vehicles.
|
||||
-- Once blue is destroyed, a new blue needs to spawn.
|
||||
-- Until all 10 blue vehicles are spawned.
|
||||
-- The position of blue is randomized in the zone.
|
||||
-- Blue has ROE hold weapons.
|
||||
--
|
||||
|
||||
|
||||
BlueVehicleSpawn = SPAWN
|
||||
:New( "Tank" )
|
||||
:InitLimit( 2, 10 )
|
||||
:InitRandomizePosition( true, 200, 50 )
|
||||
:SpawnScheduled( 5, .5 )
|
||||
|
||||
|
||||
|
||||
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" *
|
||||
@ -1,8 +0,0 @@
|
||||
-- Tests Kutaisi
|
||||
-- -------------
|
||||
-- Tests the CleanUp functionality.
|
||||
-- Limited spawning of groups, scheduled every 10 seconds, who are engaging into combat. Some helicopters may crash land on the ground.
|
||||
-- Observe when helicopters land but are not dead and are out of the danger zone, that they get removed after a while (+/- 180 seconds) and ReSpawn.
|
||||
Spawn_Helicopter_Scheduled_CleanUp = SPAWN:New( "Spawn Helicopter Scheduled CleanUp" ):InitLimit( 3, 100 ):InitRandomizeRoute( 1, 1, 1000 ):InitCleanUp( 60 ):SpawnScheduled( 10, 0 )
|
||||
Spawn_Vehicle_Scheduled_CleanUp = SPAWN:New( "Spawn Vehicle Scheduled CleanUp" ):InitLimit( 3, 100 ):InitRandomizeRoute( 1, 1, 1000 ):SpawnScheduled( 10, 0 )
|
||||
|
||||
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
-- Tests Kutaisi
|
||||
-- -------------
|
||||
-- Tests the CleanUp functionality.
|
||||
-- Limited spawning of groups, scheduled every 10 seconds, who are engaging into combat. Some helicopters may crash land on the ground.
|
||||
-- Observe when helicopters land but are not dead and are out of the danger zone, that they get removed after a while (+/- 180 seconds) and ReSpawn.
|
||||
Spawn_Helicopter_Scheduled_CleanUp = SPAWN:New( "Spawn Helicopter Scheduled CleanUp" ):InitLimit( 3, 100 ):InitRandomizeRoute( 1, 1, 1000 ):InitCleanUp( 60 ):SpawnScheduled( 10, 0 )
|
||||
Spawn_Vehicle_Scheduled_CleanUp = SPAWN:New( "Spawn Vehicle Scheduled CleanUp" ):InitLimit( 3, 100 ):InitRandomizeRoute( 1, 1, 1000 ):SpawnScheduled( 10, 0 )
|
||||
|
||||
@ -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" *
|
||||
@ -1,17 +0,0 @@
|
||||
---
|
||||
-- Tests Gudauta
|
||||
-- -------------
|
||||
-- Limited scheduled spawning of groups...
|
||||
Spawn_Plane_Limited_Scheduled = SPAWN:New( "Spawn Plane Limited Scheduled" ):InitLimit( 4, 20 ):SpawnScheduled( 30, 0 )
|
||||
Spawn_Helicopter_Limited_Scheduled = SPAWN:New( "Spawn Helicopter Limited Scheduled" ):InitLimit( 4, 20 ):SpawnScheduled( 30, 0 )
|
||||
Spawn_Ground_Limited_Scheduled = SPAWN:New( "Spawn Vehicle Limited Scheduled" ):InitLimit( 4, 20 ):SpawnScheduled( 90, 0 )
|
||||
|
||||
---
|
||||
-- Tests Sukhumi
|
||||
-- -------------
|
||||
-- Limited scheduled spawning of groups with destruction...
|
||||
Spawn_Plane_Limited_Scheduled_RandomizeRoute = SPAWN:New( "Spawn Plane Limited Scheduled Destroy" ):InitLimit( 4, 20 ):SpawnScheduled( 10, 0 )
|
||||
Spawn_Helicopter_Limited_Scheduled_RandomizeRoute = SPAWN:New( "Spawn Helicopter Limited Scheduled Destroy" ):InitLimit( 4, 20 ):SpawnScheduled( 10, 0 )
|
||||
Spawn_Vehicle_Limited_Scheduled_RandomizeRoute = SPAWN:New( "Spawn Vehicle Limited Scheduled Destroy" ):InitLimit( 4, 20 ):SpawnScheduled( 10, 0 )
|
||||
|
||||
|
||||
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" *
|
||||
@ -1,35 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-120 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Feb 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- One airplane and one helicopter will be spawned.
|
||||
-- Only one airplane and one helicopter can be alive at the same time.
|
||||
-- Upon landing, the airplane and helicopter will respawn at Kutaisi.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe the spawning of the airplane and helicopter
|
||||
-- 2. There should not be more airplanes alive than there are set by InitLimit.
|
||||
-- 3. Upon landing, the planes should respawn.
|
||||
-- 5. The plane should respawn itself when the air unit has parked at the ramp or has landed.
|
||||
|
||||
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
Spawn_Plane = SPAWN:New("Plane"):InitLimit( 2, 0 )
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
-- Repeat on ... (when landed on the airport)
|
||||
Spawn_Plane:InitRepeatOnEngineShutDown()
|
||||
|
||||
-- Now SPAWN the GROUPs
|
||||
Spawn_Plane:SpawnScheduled(30,0)
|
||||
|
||||
-- Now run the mission and observe the behaviour.
|
||||
|
||||
end
|
||||
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" *
|
||||
@ -1,41 +0,0 @@
|
||||
---
|
||||
-- MOOSE SPAWN repeat test scenario
|
||||
-- -------------------------------
|
||||
-- There are 8 GROUPs Spawned.
|
||||
-- They fly around Kutaisi and will land.
|
||||
-- Upon landing:
|
||||
-- 1. The KA-50 and the C-101EB should respawn itself directly when landed.
|
||||
-- 2. the MI-8MTV2 and the A-10C should respawn itself when the air unit has parked at the ramp.
|
||||
--
|
||||
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
local Spawn_KA_50 = SPAWN:New("KA-50")
|
||||
local Spawn_MI_8MTV2 = SPAWN:New("MI-8MTV2")
|
||||
local Spawn_C_101EB = SPAWN:New("C-101EB")
|
||||
local Spawn_A_10C = SPAWN:New("A-10C")
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
-- Repeat on landing
|
||||
Spawn_KA_50:InitRepeatOnLanding()
|
||||
Spawn_C_101EB:InitRepeatOnLanding()
|
||||
|
||||
-- Repeat on enging shutdown (when landed on the airport)
|
||||
Spawn_MI_8MTV2:InitRepeatOnEngineShutDown()
|
||||
Spawn_A_10C:InitRepeatOnEngineShutDown()
|
||||
|
||||
-- Now SPAWN the GROUPs
|
||||
Spawn_KA_50:Spawn()
|
||||
Spawn_C_101EB:Spawn()
|
||||
Spawn_MI_8MTV2:Spawn()
|
||||
Spawn_A_10C:Spawn()
|
||||
Spawn_KA_50:Spawn()
|
||||
Spawn_C_101EB:Spawn()
|
||||
Spawn_MI_8MTV2:Spawn()
|
||||
Spawn_A_10C:Spawn()
|
||||
|
||||
-- Now run the mission and observe the behaviour.
|
||||
|
||||
end
|
||||
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" *
|
||||
@ -1,51 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 05 Feb 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- Multiple airplanes will be spawned at a scheduled interval.
|
||||
-- There is a limit on how many airplanes can be alive at the same time.
|
||||
-- Upon landing, the airplanes will respawn at Kutaisi.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe the spawning of the airplanes
|
||||
-- 2. There should not be more airplanes alive than there are set by InitLimit.
|
||||
-- 3. Upon landing, the planes should respawn.
|
||||
-- 4. The KA-50 and the C-101EB should respawn itself directly when landed.
|
||||
-- 5. the MI-8MTV2 and the A-10C should respawn itself when the air unit has parked at the ramp.
|
||||
|
||||
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 2, 10 )
|
||||
Spawn_MI_8MTV2 = SPAWN:New("MI-8MTV2"):InitLimit( 2, 10 )
|
||||
Spawn_C_101EB = SPAWN:New("C-101EB"):InitLimit( 2, 10 )
|
||||
Spawn_A_10C = SPAWN:New("A-10C")
|
||||
:InitLimit( 2, 10 )
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
-- Repeat on landing
|
||||
Spawn_KA_50:InitRepeatOnLanding()
|
||||
Spawn_KA_50:InitDelayOff()
|
||||
|
||||
Spawn_C_101EB:InitRepeatOnLanding()
|
||||
Spawn_C_101EB:InitDelayOff()
|
||||
|
||||
-- Repeat on enging shutdown (when landed on the airport)
|
||||
Spawn_MI_8MTV2:InitRepeatOnEngineShutDown()
|
||||
Spawn_A_10C:InitRepeatOnEngineShutDown()
|
||||
|
||||
-- Now SPAWN the GROUPs
|
||||
Spawn_KA_50:SpawnScheduled(180,0)
|
||||
Spawn_C_101EB:SpawnScheduled(180,0)
|
||||
Spawn_MI_8MTV2:SpawnScheduled(180,0)
|
||||
Spawn_A_10C:SpawnScheduled(180,0)
|
||||
|
||||
-- Now run the mission and observe the behaviour.
|
||||
|
||||
end
|
||||
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" *
|
||||
@ -1,47 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-122 - Air Ops - OnLand test for Scheduled Spawns
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 21 Mar 2017
|
||||
--
|
||||
-- # Situation:
|
||||
--
|
||||
-- An airplane is spawned at a scheduled interval.
|
||||
-- There is a limit on how many airplanes can be alive at the same time.
|
||||
-- Upon landing, the airplane will respawn in the air.
|
||||
--
|
||||
-- # Test cases:
|
||||
--
|
||||
-- 1. Observe the spawning of the airplanes
|
||||
-- 2. There should not be more airplanes alive than there are set by InitLimit.
|
||||
-- 3. Upon landing, the planes should respawn.
|
||||
-- 4. The KA-50 and the C-101EB should respawn itself directly when landed.
|
||||
-- 5. the MI-8MTV2 and the A-10C should respawn itself when the air unit has parked at the ramp.
|
||||
|
||||
|
||||
do
|
||||
|
||||
-- Declare SPAWN objects
|
||||
Spawn_KA_50 = SPAWN:New("KA-50"):InitLimit( 1, 0 )
|
||||
Spawn_MI_8MTV2 = SPAWN:New("MI-8MTV2"):InitLimit( 1, 0 )
|
||||
Spawn_C_101EB = SPAWN:New("C-101EB"):InitLimit( 1, 0 )
|
||||
Spawn_A_10C = SPAWN:New("A-10C"):InitLimit( 1, 0 )
|
||||
|
||||
-- Choose repeat functionality
|
||||
|
||||
-- Repeat on landing
|
||||
Spawn_KA_50:InitRepeatOnLanding()
|
||||
Spawn_C_101EB:InitRepeatOnLanding()
|
||||
|
||||
-- Repeat on enging shutdown (when landed on the airport)
|
||||
Spawn_MI_8MTV2:InitRepeatOnEngineShutDown()
|
||||
Spawn_A_10C:InitRepeatOnEngineShutDown()
|
||||
|
||||
-- Now SPAWN the GROUPs
|
||||
Spawn_KA_50:SpawnScheduled(30,0)
|
||||
Spawn_C_101EB:SpawnScheduled(30,0)
|
||||
Spawn_MI_8MTV2:SpawnScheduled(30,0)
|
||||
Spawn_A_10C:SpawnScheduled(30,0)
|
||||
|
||||
-- Now run the mission and observe the behaviour.
|
||||
|
||||
end
|
||||
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" *
|
||||
@ -1,29 +0,0 @@
|
||||
---
|
||||
-- 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:
|
||||
--
|
||||
-- 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, 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
|
||||
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" *
|
||||
@ -1,52 +0,0 @@
|
||||
----------------------------------------------------------------------
|
||||
--SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup() Escort Task
|
||||
----------------------------------------------------------------------
|
||||
--//////////////////////////////////
|
||||
--////////////Tankers and awacs v1
|
||||
--//////////////////////////////////
|
||||
--////////// By Targs35 /////////////
|
||||
--//////////////// from 62nd Air Wing, Brisbane server..
|
||||
--///////////////////////////////////
|
||||
------- With thanks to the guys at MOOSE and in particular Pikes, Nolove, Delta99 and Wingthor
|
||||
-- Funky Frank is the man..
|
||||
-----////////////////////////////////
|
||||
--/////////// Spawn Tanker and Escorts ///
|
||||
|
||||
do
|
||||
|
||||
local PointVec1 = POINT_VEC3:New( -100, 20, 80 ) -- This is a Vec3 class - defines the position of the escorts relative to the escorted group
|
||||
local PointVec2 = POINT_VEC3:New( -100, 20, 150 ) -- This is a Vec3 class - defines the position of the escorts relative to the escorted group
|
||||
|
||||
--Create Spawn Groups, use the OnSpawnGroup() function to spawn two escorts and task them
|
||||
|
||||
local Tanker_Texaco = SPAWN
|
||||
:New("Tanker_Texaco_Droge")
|
||||
:InitLimit( 1, 2 ) -- group with one unit, spawn 1 *alive* units max
|
||||
:InitCleanUp( 240 )
|
||||
:OnSpawnGroup(function (tanker) -- tanker contains the GROUP object when the tanker spawns
|
||||
local Escort_Texaco_1 = SPAWN
|
||||
:New("Escort_Texaco_F14 001")
|
||||
:InitLimit( 1, 2 )
|
||||
:InitCleanUp( 240 )
|
||||
:OnSpawnGroup(function (spawndgroup) -- spawndgrp contains the GROUP object when the escort spawns
|
||||
local FollowDCSTask1 = spawndgroup:TaskFollow( tanker, PointVec1 ) -- create task
|
||||
spawndgroup:SetTask( FollowDCSTask1, 1 ) -- push task on the GROUP
|
||||
end
|
||||
)
|
||||
:SpawnScheduled( 60, 0.5 )
|
||||
|
||||
local Escort_Texaco_2 = SPAWN
|
||||
:New("Escort_Texaco_F14 002")
|
||||
:InitLimit( 1, 2 )
|
||||
:InitCleanUp( 240 )
|
||||
:OnSpawnGroup(function (spawndgroup) -- spawndgrp contains the GROUP object when the escort spawns
|
||||
local FollowDCSTask2 = spawndgroup:TaskFollow( tanker, PointVec2 )
|
||||
spawndgroup:SetTask( FollowDCSTask2, 1 )
|
||||
end
|
||||
)
|
||||
:SpawnScheduled( 60, 0.5 )
|
||||
end
|
||||
)
|
||||
:SpawnScheduled( 60, 0.5 )
|
||||
|
||||
end
|
||||
@ -1,52 +0,0 @@
|
||||
----------------------------------------------------------------------
|
||||
--SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup() Escort Task
|
||||
----------------------------------------------------------------------
|
||||
--//////////////////////////////////
|
||||
--////////////Tankers and awacs v1
|
||||
--//////////////////////////////////
|
||||
--////////// By Targs35 /////////////
|
||||
--//////////////// from 62nd Air Wing, Brisbane server..
|
||||
--///////////////////////////////////
|
||||
------- With thanks to the guys at MOOSE and in particular Pikes, Nolove, Delta99 and Wingthor
|
||||
-- Funky Frank is the man..
|
||||
-----////////////////////////////////
|
||||
--/////////// Spawn Tanker and Escorts ///
|
||||
|
||||
do
|
||||
|
||||
local PointVec1 = POINT_VEC3:New( -100, 20, 80 ) -- This is a Vec3 class - defines the position of the escorts relative to the escorted group
|
||||
local PointVec2 = POINT_VEC3:New( -100, 20, 150 ) -- This is a Vec3 class - defines the position of the escorts relative to the escorted group
|
||||
|
||||
--Create Spawn Groups, use the OnSpawnGroup() function to spawn two escorts and task them
|
||||
|
||||
local Tanker_Texaco = SPAWN
|
||||
:New("Tanker_Texaco_Droge")
|
||||
:InitLimit( 1, 2 ) -- spawn 1 *alive* units max
|
||||
:InitCleanUp( 240 )
|
||||
:OnSpawnGroup(function (tanker) -- tanker contains the GROUP object when the tanker spawns
|
||||
local Escort_Texaco_1 = SPAWN
|
||||
:New("Escort_Texaco_F14 001")
|
||||
:InitLimit( 1, 2 )
|
||||
:InitCleanUp( 240 )
|
||||
:OnSpawnGroup(function (spawndgroup) -- spawndgrp contains the GROUP object when the escort spawns
|
||||
local FollowDCSTask1 = spawndgroup:TaskFollow( tanker, PointVec1 ) -- create task
|
||||
spawndgroup:SetTask( FollowDCSTask1, 1 ) -- push task on the GROUP
|
||||
end
|
||||
)
|
||||
:SpawnScheduled( 60, 0.5 )
|
||||
|
||||
local Escort_Texaco_2 = SPAWN
|
||||
:New("Escort_Texaco_F14 002")
|
||||
:InitLimit( 1, 2 )
|
||||
:InitCleanUp( 240 )
|
||||
:OnSpawnGroup(function (spawndgroup) -- spawndgrp contains the GROUP object when the escort spawns
|
||||
local FollowDCSTask2 = spawndgroup:TaskFollow( tanker, PointVec2 )
|
||||
spawndgroup:SetTask( FollowDCSTask2, 1 )
|
||||
end
|
||||
)
|
||||
:SpawnScheduled( 60, 0.5 )
|
||||
end
|
||||
)
|
||||
:SpawnScheduled( 60, 0.5 )
|
||||
|
||||
end
|
||||
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
$dir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||
cd $dir
|
||||
$file = Split-Path $dir -leaf
|
||||
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" *
|
||||
@ -1,47 +0,0 @@
|
||||
---
|
||||
-- Name: SPA-130 - Uncontrolled Spawning
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 04 Feb 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:
|
||||
--
|
||||
-- 1. Observe the spawning of the UnControlled Plane.
|
||||
-- 2. Observe the spawning of the Controlled Plane.
|
||||
|
||||
|
||||
-- Create the SPAWN object looking for the group (template) "Plane".
|
||||
SpawnPlane = SPAWN:New( "Plane" )
|
||||
|
||||
-- Set the spawn mode to UnControlled.
|
||||
SpawnPlane:InitUnControlled( true )
|
||||
|
||||
-- Spawn the UnControlled Group
|
||||
UnControlledPlane = SpawnPlane:Spawn()
|
||||
|
||||
-- Set the spawn mode back to Controlled.
|
||||
SpawnPlane:InitUnControlled( false )
|
||||
|
||||
ControlledPlane = SpawnPlane:Spawn()
|
||||
|
||||
-- Now, let's create a menu option at a player slot plane...
|
||||
-- We can only create the menu option if the player has joined the slot ...
|
||||
PlayerPlane = CLIENT:FindByName( "PlayerPlane", "Select Menu item to activate UnControlled plane" )
|
||||
|
||||
PlayerPlane:Alive(
|
||||
function( Client, SpawnPlane )
|
||||
|
||||
--- @param Functional.Spawn#SPAWN SpawnPlane
|
||||
local function ActivatePlane( SpawnPlane )
|
||||
SpawnPlane:InitUnControlled( false )
|
||||
SpawnPlane:ReSpawn( 1 )
|
||||
end
|
||||
|
||||
local Menu = MENU_CLIENT_COMMAND:New( Client, "Select to activate UnControlled plane", nil, ActivatePlane, SpawnPlane )
|
||||
end
|
||||
, SpawnPlane
|
||||
)
|
||||
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" *
|
||||
@ -1,11 +0,0 @@
|
||||
-- Name: SPA-131 - Air Ops - SpawnAtAirbase
|
||||
-- Author: FlightControl
|
||||
-- Date Created: 14 Sep 2017
|
||||
--
|
||||
Spawn_Plane = SPAWN:New( "Plane" )
|
||||
Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( AIRBASE.Nevada.Groom_Lake_AFB ), SPAWN.Takeoff.Cold )
|
||||
Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( AIRBASE.Nevada.Groom_Lake_AFB ), SPAWN.Takeoff.Hot )
|
||||
Spawn_Plane:SpawnAtAirbase( AIRBASE:FindByName( AIRBASE.Nevada.Groom_Lake_AFB ), SPAWN.Takeoff.Runway )
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user