From 750ad6b5b95138885dbefb384c4f56515df4a510 Mon Sep 17 00:00:00 2001 From: leka1986 <83298840+leka1986@users.noreply.github.com> Date: Wed, 4 Mar 2026 21:44:46 +0100 Subject: [PATCH 1/2] Update CTLD.lua Fixed comments that looked weird in the website. --- Moose Development/Moose/Ops/CTLD.lua | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/Moose Development/Moose/Ops/CTLD.lua b/Moose Development/Moose/Ops/CTLD.lua index 95952d0d9..e005b79a9 100644 --- a/Moose Development/Moose/Ops/CTLD.lua +++ b/Moose Development/Moose/Ops/CTLD.lua @@ -243,7 +243,6 @@ do -- -- ## 2.2 C-130J-30 support and cargo airdrop auto-build. -- --- ### Important -- **Important:** This auto-build flow only applies to cargo obtained via CTLD **Get Crates**. -- Cargo spawned from the C-130 **Loadsheet** is **not** tracked by this feature. -- @@ -267,20 +266,22 @@ do -- my_ctld:AddCratesCargoNoMove("IRIS T System", {"CTLD_CARGO_IRISTSLM_System"}, CTLD_CARGO.Enum.FOB, 3, 2800, 10, "SAM/AAA", nil,nil,nil,nil,"cds_crate",nil, "iso_container_small") -- -- In the example above: --- - `AddCratesCargoNoMove` means the built unit/group will not receive an auto-move command after spawn. --- - `IRIS T System` is the menu/display name. --- - `CTLD_CARGO_IRISTSLM_System` is the mission editor template. --- - `CTLD_CARGO.Enum.FOB` defines the cargo/build type. FOB builds keep the mission-editor orientation. --- - `3` is crates required, `2800` is per-crate mass (kg), and `10` is stock. --- - `SAM/AAA` is the submenu label (used when `my_ctld.usesubcats = true`). --- - `cds_crate` is the default cargo shape for non-C130 aircraft when provided; if omitted, CTLD falls back to `my_ctld.basetype`. --- - `iso_container_small` is the C-130-specific cargo shape override, even if `my_ctld.C130basetype` is set to something else. --- - **Important:** If you do not want to set stock (the `10` parameter), pass `nil` in that position. Keep `nil` placeholders for skipped parameters before later values. -- +-- * `AddCratesCargoNoMove` means the built unit/group will not receive an auto-move command after spawn. +-- * `IRIS T System` is the menu/display name. +-- * `CTLD_CARGO_IRISTSLM_System` is the mission editor template. +-- * `CTLD_CARGO.Enum.FOB` defines the cargo/build type. FOB builds keep the mission-editor orientation. +-- * `3` is crates required, `2800` is per-crate mass (kg), and `10` is stock. +-- * `SAM/AAA` is the submenu label (used when `my_ctld.usesubcats = true`). +-- * `cds_crate` is the default cargo shape for non-C130 aircraft when provided; if omitted, CTLD falls back to `my_ctld.basetype`. +-- * `iso_container_small` is the C-130-specific cargo shape override, even if `my_ctld.C130basetype` is set to something else. +-- * **Important:** If you do not want to set stock (the `10` parameter), pass `nil` in that position. +-- Keep `nil` placeholders for skipped parameters before later values. -- -- Notes: --- - This is a C-130J-30 workflow. --- - Regular CTLD behavior for other aircraft remains unchanged. +-- +-- * This is a C-130J-30 workflow. +-- * Regular CTLD behavior for other aircraft remains unchanged. -- -- ## 2.3 User functions -- From d30377a7b17b1dd881d0406b547e762aee88e355 Mon Sep 17 00:00:00 2001 From: leka1986 <83298840+leka1986@users.noreply.github.com> Date: Wed, 4 Mar 2026 21:47:27 +0100 Subject: [PATCH 2/2] Remove C-130J-30 specific notes from CTLD.lua Removed notes specific to C-130J-30 workflow from CTLD.lua. --- Moose Development/Moose/Ops/CTLD.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Moose Development/Moose/Ops/CTLD.lua b/Moose Development/Moose/Ops/CTLD.lua index e005b79a9..cc95f9804 100644 --- a/Moose Development/Moose/Ops/CTLD.lua +++ b/Moose Development/Moose/Ops/CTLD.lua @@ -278,10 +278,6 @@ do -- * **Important:** If you do not want to set stock (the `10` parameter), pass `nil` in that position. -- Keep `nil` placeholders for skipped parameters before later values. -- --- Notes: --- --- * This is a C-130J-30 workflow. --- * Regular CTLD behavior for other aircraft remains unchanged. -- -- ## 2.3 User functions --