diff --git a/OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.lua b/OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.lua new file mode 100644 index 0000000000..3dbdb80d21 --- /dev/null +++ b/OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.lua @@ -0,0 +1,38 @@ +------------------------------------------------------------------------- +-- CTLD 100 - Caucasus - Test Mission +------------------------------------------------------------------------- +-- Documentation +-- +-- CTLD: https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Ops.CTLD.html +-- +-- Note: As of today, Ops.CTLD.lua is WIP. You need a develop branch Moose.lua => 23 Jun 2021 for this to work. + +------------------------------------------------------------------------- +-- Join a Helicopter. Use the F10 menu to request crates and/or troops. +-- Fly over to the drop zone at the far end of the airport and unload. +-- Use the F10 menu to build vehicles out of crates. +------------------------------------------------------------------------- +-- Date: 23 June 2021 +------------------------------------------------------------------------- + + +_SETTINGS:SetPlayerMenuOff() + +local my_ctld = CTLD:New(coalition.side.BLUE,{"Helicargo"},"Lufttransportbrigade I") +my_ctld.forcehoverload = false +my_ctld:__Start(5) + +-- generate generically loadable stuff +my_ctld:AddTroopsCargo("Anti-Tank Small",{"ATS"},CTLD_CARGO.Enum.TROOPS,3) +my_ctld:AddTroopsCargo("Anti-Air",{"AA","AA2"},CTLD_CARGO.Enum.TROOPS,4) +my_ctld:AddCratesCargo("Humvee",{"Humvee"},CTLD_CARGO.Enum.VEHICLE,2) +my_ctld:AddCratesCargo("Forward Ops Base",{"FOB"},CTLD_CARGO.Enum.FOB,4) + +-- generate zone types +my_ctld:AddCTLDZone("Loadzone",CTLD.CargoZoneType.LOAD,SMOKECOLOR.Blue,true,true) -- Note: since there are no blue flares, this will be a white flare when requested. +my_ctld:AddCTLDZone("Dropzone",CTLD.CargoZoneType.DROP,SMOKECOLOR.Red,true,true) +my_ctld:AddCTLDZone("Movezone",CTLD.CargoZoneType.MOVE,SMOKECOLOR.Orange,false,false) +my_ctld:AddCTLDZone("Movezone2",CTLD.CargoZoneType.MOVE,SMOKECOLOR.White,false,true) + +-- update unit capabilities for testing +my_ctld:UnitCapabilities("SA342L", true, true, 8, 8) \ No newline at end of file diff --git a/OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.miz b/OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.miz new file mode 100644 index 0000000000..fc160550d7 Binary files /dev/null and b/OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.miz differ diff --git a/OPS - CTLD/CTLD-100 - Basic/pack.ps1 b/OPS - CTLD/CTLD-100 - Basic/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/OPS - CTLD/CTLD-100 - Basic/pack.ps1 @@ -0,0 +1,6 @@ +$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/OPS - CTLD/CTLD-100 - Basic/unpack.ps1 b/OPS - CTLD/CTLD-100 - Basic/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/OPS - CTLD/CTLD-100 - Basic/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" *