Early Fall 2024 and Tuning Release!
Welcome to Early Fall 2024!
This release contains functionality from both the master and the development branches in the attached .zip and .tar.gz files.
This release concentrates on some performance tuning measures and changes in CTLD and CSAR to cater for the new dynamic cargo and more.
Thanks to all contributors, discussion partners, bug finders and fixers to keep this project alive! :)
Special thanks to @funkyfranky and @kaltokri and @Statua!
Performance Tuning
- Prevent overly aggressive use of timings in
SpawnScheduled()
. - SPAWN: refactored the count of alive units which was added due to the changes in the DCS EVENTS to be much more CPU friendly.
- GROUP and UNIT: refactored the API calls to
Unit/Group.getByName()
to avoid sub-second re-calls. - CSAR - made the creation of ADF Beacons optional, as they are currently a CPU drag in-game
- Further tips: disable both TacView and LotATC on your servers as they create high extra CPU loads. Keep the overall count of alive units below circa 300 (YMMV depending on your server setup) to avoid performance problems. Remove stale hooks from the server for modules you do not use any longer.
ATIS
- Polar circle fixes for airbases in the North of the Kola map.
- Added French locale.
- Added support for new Light Rain presets.
CHIEF
- Strategic zone: If zero transports are available and min carriers is zero, cargo assets need to go by themselves.
CLIENTWATCH
- Added check to verify the aircraft is controlled by a player.
- Added
:FilterByCoalition()
and:FilterByCategory()
. - Added ability to get ALL CLIENTS by leaving param1 of
:New()
blank. - Added more console outputs if
CLIENTWATCH.Debug
is true. - Minor documentation fixes.
CONTROLLABLE
- Added IR Marker Beacons for UNIT and GROUP objects, e.g.
myunit:NewIRMarker(EnableImmediately, Runtime)
.
CSAR
- Added option to NOT add ADF beacons (for performance reasons).
- Added function to add own SET_GROUP for pilots.
- Added option for IR strobe on downed pilots.
CTLD
- Fix for helo being no Chinook not finding crates e.g. on a ship or FARP.
- Added
self.TroopUnloadDistGround = 1.5
, andself.TroopUnloadDistHover = 5
. - Fix for spawning the correct number of crates on inject.
- Simplified example documentation section 7 on how to build a FARP.
- Added option for crates to have any static shape (per crate type option).
- Added option for crates only to be transported by defined helicopter type names (per crate type option).
- Added function to add own SET_GROUP for pilots.
DYNAMICCARGO
- Added a new class to handle F8/Ground Crew created cargo; creates EVENTS for these, and is used in CTLD to track these items. e.g. for the Chinook.
SET
- Added #SET_DYNAMICCARGO.
- Include functional filters in all sub-classes.
RANGE
- Fix for trying to get a playername on dynamic cargo spawns.
Utils
- Added utility to spawn a FARP without a template
UTILS.SpawnFARPAndFunctionalStatics()
.
... and many, many more small additions and bug fixes as usual.