mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
Add files via upload
This commit is contained in:
parent
d59e0e168d
commit
4e29e65dab
38
OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.lua
Normal file
38
OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.lua
Normal file
@ -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)
|
||||
BIN
OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.miz
Normal file
BIN
OPS - CTLD/CTLD-100 - Basic/CTLD-100 - Basic.miz
Normal file
Binary file not shown.
6
OPS - CTLD/CTLD-100 - Basic/pack.ps1
Normal file
6
OPS - CTLD/CTLD-100 - Basic/pack.ps1
Normal file
@ -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 ..
|
||||
7
OPS - CTLD/CTLD-100 - Basic/unpack.ps1
Normal file
7
OPS - CTLD/CTLD-100 - Basic/unpack.ps1
Normal file
@ -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" *
|
||||
Loading…
x
Reference in New Issue
Block a user