diff --git a/CSR-001 - Basics/CSR-001 - Basics.lua b/CSR-001 - Basics/CSR-001 - Basics.lua new file mode 100644 index 0000000000..32ccaee0bd --- /dev/null +++ b/CSR-001 - Basics/CSR-001 - Basics.lua @@ -0,0 +1,17 @@ +------------------------------------------------------------------------- +-- CSR-001 - Basics - Basic Demo +------------------------------------------------------------------------- +-- Documentation +-- +-- AICSAR: https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.AICSAR.html +-- +------------------------------------------------------------------------- +-- Grab a flight and eject from the plane once the mission was loaded. +-- Follow your parachuting pilot. Once landing, a helicopter will launch +-- to pick you up and fly you to the MASH. +------------------------------------------------------------------------- +-- Date: Jan 2022 +------------------------------------------------------------------------- + +local my_aicsar=AICSAR:New("Luftrettung",coalition.side.BLUE,"Downed Pilot","Rescue Helo",AIRBASE:FindByName("Test FARP"),ZONE:New("MASH")) + diff --git a/CSR-001 - Basics/CSR-001 - Basics.miz b/CSR-001 - Basics/CSR-001 - Basics.miz new file mode 100644 index 0000000000..d0cab53a34 Binary files /dev/null and b/CSR-001 - Basics/CSR-001 - Basics.miz differ diff --git a/CSR-001 - Basics/pack.ps1 b/CSR-001 - Basics/pack.ps1 new file mode 100644 index 0000000000..bbac66e7c1 --- /dev/null +++ b/CSR-001 - Basics/pack.ps1 @@ -0,0 +1,10 @@ +$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/CSR-001 - Basics/unpack.ps1 b/CSR-001 - Basics/unpack.ps1 new file mode 100644 index 0000000000..c208a31858 --- /dev/null +++ b/CSR-001 - Basics/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" *