- Added C-130 DynamicCargo auto-build adapter inside CTLD core.
- New CTLD options:
- `UseC130DynamicCargoAutoBuild = false` (default off)
- `C130DynamicCargoAutoBuildMergeSeconds = 10`
- Hooked C-130 set registration into CTLD `Get Crates` flow (buildable cargo only: `VEHICLE` / `FOB`).
- Added CTLD internal set/entry tracking for C-130 crates:
- map crate spawn -> dynamic cargo loaded/unloaded -> landed.
- Wired DynamicCargo event handling in CTLD:
- on loaded: map to the correct CTLD set entry.
- on unloaded: mark landed and create/rebind CTLD cargo proxy for build handoff.
- on removed before landed: mark set failed and clean it.
- Added set completion logic:
- build starts only when all crates in set are landed.
- helper infantry is spawned and CTLD engineer build path is used.
- Added merge window batching by owner:
- close drops from same C-130 can be processed together (one handoff window).
- Added scoped filtering in `_BuildCrates` for this path:
- prevents counting unrelated nearby crates during engineer auto-build.
- Added cleanup paths for completed/failed/stale sets and stop lifecycle cleanup.
- Added/updated docs in section `2.2` for:
- what the feature does,
- required settings,
- usage example,
- and the important note that this applies to CTLD `Get Crates` cargo (not C-130 Loadsheet cargo).
**Behavior note**
- Default behavior is unchanged unless `UseC130DynamicCargoAutoBuild` is enabled.
- SET: cleaned up FilterPrefixes
- AUFTRAG: fixed bug in _GetDCSAttackTask
- CONTROLLABLE: Removed unused parameter AttackQtyLimit from TaskAttackGroup, changed weapon type enum for some tasks.
Added: function CTLD:AddStaticsCargoFromType(Name,TypeName,Mass,Stock,SubCategory,DontShowInMenu,Location,UnitTypes,Category,ShapeName,ResourceMap,DisplayName)
Added: function CTLD:CanGetTroops, this is a final check for outside hooks, if player have conditions.
Reworked cargo placement in the case of none ship.
Cargo will be placed and sizes are depended on the cargo type, this can be further tweaked under the function GetCrates. This is applied to all types of cargo and all type of units.
Removed "Get" from the menu if the UseC130LoadAndUnload is true, player choose now the amount of cargo, then they will spawn. Same is for the Chinook if GCLoading is enabled.
Increased the UH-60L_DAP crate limit to 2 and the weight limit to 3500.
C130basetype is now independent of UseC130LoadAndUnload true / false. It will always be cds_crate for the C-130, and players can change it to whatever.