diff --git a/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua b/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua index 01978f8be7..6416b0bcd8 100644 --- a/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua +++ b/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua @@ -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 diff --git a/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz b/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz index 50496c2ede..ef2f31cdc4 100644 Binary files a/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz and b/SPA - Spawning/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz differ diff --git a/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz b/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz index a402d6d946..040af34c94 100644 Binary files a/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz and b/SPA - Spawning/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz differ diff --git a/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz b/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz index 59770ec52c..b6f97bd8e9 100644 Binary files a/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz and b/SPA - Spawning/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz differ diff --git a/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz b/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz index 14470d789b..0a7ecbd5ee 100644 Binary files a/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz and b/SPA - Spawning/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz differ diff --git a/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua b/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua index be23d79481..de32e8349a 100644 --- a/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua +++ b/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua @@ -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() - - diff --git a/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz b/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz index 36f8e22a8d..35b8741aad 100644 Binary files a/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz and b/SPA - Spawning/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz differ diff --git a/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz b/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz index 3b30d03c46..c7e660959a 100644 Binary files a/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz and b/SPA - Spawning/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz differ diff --git a/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz b/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz index 882781ef4d..2eb71c4cae 100644 Binary files a/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz and b/SPA - Spawning/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz differ diff --git a/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz b/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz index 91d00fccf2..3095d2d096 100644 Binary files a/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz and b/SPA - Spawning/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz differ diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz index a103ac6f66..0d184ef0d0 100644 Binary files a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz and b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz differ diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 index caa79efcaf..bbac66e7c1 100644 --- a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 +++ b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 @@ -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 .. diff --git a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 index 0206e08131..c208a31858 100644 --- a/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 +++ b/SPA - Spawning/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 @@ -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" * diff --git a/SPA - Spawning/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz b/SPA - Spawning/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz index 018a42f850..6409fe6ac7 100644 Binary files a/SPA - Spawning/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz and b/SPA - Spawning/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz differ diff --git a/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz b/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz index 2a7413fd26..28a15490be 100644 Binary files a/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz and b/SPA - Spawning/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz differ diff --git a/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz b/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz index d057e673ab..a15b762482 100644 Binary files a/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz and b/SPA - Spawning/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz differ diff --git a/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua b/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua index 076b58e253..3ac405d7f1 100644 --- a/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua +++ b/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua @@ -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 diff --git a/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz b/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz index 431cb4116d..4e5e121091 100644 Binary files a/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz and b/SPA - Spawning/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz differ diff --git a/SPA - Spawning/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz b/SPA - Spawning/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz index 4bf4d8b53f..9555c29332 100644 Binary files a/SPA - Spawning/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz and b/SPA - Spawning/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz differ diff --git a/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz b/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz index e0522eb848..2588b1ed26 100644 Binary files a/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz and b/SPA - Spawning/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz differ diff --git a/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz b/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz index 4e8ca59168..62291da18d 100644 Binary files a/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz and b/SPA - Spawning/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz differ diff --git a/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.lua b/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.lua deleted file mode 100644 index d1783ea42d..0000000000 --- a/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.lua +++ /dev/null @@ -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 ) ) - diff --git a/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz b/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz deleted file mode 100644 index 2373a53c86..0000000000 Binary files a/SPA - Spawning/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz and /dev/null differ diff --git a/SPA - Spawning/SPA-140 - Spawn Client Slots/pack.ps1 b/SPA - Spawning/SPA-140 - Spawn Client Slots/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA - Spawning/SPA-140 - Spawn Client Slots/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA - Spawning/SPA-140 - Spawn Client Slots/unpack.ps1 b/SPA - Spawning/SPA-140 - Spawn Client Slots/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA - Spawning/SPA-140 - Spawn Client Slots/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz b/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz index 9765d5d294..8b39a7b47d 100644 Binary files a/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz and b/SPA - Spawning/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz differ diff --git a/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz b/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz index fd9b9f42a8..e917710fae 100644 Binary files a/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz and b/SPA - Spawning/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz differ diff --git a/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz b/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz index 08725af3ba..3666bf540f 100644 Binary files a/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz and b/SPA - Spawning/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz differ diff --git a/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz b/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz index 1ed598fc19..53c95cfc4d 100644 Binary files a/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz and b/SPA - Spawning/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz differ diff --git a/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz b/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz index d509415e53..d516a50ae2 100644 Binary files a/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz and b/SPA - Spawning/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz differ diff --git a/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz b/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz index d11af02fd3..2a4d70feb8 100644 Binary files a/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz and b/SPA - Spawning/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz differ diff --git a/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz b/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz index a9329faabd..75d5a5f4e3 100644 Binary files a/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz and b/SPA - Spawning/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz differ diff --git a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua b/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua deleted file mode 100644 index 6416b0bcd8..0000000000 --- a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.lua +++ /dev/null @@ -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 ) - - - - diff --git a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz b/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz deleted file mode 100644 index ef2f31cdc4..0000000000 Binary files a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval.miz and /dev/null differ diff --git a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/pack.ps1 b/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/unpack.ps1 b/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-022 - Ground Ops - Scheduled Spawns Limited with long interval/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.lua b/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.lua deleted file mode 100644 index 0c3647a3cd..0000000000 --- a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.lua +++ /dev/null @@ -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() - - - - diff --git a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz b/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz deleted file mode 100644 index 040af34c94..0000000000 Binary files a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/SPA-023 - Ground Ops - SpawnStart and SpawnStop.miz and /dev/null differ diff --git a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/pack.ps1 b/SPA-023 - Ground Ops - SpawnStart and SpawnStop/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/unpack.ps1 b/SPA-023 - Ground Ops - SpawnStart and SpawnStop/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-023 - Ground Ops - SpawnStart and SpawnStop/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.lua b/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.lua deleted file mode 100644 index 43730154a9..0000000000 --- a/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.lua +++ /dev/null @@ -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 ) - - - - - diff --git a/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz b/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz deleted file mode 100644 index 8457fcafe9..0000000000 Binary files a/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays Normandy.miz and /dev/null differ diff --git a/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays.lua b/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays.lua deleted file mode 100644 index 1bdb911081..0000000000 --- a/SPA-024 - Ground Ops - Arrays Normandy/SPA-024 - Ground Ops - Arrays.lua +++ /dev/null @@ -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 ) - - - - - diff --git a/SPA-024 - Ground Ops - Arrays Normandy/pack.ps1 b/SPA-024 - Ground Ops - Arrays Normandy/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-024 - Ground Ops - Arrays Normandy/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-024 - Ground Ops - Arrays Normandy/unpack.ps1 b/SPA-024 - Ground Ops - Arrays Normandy/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-024 - Ground Ops - Arrays Normandy/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.lua b/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.lua deleted file mode 100644 index 1bdb911081..0000000000 --- a/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.lua +++ /dev/null @@ -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 ) - - - - - diff --git a/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz b/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz deleted file mode 100644 index b6f97bd8e9..0000000000 Binary files a/SPA-024 - Ground Ops - Arrays/SPA-024 - Ground Ops - Arrays.miz and /dev/null differ diff --git a/SPA-024 - Ground Ops - Arrays/pack.ps1 b/SPA-024 - Ground Ops - Arrays/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-024 - Ground Ops - Arrays/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-024 - Ground Ops - Arrays/unpack.ps1 b/SPA-024 - Ground Ops - Arrays/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-024 - Ground Ops - Arrays/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.lua b/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.lua deleted file mode 100644 index 1d7837712f..0000000000 --- a/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.lua +++ /dev/null @@ -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() - - - diff --git a/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz b/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz deleted file mode 100644 index 0a7ecbd5ee..0000000000 Binary files a/SPA-025 - Ground Ops - Spawn Hidden/SPA-025 - Ground Ops - Spawn Hidden.miz and /dev/null differ diff --git a/SPA-025 - Ground Ops - Spawn Hidden/pack.ps1 b/SPA-025 - Ground Ops - Spawn Hidden/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-025 - Ground Ops - Spawn Hidden/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-025 - Ground Ops - Spawn Hidden/unpack.ps1 b/SPA-025 - Ground Ops - Spawn Hidden/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-025 - Ground Ops - Spawn Hidden/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua b/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua deleted file mode 100644 index de32e8349a..0000000000 --- a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.lua +++ /dev/null @@ -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() - diff --git a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz b/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz deleted file mode 100644 index 35b8741aad..0000000000 Binary files a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden.miz and /dev/null differ diff --git a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/pack.ps1 b/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/unpack.ps1 b/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-026 - Ground Ops - Spawn RandomizeTemplate Hidden/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.lua b/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.lua deleted file mode 100644 index b749e58a8f..0000000000 --- a/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.lua +++ /dev/null @@ -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 ) - - - diff --git a/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz b/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz deleted file mode 100644 index c7e660959a..0000000000 Binary files a/SPA-027 - Ground Ops - Respawning After Destroy/SPA-027 - Ground Ops - Respawning After Destroy.miz and /dev/null differ diff --git a/SPA-027 - Ground Ops - Respawning After Destroy/pack.ps1 b/SPA-027 - Ground Ops - Respawning After Destroy/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-027 - Ground Ops - Respawning After Destroy/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-027 - Ground Ops - Respawning After Destroy/unpack.ps1 b/SPA-027 - Ground Ops - Respawning After Destroy/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-027 - Ground Ops - Respawning After Destroy/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.lua b/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.lua deleted file mode 100644 index c7d62a568c..0000000000 --- a/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.lua +++ /dev/null @@ -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 ) - diff --git a/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz b/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz deleted file mode 100644 index 2eb71c4cae..0000000000 Binary files a/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - CleanUp of Inactive Units.miz and /dev/null differ diff --git a/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - Scheduled Spawn Helicopters with CleanUp of Inactive Units.lua b/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - Scheduled Spawn Helicopters with CleanUp of Inactive Units.lua deleted file mode 100644 index 0d07b33fc1..0000000000 --- a/SPA-100 - Air Ops - CleanUp of Inactive Units/SPA-100 - Air Ops - Scheduled Spawn Helicopters with CleanUp of Inactive Units.lua +++ /dev/null @@ -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 ) - diff --git a/SPA-100 - Air Ops - CleanUp of Inactive Units/pack.ps1 b/SPA-100 - Air Ops - CleanUp of Inactive Units/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-100 - Air Ops - CleanUp of Inactive Units/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-100 - Air Ops - CleanUp of Inactive Units/unpack.ps1 b/SPA-100 - Air Ops - CleanUp of Inactive Units/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-100 - Air Ops - CleanUp of Inactive Units/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.lua b/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.lua deleted file mode 100644 index eb0b7e1eb4..0000000000 --- a/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.lua +++ /dev/null @@ -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 ) - - diff --git a/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz b/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz deleted file mode 100644 index 3095d2d096..0000000000 Binary files a/SPA-110 - Limit Spawning/SPA-110 - Limit Spawning.miz and /dev/null differ diff --git a/SPA-110 - Limit Spawning/pack.ps1 b/SPA-110 - Limit Spawning/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-110 - Limit Spawning/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-110 - Limit Spawning/unpack.ps1 b/SPA-110 - Limit Spawning/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-110 - Limit Spawning/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua b/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua deleted file mode 100644 index a08603b410..0000000000 --- a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.lua +++ /dev/null @@ -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 diff --git a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz b/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz deleted file mode 100644 index 0d184ef0d0..0000000000 Binary files a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit.miz and /dev/null differ diff --git a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 b/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 b/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-120 - Air Ops - Scheduled Spawn with Repeat on Landing with Limit/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.lua b/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.lua deleted file mode 100644 index b4f84ce3a2..0000000000 --- a/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.lua +++ /dev/null @@ -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 diff --git a/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz b/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz deleted file mode 100644 index 6409fe6ac7..0000000000 Binary files a/SPA-120 - Repeat Spawning/SPA-120 - Repeat Spawning.miz and /dev/null differ diff --git a/SPA-120 - Repeat Spawning/pack.ps1 b/SPA-120 - Repeat Spawning/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-120 - Repeat Spawning/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-120 - Repeat Spawning/unpack.ps1 b/SPA-120 - Repeat Spawning/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-120 - Repeat Spawning/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.lua b/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.lua deleted file mode 100644 index c5f8affe7f..0000000000 --- a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.lua +++ /dev/null @@ -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 diff --git a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz b/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz deleted file mode 100644 index 28a15490be..0000000000 Binary files a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit.miz and /dev/null differ diff --git a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/pack.ps1 b/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/unpack.ps1 b/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-121 - Air Ops - Scheduled Spawns with Repeat on Landing with Limit/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.lua b/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.lua deleted file mode 100644 index aa977c793f..0000000000 --- a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.lua +++ /dev/null @@ -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 diff --git a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz b/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz deleted file mode 100644 index a15b762482..0000000000 Binary files a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/SPA-122 - Air Ops - OnLand test for Scheduled Spawns.miz and /dev/null differ diff --git a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/pack.ps1 b/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/unpack.ps1 b/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-122 - Air Ops - OnLand test for Scheduled Spawns/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua b/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua deleted file mode 100644 index 3ac405d7f1..0000000000 --- a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.lua +++ /dev/null @@ -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 diff --git a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz b/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz deleted file mode 100644 index 4e5e121091..0000000000 Binary files a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp.miz and /dev/null differ diff --git a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/pack.ps1 b/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/unpack.ps1 b/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-123 - Air Ops - Repeat on Landing and InitCleanUp/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with Escort Task.lua b/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with Escort Task.lua deleted file mode 100644 index 503df0af73..0000000000 --- a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with Escort Task.lua +++ /dev/null @@ -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 diff --git a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.lua b/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.lua deleted file mode 100644 index a3f8eb69a2..0000000000 --- a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.lua +++ /dev/null @@ -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 diff --git a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz b/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz deleted file mode 100644 index 9555c29332..0000000000 Binary files a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup.miz and /dev/null differ diff --git a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/pack.ps1 b/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/pack.ps1 deleted file mode 100644 index caa79efcaf..0000000000 --- a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/unpack.ps1 b/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/unpack.ps1 deleted file mode 100644 index 0206e08131..0000000000 --- a/SPA-124 - Air Ops - Scheduled Spawns with OnSpawnGroup/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.lua b/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.lua deleted file mode 100644 index 98ef7e11fb..0000000000 --- a/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.lua +++ /dev/null @@ -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 -) \ No newline at end of file diff --git a/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz b/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz deleted file mode 100644 index 2588b1ed26..0000000000 Binary files a/SPA-130 - Uncontrolled Spawning/SPA-130 - Uncontrolled Spawning.miz and /dev/null differ diff --git a/SPA-130 - Uncontrolled Spawning/pack.ps1 b/SPA-130 - Uncontrolled Spawning/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-130 - Uncontrolled Spawning/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-130 - Uncontrolled Spawning/unpack.ps1 b/SPA-130 - Uncontrolled Spawning/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-130 - Uncontrolled Spawning/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - Nevada - SpawnAtAirbase.lua b/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - Nevada - SpawnAtAirbase.lua deleted file mode 100644 index 13f670b4ca..0000000000 --- a/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - Nevada - SpawnAtAirbase.lua +++ /dev/null @@ -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 ) - - - diff --git a/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz b/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz deleted file mode 100644 index 62291da18d..0000000000 Binary files a/SPA-131 - Air Ops - SpawnAtAirbase/SPA-131 - Air Ops - SpawnAtAirbase.miz and /dev/null differ diff --git a/SPA-131 - Air Ops - SpawnAtAirbase/pack.ps1 b/SPA-131 - Air Ops - SpawnAtAirbase/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-131 - Air Ops - SpawnAtAirbase/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-131 - Air Ops - SpawnAtAirbase/unpack.ps1 b/SPA-131 - Air Ops - SpawnAtAirbase/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-131 - Air Ops - SpawnAtAirbase/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.lua b/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.lua deleted file mode 100644 index d1783ea42d..0000000000 --- a/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.lua +++ /dev/null @@ -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 ) ) - diff --git a/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz b/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz deleted file mode 100644 index 0d7701237a..0000000000 Binary files a/SPA-140 - Spawn Client Slots/SPA-140 - Spawn Client Slots.miz and /dev/null differ diff --git a/SPA-140 - Spawn Client Slots/pack.ps1 b/SPA-140 - Spawn Client Slots/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-140 - Spawn Client Slots/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-140 - Spawn Client Slots/unpack.ps1 b/SPA-140 - Spawn Client Slots/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-140 - Spawn Client Slots/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.lua b/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.lua deleted file mode 100644 index 49a51f7e21..0000000000 --- a/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.lua +++ /dev/null @@ -1,11 +0,0 @@ ---- --- Tests Gudauta --- -------------- --- Limited and scheduled spawning of groups, with RandomizeTemplate ... - -Templates = { "Template1", "Template2", "Template3", "Template4" } - -Spawn_Ground1 = SPAWN:New( "Spawn Vehicle1" ):InitLimit( 4, 20 ):InitRandomizeTemplate(Templates):SpawnScheduled( 15, 0 ) -Spawn_Ground2 = SPAWN:New( "Spawn Vehicle2" ):InitLimit( 4, 20 ):InitRandomizeTemplate(Templates):SpawnScheduled( 15, 0 ) - - diff --git a/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz b/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz deleted file mode 100644 index 8b39a7b47d..0000000000 Binary files a/SPA-200 - Randomize Unit Types/SPA-200 - Randomize Unit Types.miz and /dev/null differ diff --git a/SPA-200 - Randomize Unit Types/pack.ps1 b/SPA-200 - Randomize Unit Types/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-200 - Randomize Unit Types/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-200 - Randomize Unit Types/unpack.ps1 b/SPA-200 - Randomize Unit Types/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-200 - Randomize Unit Types/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.lua b/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.lua deleted file mode 100644 index 08b57de998..0000000000 --- a/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.lua +++ /dev/null @@ -1,51 +0,0 @@ --- This test will create 3 different zones of different types. --- 100 groups of 1 unit will be spawned. --- The test is about testing the zone randomization, and the place where the units are created. - -local Iterations = 100 -local Iteration = 1 - --- The PolygonGroup route defines zone 1 -local ZonePolygonGroup = GROUP:FindByName( "ZonePolygon" ) - --- The ZoneUnit defines zone 4. -local ZoneUnit = UNIT:FindByName( "ZoneUnit" ) - --- The ZoneGroup defines zone 5 -local ZoneGroup = GROUP:FindByName( "ZoneGroup" ) - --- This is the array that models the different zones types. --- The selection of the zones is done by taking into account the probability of the zone. --- The zone probabibility is 0 = 0%, 1 = 100% --- The default value of the probability is 1. --- Note that the SetZoneProbability is a method, that returns the self object of the zone, --- allowing to use the method within the zone array declaration! -local SpawnZones = { - ZONE_POLYGON:New( "Zone 1", ZonePolygonGroup ):SetZoneProbability( 0.8 ), - ZONE_RADIUS:New( "Zone 2", ZONE:New( "GroundZone2" ):GetVec2(), 5000 ):SetZoneProbability( 0.2 ), - ZONE:New( "GroundZone3" ):SetZoneProbability( 0.2 ), - ZONE_UNIT:New( "Zone 4", ZoneUnit, 5000 ):SetZoneProbability( 0.6 ), - ZONE_GROUP:New( "Zone 5", ZoneGroup, 5000 ):SetZoneProbability( 0.4 ), - } - -HeightLimit = 500 - -SpawnGrounds = SPAWN - :New("Ground") - :InitLimit( 100, 100 ) - -- This method will randomize the selection of the zones for each spawned Group during initialization, - -- taking into account the probability factors. - -- When you explore the code behind this method, you'll see that the GetZoneMaybe() method is used to select "maybe" the zone. - :InitRandomizeZones( SpawnZones ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - SpawnGrounds:Spawn() - end - - end, {}, 0, 1, 0 -) diff --git a/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz b/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz deleted file mode 100644 index e917710fae..0000000000 Binary files a/SPA-220 - Randomize Zones/SPA-220 - Randomize Zones.miz and /dev/null differ diff --git a/SPA-220 - Randomize Zones/pack.ps1 b/SPA-220 - Randomize Zones/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-220 - Randomize Zones/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-220 - Randomize Zones/unpack.ps1 b/SPA-220 - Randomize Zones/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-220 - Randomize Zones/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.lua b/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.lua deleted file mode 100644 index 90beecd21f..0000000000 --- a/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.lua +++ /dev/null @@ -1,52 +0,0 @@ - -local Iterations = 10 -local Iteration = 1 - -GroundStatics = { "GroundStatic1", "GroundStatic2", "GroundStatic3" } -AirplaneStatics = { "AirplaneStatic1", "AirplaneStatic2", "AirplaneStatic3" } -HelicopterStatics = { "HelicopterStatic1", "HelicopterStatic2", "HelicopterStatic3" } -ShipStatics = { "ShipStatic1", "ShipStatic2", "ShipStatic3" } - -HeightLimit = 500 - -SpawnGrounds = SPAWN:New("Ground"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 500, 100 ) -SpawnAirplanes = SPAWN:New("Airplane"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 500, 100 ) -SpawnHelicopters = SPAWN:New("Helicopter"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 500, 100 ) -SpawnShips = SPAWN:New("Ship"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 500, 100 ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - local StaticName = GroundStatics[ math.random( 1, 3 ) ] - local SpawnStatic = STATIC:FindByName( StaticName ) - SpawnGrounds:SpawnFromUnit( SpawnStatic ) - end - - do - -- Spawn Airplanes - local StaticName = AirplaneStatics[ math.random( 1, 3 ) ] - local SpawnStatic = STATIC:FindByName( StaticName ) - SpawnAirplanes:SpawnFromUnit( SpawnStatic ) - SpawnAirplanes:SpawnFromUnit( SpawnStatic, 2000, 4000 ) - end - - do - -- Spawn Helicopters - local StaticName = HelicopterStatics[ math.random( 1, 3 ) ] - local SpawnStatic = STATIC:FindByName( StaticName ) - SpawnHelicopters:SpawnFromUnit( SpawnStatic ) - SpawnHelicopters:SpawnFromUnit( SpawnStatic, 200, 500 ) -- Spawn between 200 and 500 meters. - end - - do - -- Spawn Ships - local StaticName = ShipStatics[ math.random( 1, 3 ) ] - local SpawnStatic = STATIC:FindByName( StaticName ) - SpawnShips:SpawnFromUnit( SpawnStatic ) - end - - end, {}, 0, 15, 0.5 -) diff --git a/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz b/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz deleted file mode 100644 index 3666bf540f..0000000000 Binary files a/SPA-310 - Spawn at Static position/SPA-310 - Spawn at Static position.miz and /dev/null differ diff --git a/SPA-310 - Spawn at Static position/pack.ps1 b/SPA-310 - Spawn at Static position/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-310 - Spawn at Static position/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-310 - Spawn at Static position/unpack.ps1 b/SPA-310 - Spawn at Static position/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-310 - Spawn at Static position/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.lua b/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.lua deleted file mode 100644 index a9a462f44c..0000000000 --- a/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.lua +++ /dev/null @@ -1,52 +0,0 @@ - -local Iterations = 10 -local Iteration = 1 - -GroundUnits = { "GroundUnit1", "GroundUnit2", "GroundUnit3" } -AirplaneUnits = { "AirplaneUnit1", "AirplaneUnit2", "AirplaneUnit3" } -HelicopterUnits = { "HelicopterUnit1", "HelicopterUnit2", "HelicopterUnit3" } -ShipUnits = { "ShipUnit1", "ShipUnit2", "ShipUnit3" } - -HeightLimit = 500 - -SpawnGrounds = SPAWN:New("Ground"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 10, 3 ) -SpawnAirplanes = SPAWN:New("Airplane"):InitLimit( 20, 10 ) -SpawnHelicopters = SPAWN:New("Helicopter"):InitLimit( 20, 10 ) -SpawnShips = SPAWN:New("Ship"):InitLimit( 20, 10 ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - local UnitName = GroundUnits[ math.random( 1, 3 ) ] - local SpawnUnit = UNIT:FindByName( UnitName ) - SpawnGrounds:SpawnFromUnit( SpawnUnit ) - end - - do - -- Spawn Airplanes - local UnitName = AirplaneUnits[ math.random( 1, 3 ) ] - local SpawnUnit = UNIT:FindByName( UnitName ) - SpawnAirplanes:SpawnFromUnit( SpawnUnit ) - SpawnAirplanes:SpawnFromUnit( SpawnUnit, 200, 500 ) - end - - do - -- Spawn Helicopters - local UnitName = HelicopterUnits[ math.random( 1, 3 ) ] - local SpawnUnit = UNIT:FindByName( UnitName ) - SpawnHelicopters:SpawnFromUnit( SpawnUnit ) - SpawnHelicopters:SpawnFromUnit( SpawnUnit, 500, 2000 ) - end - - do - -- Spawn Ships - local UnitName = ShipUnits[ math.random( 1, 3 ) ] - local SpawnUnit = UNIT:FindByName( UnitName ) - SpawnShips:SpawnFromUnit( SpawnUnit ) - end - - end, {}, 0, 15, 0.5 -) diff --git a/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz b/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz deleted file mode 100644 index 53c95cfc4d..0000000000 Binary files a/SPA-320 - Spawn at Unit position/SPA-320 - Spawn at Unit position.miz and /dev/null differ diff --git a/SPA-320 - Spawn at Unit position/pack.ps1 b/SPA-320 - Spawn at Unit position/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-320 - Spawn at Unit position/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-320 - Spawn at Unit position/unpack.ps1 b/SPA-320 - Spawn at Unit position/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-320 - Spawn at Unit position/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.lua b/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.lua deleted file mode 100644 index a2de3504c7..0000000000 --- a/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.lua +++ /dev/null @@ -1,61 +0,0 @@ - -local Iterations = 10 -local Iteration = 1 - -GroundZones = { "GroundZone1", "GroundZone2", "GroundZone3" } -GroundRandomizeZones = { "GroundRandomizeZone1", "GroundRandomizeZone2", "GroundRandomizeZone3" } -AirplaneZones = { "AirplaneZone1", "AirplaneZone2", "AirplaneZone3" } -HelicopterZones = { "HelicopterZone1", "HelicopterZone2", "HelicopterZone3" } -ShipZones = { "ShipZone1", "ShipZone2", "ShipZone3" } - -HeightLimit = 500 - -SpawnGrounds = SPAWN:New("Ground"):InitLimit( 20, 10 ) -SpawnRandomizeGrounds = SPAWN:New("GroundRandomize"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 500, 100 ) -SpawnAirplanes = SPAWN:New("Airplane"):InitLimit( 20, 10 ) -SpawnHelicopters = SPAWN:New("Helicopter"):InitLimit( 20, 10 ) -SpawnShips = SPAWN:New("Ship"):InitLimit( 20, 10 ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - local ZoneName = GroundZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnGrounds:SpawnFromVec2( SpawnVec3:GetVec2() ) - end - - do - -- Spawn Ground Randomize - local ZoneName = GroundRandomizeZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnRandomizeGrounds:SpawnFromVec2( SpawnVec3:GetVec2() ) - end - - do - -- Spawn Airplanes - local ZoneName = AirplaneZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnAirplanes:SpawnFromVec2( SpawnVec3:GetVec2() ) - SpawnAirplanes:SpawnFromVec2( SpawnVec3:GetVec2(), 200, 500 ) - end - - do - -- Spawn Helicopters - local ZoneName = HelicopterZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnHelicopters:SpawnFromVec2( SpawnVec3:GetVec2() ) - SpawnHelicopters:SpawnFromVec2( SpawnVec3:GetVec2(), 2000, 4000 ) - end - - do - -- Spawn Ships - local ZoneName = ShipZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnShips:SpawnFromVec2( SpawnVec3:GetVec2() ) - end - - end, {}, 0, 15, 0.5 -) diff --git a/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz b/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz deleted file mode 100644 index d516a50ae2..0000000000 Binary files a/SPA-330 - Spawn at Vec2 position/SPA-330 - Spawn at Vec2 position.miz and /dev/null differ diff --git a/SPA-330 - Spawn at Vec2 position/pack.ps1 b/SPA-330 - Spawn at Vec2 position/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-330 - Spawn at Vec2 position/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-330 - Spawn at Vec2 position/unpack.ps1 b/SPA-330 - Spawn at Vec2 position/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-330 - Spawn at Vec2 position/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.lua b/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.lua deleted file mode 100644 index 4032e80cce..0000000000 --- a/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.lua +++ /dev/null @@ -1,59 +0,0 @@ - -local Iterations = 10 -local Iteration = 1 - -GroundZones = { "GroundZone1", "GroundZone2", "GroundZone3" } -GroundRandomizeZones = { "GroundRandomizeZone1", "GroundRandomizeZone2", "GroundRandomizeZone3" } -AirplaneZones = { "AirplaneZone1", "AirplaneZone2", "AirplaneZone3" } -HelicopterZones = { "HelicopterZone1", "HelicopterZone2", "HelicopterZone3" } -ShipZones = { "ShipZone1", "ShipZone2", "ShipZone3" } - -HeightLimit = 500 - -SpawnGrounds = SPAWN:New("Ground"):InitLimit( 20, 10 ) -SpawnRandomizeGrounds = SPAWN:New("GroundRandomize"):InitLimit( 20, 10 ):InitRandomizeUnits( true, 500, 100 ) -SpawnAirplanes = SPAWN:New("Airplane"):InitLimit( 20, 10 ) -SpawnHelicopters = SPAWN:New("Helicopter"):InitLimit( 20, 10 ) -SpawnShips = SPAWN:New("Ship"):InitLimit( 20, 10 ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - local ZoneName = GroundZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnGrounds:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Ground Randomize - local ZoneName = GroundRandomizeZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnRandomizeGrounds:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Airplanes - local ZoneName = AirplaneZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnAirplanes:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Helicopters - local ZoneName = HelicopterZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnHelicopters:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Ships - local ZoneName = ShipZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnShips:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - end, {}, 0, 15, 0.5 -) diff --git a/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz b/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz deleted file mode 100644 index 2a4d70feb8..0000000000 Binary files a/SPA-340 - Spawn at Vec3 position/SPA-340 - Spawn at Vec3 position.miz and /dev/null differ diff --git a/SPA-340 - Spawn at Vec3 position/pack.ps1 b/SPA-340 - Spawn at Vec3 position/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-340 - Spawn at Vec3 position/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-340 - Spawn at Vec3 position/unpack.ps1 b/SPA-340 - Spawn at Vec3 position/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-340 - Spawn at Vec3 position/unpack.ps1 +++ /dev/null @@ -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" * diff --git a/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.lua b/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.lua deleted file mode 100644 index 3122b26dda..0000000000 --- a/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.lua +++ /dev/null @@ -1,73 +0,0 @@ ---- --- Name: SPA-350 - Spawn at Vec3 position RandomzePosition --- Author: FlightControl --- Date Created: 14 Mar 2017 --- --- # Situation: --- --- Ground troops, Airplanes, Helicopters and Ships are spawning from Vec3 points. --- The API InitRandomizePosition is tested here, ensure that groups are replaced within a 900 to 1000 zone band at random positions. --- --- # Test cases: --- --- 1. Observe the random positioning of the groups. There should be no scattering of units. --- - -local Iterations = 10 -local Iteration = 1 - -GroundZones = { "GroundZone1", "GroundZone2", "GroundZone3" } -GroundRandomizeZones = { "GroundRandomizeZone1", "GroundRandomizeZone2", "GroundRandomizeZone3" } -AirplaneZones = { "AirplaneZone1", "AirplaneZone2", "AirplaneZone3" } -HelicopterZones = { "HelicopterZone1", "HelicopterZone2", "HelicopterZone3" } -ShipZones = { "ShipZone1", "ShipZone2", "ShipZone3" } - -HeightLimit = 500 - -SpawnGrounds = SPAWN:New("Ground"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnRandomizeGrounds = SPAWN:New("GroundRandomize"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnAirplanes = SPAWN:New("Airplane"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnHelicopters = SPAWN:New("Helicopter"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnShips = SPAWN:New("Ship"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - local ZoneName = GroundZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnGrounds:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Ground Randomize - local ZoneName = GroundRandomizeZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnRandomizeGrounds:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Airplanes - local ZoneName = AirplaneZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnAirplanes:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Helicopters - local ZoneName = HelicopterZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnHelicopters:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Ships - local ZoneName = ShipZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnShips:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - end, {}, 0, 15, 0.5 -) diff --git a/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz b/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz deleted file mode 100644 index 75d5a5f4e3..0000000000 Binary files a/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomizePosition.miz and /dev/null differ diff --git a/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomzePosition.lua b/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomzePosition.lua deleted file mode 100644 index 3122b26dda..0000000000 --- a/SPA-350 - Spawn at Vec3 position RandomizePosition/SPA-350 - Spawn at Vec3 position RandomzePosition.lua +++ /dev/null @@ -1,73 +0,0 @@ ---- --- Name: SPA-350 - Spawn at Vec3 position RandomzePosition --- Author: FlightControl --- Date Created: 14 Mar 2017 --- --- # Situation: --- --- Ground troops, Airplanes, Helicopters and Ships are spawning from Vec3 points. --- The API InitRandomizePosition is tested here, ensure that groups are replaced within a 900 to 1000 zone band at random positions. --- --- # Test cases: --- --- 1. Observe the random positioning of the groups. There should be no scattering of units. --- - -local Iterations = 10 -local Iteration = 1 - -GroundZones = { "GroundZone1", "GroundZone2", "GroundZone3" } -GroundRandomizeZones = { "GroundRandomizeZone1", "GroundRandomizeZone2", "GroundRandomizeZone3" } -AirplaneZones = { "AirplaneZone1", "AirplaneZone2", "AirplaneZone3" } -HelicopterZones = { "HelicopterZone1", "HelicopterZone2", "HelicopterZone3" } -ShipZones = { "ShipZone1", "ShipZone2", "ShipZone3" } - -HeightLimit = 500 - -SpawnGrounds = SPAWN:New("Ground"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnRandomizeGrounds = SPAWN:New("GroundRandomize"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnAirplanes = SPAWN:New("Airplane"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnHelicopters = SPAWN:New("Helicopter"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) -SpawnShips = SPAWN:New("Ship"):InitLimit( 20, 10 ):InitRandomizePosition( true , 1000, 900 ) - ---- Spawns these groups slowly. -SCHEDULER:New( nil, - - function( Interation, Iterations ) - do - -- Spawn Ground - local ZoneName = GroundZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnGrounds:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Ground Randomize - local ZoneName = GroundRandomizeZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnRandomizeGrounds:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Airplanes - local ZoneName = AirplaneZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnAirplanes:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Helicopters - local ZoneName = HelicopterZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnHelicopters:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - do - -- Spawn Ships - local ZoneName = ShipZones[ math.random( 1, 3 ) ] - local SpawnVec3 = POINT_VEC3:NewFromVec3( ZONE:New( ZoneName ):GetVec3() ) - SpawnShips:SpawnFromVec3( SpawnVec3:GetVec3() ) - end - - end, {}, 0, 15, 0.5 -) diff --git a/SPA-350 - Spawn at Vec3 position RandomizePosition/pack.ps1 b/SPA-350 - Spawn at Vec3 position RandomizePosition/pack.ps1 deleted file mode 100644 index bbac66e7c1..0000000000 --- a/SPA-350 - Spawn at Vec3 position RandomizePosition/pack.ps1 +++ /dev/null @@ -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 .. diff --git a/SPA-350 - Spawn at Vec3 position RandomizePosition/unpack.ps1 b/SPA-350 - Spawn at Vec3 position RandomizePosition/unpack.ps1 deleted file mode 100644 index c208a31858..0000000000 --- a/SPA-350 - Spawn at Vec3 position RandomizePosition/unpack.ps1 +++ /dev/null @@ -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" *