Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Versioning follows [Semantic Versioning](https://semver.org/).

## [Unreleased]

---

## [2.1.1] — 2026-11-24

### Fixed — an AI Fat Cow no longer hovers until it runs dry (FIX-FAT-COW-STRANDED)

- Campagne server, 2026-11-22: an AI cow packed its FARP on an F10 order, then flew on for 5 h 20 min until it ran out of fuel and vanished, and the log had no line in between. Three changes:
Expand Down
44 changes: 11 additions & 33 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CTLD 2.1.0
# CTLD 2.1.1

## Installation

Expand All @@ -9,49 +9,27 @@
**Windows blocks it on the first run?** The tool is not code-signed, so SmartScreen stops it: click **More info** → **Run anyway**.
If the file came through a browser you may also need right-click → **Properties** → tick **Unblock** → **OK**.

Prefer doing it by hand? The files are attached to this release too — see the [documentation](https://veaf.github.io/CTLD/2.1.0/mission-maker/).
Prefer doing it by hand? The files are attached to this release too — see the [documentation](https://veaf.github.io/CTLD/2.1.1/mission-maker/).

---

CTLD 2.1.0 brings back several CTLD 1.x behaviours that 2.0.0 had lost, and makes pack and unpack safe when DCS refuses to create something.
A mission configuration written for 2.0.0 keeps working: open it in `ctld-tools` and the new settings get their defaults.

## Read this before you update

Three defaults change, to match CTLD 1.x again:

- **Dropped groups act on their own.** Troops and vehicles dropped by a pilot, by parachute or by an AI transport go for the nearest enemy within `maximumSearchDistance` (now 4000 m, as in 1.x), otherwise walk to a random point within the new `maximumMoveDistance` (2000 m). To keep them where they are dropped, set both distances to `0`.
- **Players can drive what CTLD creates.** Dropped troops, unloaded vehicles, unpacked crates and SAM systems are created drivable again, for Combined Arms players and game masters. The new setting `spawnedUnitsPlayerCanDrive: false` gives back the 2.0.0 behaviour.
- **Inactive zones stay inactive.** A `troopZones` or `wpZones` entry marked `no` was active from the start; it now waits for its activation, as in 1.x. Only `yes` (or `1`) opens a zone at load.

A SAM system's group is now named `<type>_CTLD_AA_<id>`: a mission script that looked for the old `<type>_CTLD_AA_<second>` name must be adapted.
CTLD 2.1.1 is a small release with a single fix, for the AI Fat Cow.
A mission configuration written for 2.1.0 keeps working unchanged.

## What changes in game

- **Nothing is lost when DCS refuses.** Pack a vehicle, a FARP or a Fat Cow FARP, unpack crates, assemble, rearm or repair a SAM: the new object is created first, and the old one goes only once the new one exists. If DCS refuses, you keep what you had and you get a message.
- **Parachuted troops keep their weapons.** Every parachuted group used to land as AK riflemen; a Mortar Squad now lands with its mortar, blue troops with blue weapons.
- **SAM repair crates** (HAWK, NASAMS, BUK, KUB, Patriot, S-300) can be requested from **Request Equipment** again.
- **Two SAM systems of the same type** built in the same second no longer replace each other.
- **Coalition messages name the pilot** ("Viper started building a FOB"), not the slot.
- **Fat Cow**: a landed CH-47 is no longer taken for an airborne one (its FARP opens, and **Release** no longer makes it take off); an AI cow that cannot open its FARP tells the flight why; the **Take over a Fat Cow** list numbers the cows and no longer changes under your finger; an empty `fatCowAIType` removes only **Request a Fat Cow**, not the whole menu.
- **A parachuted equipment crate** that cannot be unpacked on landing tells the pilot who dropped it why.
- **A FARP packed while it lays itself out** no longer leaves orphan objects behind.
- **An AI Fat Cow no longer flies until it runs dry.** On a live server, an AI cow packed its FARP on an F10 order and then kept flying for over five hours until it ran out of fuel and vanished. Now:
- an AI cow in the air with less than 25 % of its fuel goes home, whatever it was told, and its flight reads "The Fat Cow is low on fuel and returns home.";
- a cow whose flight has left the server (every pilot gone) goes home reliably, instead of depending on a single check that DCS could beat.

## For mission makers

- New option `forbidUnpackInLogisticZone` (off by default): when on, ordinary crates cannot be unpacked in a friendly logistic zone, as with `minimumDeployDistance` in 1.x.
- The labels of the configuration (crate and group names) follow the configuration's own `i18n_lang`.
- The scripted troop drops `ctld.unloadTransport` and `ctld.unloadInProximityToEnemy` work again.

## For script and layer authors

- Four new events: `OnTroopsLoaded`, `OnTroopsUnloaded`, `OnTroopsExtracted`, `OnTroopsReturned` (the v1 troop callbacks map to them, see the [migration page](https://veaf.github.io/CTLD/2.1.0/developer/migration-v1-v2/)).
- `OnCrateUnpacked` now gives the `groupName` it created, and the SAM events give the `crateNames` they consumed.
- No field was renamed or removed.
- Every F10 order given to an AI cow (Land here, Take off, Hold here, Join us, RTB, Release, Take over) and every change of its phase now writes one line in the log, so a cow that behaves oddly can be explained afterwards.
- No setting was added or changed.

See the [documentation](https://veaf.github.io/CTLD/2.1.0/) for pilots and Mission Makers, and `CHANGELOG.md` for the full list.
See the [documentation](https://veaf.github.io/CTLD/2.1.1/) for pilots and Mission Makers, and `CHANGELOG.md` for the full list.

---

CTLD 2.1.0 is the work of FullGas and Zip, of the VEAF.
CTLD is the work of FullGas and Zip, of the VEAF.
Thanks to the VEAF pilots who fly CTLD on the Open Trainings and report what goes wrong.
2 changes: 1 addition & 1 deletion src/CTLD_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- src version — do not edit source/ original
ctld = ctld or {}

ctld.VERSION = "2.1.0"
ctld.VERSION = "2.1.1"

CTLDConfig = {}
CTLDConfig._instance = nil
Expand Down