mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-07-16 22:22:25 +00:00
@@ -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,18 @@ 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.
|
||||
--
|
||||
-- ## 2.3 User functions
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user