Last step of bid folder restructure

This commit is contained in:
kaltokri
2024-01-01 23:44:44 +01:00
parent f31942aef3
commit f15138294b
330 changed files with 7000 additions and 7051 deletions

View File

@@ -0,0 +1,78 @@
---
-- Name: TSK-CGO-000 - Boarding Test
-- Author: FlightControl
-- Date Created: 12 Apr 2017
--
-- This mission demonstrates the transport of a cargo group using an APC.
--
-- There is:
-- - 1 APC.
-- - 2 Transport Tasks - Transport Workers and Transport Engineers.
-- - 2 Cargo - Workers and Engineers.
-- - 2 Deployment Zones - Alpha and Beta.
--
-- Task Engineers: Transport the Engineers to Deployment Zone Alpha or Zone Beta.
-- Task Workers: Transport the Workers to Deployment Zone Beta.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local WorkersCargoSet = SET_CARGO:New():FilterTypes( "Workers" ):FilterStart()
local WorkersGroup = GROUP:FindByName( "Workers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Workers".
-- The cargoset "WorkersCargoSet" will embed all defined cargo of type Workers (prefix) into its set.
local WorkersCargoGroup = CARGO_GROUP:New( WorkersGroup, "Workers", "Mechanics", 500 )
-- We setup the task to transport workers.
WorkersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Workers", WorkersCargoSet )
-- We setup to deploy workers in the deploy zone 1.
WorkersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
end

View File

@@ -0,0 +1,78 @@
---
-- Name: TSK-CGO-100 - Ground - APC Test
-- Author: FlightControl
-- Date Created: 12 Apr 2017
--
-- This mission demonstrates the transport of a cargo group using an APC.
--
-- There is:
-- - 1 APC.
-- - 2 Transport Tasks - Transport Workers and Transport Engineers.
-- - 2 Cargo - Workers and Engineers.
-- - 2 Deployment Zones - Alpha and Beta.
--
-- Task Engineers: Transport the Engineers to Deployment Zone Alpha or Zone Beta.
-- Task Workers: Transport the Workers to Deployment Zone Beta.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 ):RespawnOnDestroyed( true )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local WorkersCargoSet = SET_CARGO:New():FilterTypes( "Workers" ):FilterStart()
local WorkersGroup = GROUP:FindByName( "Workers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Workers".
-- The cargoset "WorkersCargoSet" will embed all defined cargo of type Workers (prefix) into its set.
local WorkersCargoGroup = CARGO_GROUP:New( WorkersGroup, "Workers", "Mechanics", 500 ):RespawnOnDestroyed( true )
-- We setup the task to transport workers.
WorkersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Workers", WorkersCargoSet )
-- We setup to deploy workers in the deploy zone 1.
WorkersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
end

View File

@@ -0,0 +1,69 @@
---
-- Name: TSK-CGO-100 - Ground - APC Test
-- Author: FlightControl
-- Date Created: 12 Apr 2017
--
-- This mission demonstrates the transport of a cargo group using an APC.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local WorkersCargoSet = SET_CARGO:New():FilterTypes( "Workers" ):FilterStart()
local WorkersGroup = GROUP:FindByName( "Workers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Workers".
-- The cargoset "WorkersCargoSet" will embed all defined cargo of type Workers (prefix) into its set.
local WorkersCargoGroup = CARGO_GROUP:New( WorkersGroup, "Workers", "Mechanics", 500 )
-- We setup the task to transport workers.
WorkersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Workers", WorkersCargoSet )
-- We setup to deploy workers in the deploy zone 1.
WorkersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
end

View File

@@ -0,0 +1,55 @@
---
-- Name: TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone
-- Author: FlightControl
-- Date Created: 12 Mar 2018
--
-- This mission demonstrates the transport of a cargo group using an Helicopter.
--
-- There is:
-- - 1 Helicopter.
-- - 1 Transport Task - Transport Workers.
-- - 1 Cargo - Workers.
-- - 1 Deployment Zone - Alpha.
--
-- Task Workers: Transport the Workers to Deployment Zone Alpha.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
end

View File

@@ -0,0 +1,56 @@
---
-- Name: TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone
-- Author: FlightControl
-- Date Created: 12 Mar 2018
--
-- This mission demonstrates the transport of a cargo group using an Helicopter.
--
-- There is:
-- - 1 Helicopter.
-- - 1 Transport Task - Transport Workers.
-- - 1 Cargo - Workers.
-- - 1 Deployment Zone - Alpha.
--
-- Task Workers: Transport the Workers to Deployment Zone Alpha.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
end

View File

@@ -0,0 +1,64 @@
---
-- Name: TSK-CGO-502 - Helo - 1 Helo - 1 Task - 2 Cargo - 1 Zone
-- Author: FlightControl
-- Date Created: 12 Mar 2018
--
-- This mission demonstrates the transport of a cargo group using an Helicopter.
--
-- There is:
-- - 1 Helicopter.
-- - 1 Transport Task - Transport Workers.
-- - 1 Cargo - Workers.
-- - 1 Deployment Zone - Alpha.
--
-- Task Workers: Transport the Workers to Deployment Zone Alpha.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
local WorkersGroup = GROUP:FindByName( "Workers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Workers".
-- The cargoset "WorkersCargoSet" will embed all defined cargo of type Workers (prefix) into its set.
local WorkersCargoGroup = CARGO_GROUP:New( WorkersGroup, "Engineers", "Workers", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
end

View File

@@ -0,0 +1,65 @@
---
-- Name: TSK-CGO-503 - Helo - 1 Helo - 1 Task - 2 Cargo - 2 Zones
-- Author: FlightControl
-- Date Created: 12 Mar 2018
--
-- This mission demonstrates the transport of a cargo group using an Helicopter.
--
-- There is:
-- - 1 Helicopter.
-- - 1 Transport Task - Transport Workers.
-- - 1 Cargo - Workers.
-- - 1 Deployment Zone - Alpha.
--
-- Task Workers: Transport the Workers to Deployment Zone Alpha.
--
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
local WorkersGroup = GROUP:FindByName( "Workers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Workers".
-- The cargoset "WorkersCargoSet" will embed all defined cargo of type Workers (prefix) into its set.
local WorkersCargoGroup = CARGO_GROUP:New( WorkersGroup, "Engineers", "Workers", 500 )
end

View File

@@ -0,0 +1,77 @@
---
-- Name: TSK-CGO-510 - Helo - 1 Helo - 2 Task - 2 Cargo - 2 Zones
-- Author: FlightControl
-- Date Created: 12 Mar 2018
--
-- This mission demonstrates the transport of a cargo group using an Helicopter.
--
-- There is:
-- - 1 Helicopter.
-- - 2 Transport Tasks - Transport Workers and Transport Engineers.
-- - 2 Cargo - Workers and Engineers.
-- - 2 Deployment Zones - Alpha and Beta.
--
-- Task Engineers: Transport the Engineers to Deployment Zone Alpha or Zone Beta.
-- Task Workers: Transport the Workers to Deployment Zone Beta.
do
local HQ = GROUP:FindByName( "HQ", "Bravo HQ" )
local CommandCenter = COMMANDCENTER:New( HQ, "Bravo" )
local Scoring = SCORING:New( "Cargo Group Transport Demonstration" )
local Mission = MISSION
:New( CommandCenter, "Transport", "High", "Transport the team from Deploy Zone 1 to Deploy Zone 2", coalition.side.BLUE )
:AddScoring( Scoring )
-- Allocate the Transport, which is an APC in the field.
local APC = SET_GROUP:New():FilterPrefixes( "Transport" ):FilterStart()
-- We will setup the transportation for Engineers.
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local EngineersCargoSet = SET_CARGO:New():FilterTypes( "Engineers" ):FilterStart()
-- Now we add cargo into the battle scene.
local EngineersGroup = GROUP:FindByName( "Engineers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Engineers".
-- The cargoset "EngineersCargoSet" will embed all defined cargo of type Engineers (prefix) into its set.
local EngineersCargoGroup = CARGO_GROUP:New( EngineersGroup, "Engineers", "Radar Team", 500 )
-- We setup the task to transport engineers.
EngineersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Engineers", EngineersCargoSet )
-- We setup to deploy workers in the deploy zone 1 and 2 (the player can choose).
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Alpha", GROUP:FindByName("DeployZone Alpha") ) )
EngineersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
-- Here we define the "cargo set", which is a collection of cargo objects.
-- The cargo set will be the input for the cargo transportation task.
-- So a transportation object is handling a cargo set, which is automatically refreshed when new cargo is added/deleted.
local WorkersCargoSet = SET_CARGO:New():FilterTypes( "Workers" ):FilterStart()
local WorkersGroup = GROUP:FindByName( "Workers" )
-- CARGO_GROUP can be used to setup cargo with a GROUP object underneath.
-- We name this group Engineers.
-- Note that the name of the cargo is "Workers".
-- The cargoset "WorkersCargoSet" will embed all defined cargo of type Workers (prefix) into its set.
local WorkersCargoGroup = CARGO_GROUP:New( WorkersGroup, "Workers", "Mechanics", 500 )
-- We setup the task to transport workers.
WorkersCargoTransportTask = TASK_CARGO_TRANSPORT:New( Mission, APC, "Transport Workers", WorkersCargoSet )
-- We setup to deploy workers in the deploy zone 1.
WorkersCargoTransportTask:AddDeployZone( ZONE_POLYGON:New( "Deploy Zone Beta", GROUP:FindByName("DeployZone Beta") ) )
end