Skip to content

Releases: CBATeam/CBA_A3

CBA_A3 v2.4.0.160530

30 May 16:49

Choose a tag to compare

This release improves and expands the CBA Events system and brings compatibility with the Linux/MacOS build of the game.

Another goal was to simplify, refactor and clean up old code stemming from Arma 1/2 using new commands and methods, making CBA even more lightweight. For security reasons we changed CBA_fnc_globalExecute to use remoteExec internally and replaced all functions that made use of whitelisting via CfgRemoteExec. Our release now contains a meta.cpp file, so the Arma 3-Launcher should be able to detect and update a manual installation via Steam Workshop.

CHANGELOG SUMMARY:

  • ADDED: JM (Joint Muzzles) support for MX, Katiba, Rahim and Mk200 (#252, #281) robalo
  • ADDED: JIP synched and savegame compatible CBA_missionTime variable (#273) commy2
  • ADDED: Shortcuts for debug console, functions and config viewer in 3den-editor (#274) commy2
  • ADDED: meta.cpp file for server browser and Steam Workshop support (#277) bux578
  • ADDED: Ability to disable all XEH for specific object classes (#279) commy2
  • ADDED: XEH support for seatSwitchedMan, reloaded, getInMan and getOutMan (#286, #293) commy2
  • ADDED: Delayed execution functions CBA_fnc_waitAndExecute, CBA_fnc_execNextFrame and CBA_fnc_waitUntilAndExecute (#288) esteldunedain
  • ADDED: CBA_fnc_addItem, CBA_fnc_removeItem, CBA_fnc_addItemCargo and CBA_fnc_addBackpackCargo (#291) commy2
  • ADDED: CBA_fnc_getItemConfig and CBA_fnc_getObjectConfig which report the config entry of objects and classnames (#291) commy2
  • ADDED: CBA_fnc_getMuzzles which reports all muzzle names of a weapon (#291) commy2
  • ADDED: CBA_fnc_getWeaponModes which reports all weapon modes of a weapon (#291) commy2
  • ADDED: CBA_fnc_vehicleRole which reports the soldiers role in the current vehicle (#291) commy2
  • ADDED: CBA_fnc_turretPath, CBA_fnc_turretPathWeapon to report the turret path of a unit or weapon of a vehicle (#291) commy2
  • ADDED: CBA_fnc_getMagazineIndex and CBA_fnc_currentMagazineIndex (#291) commy2
  • ADDED: CBA_Extended_EventHandlers_base class for easy class inheritance (#294) commy2
  • ADDED: Macros - QFUNC, QFUNCMAIN, QFUNC_INNER, QEFUNC, PATHTOEF, QPATHTOF, QPATHTOEF (#307, #308, #309) jonpas, BaerMitUmlaut
  • ADDED: CBA_fnc_addBISEventHandler to add events to objects, controls, displays or the mission with parameters and additional meta variables (#313) commy2
  • ADDED: Optional parameter to CBA_fnc_addClassEventHandler to retroactively call 'init' events on already existing objects (#324) PabstMirror
  • ADDED: CBA_fnc_binocularMagazine, CBA_fnc_addBinocularMagazine and CBA_fnc_removeBinocularMagazine (#325) commy2
  • ADDED: Functions to execute CBA events on certain remote machines CBA_fnc_targetEvent, CBA_fnc_serverEvent and CBA_fnc_globalEventJIP (#284, #314) commy2
  • ADDED: Support for all display events in CBA_fnc_addDisplayHandler (#284) commy2
  • ADDED: CBA_fnc_addPlayerEventHandler and CBA_fnc_removePlayerEventHandler (#328, #332) commy2
  • ADDED: CBA_fnc_clearWaypoints to clear a group of all existing waypoints and halt their preplanned movement (#333) SilentSpike
  • IMPROVED: Rewrote CBA Events system, deprecating and replacing old functions (#284, #319) commy2
  • IMPROVED: Performance of CBA_fnc_compatibleItems by adding caching methods (#268, #299) jokoho48
  • IMPROVED: Use remoteExec in CBA_fnc_globalExecute for security (#269, #275, #327) commy2
  • IMPROVED: Precompile functions on game start instead of on first mission start (#271) commy2
  • IMPROVED: Hash functions (#278, #280) jokoho48
  • IMPROVED: Categories of CBA functions in ingame Functions viewer (#291) commy2
  • IMPROVED: Removed broken and deprecated functions from Common module (#291, #296, #312, #316) commy2
  • IMPROVED: CBA_fnc_addWeapon, CBA_fnc_addMagazine, CBA_fnc_removeMagazine, CBA_fnc_addWeaponCargo and CBA_fnc_addMagazineCargo with additional parameters (#291) commy2
  • IMPROVED: Performance of CBA_fnc_getTurret, CBA_fnc_getFirer and CBA_fnc_getGroupIndex and better support of certain edge cases (#291) commy2
  • IMPROVED: Compatibilty with 1.54 version of Linux/MacOS build (#301, #330) commy2
  • IMPROVED: Per Frame Handler with "EachFrame" mission event (#303) commy2
  • IMPROVED: Use CBA event for CBA_fnc_switchPlayer (#304, #305) PabstMirror
  • IMPROVED: Use new "PlayerConnected" mission event for improved compatibility (#306) commy2
  • IMPROVED: Some function headers for documentation (#321) Killswitch00
  • IMPROVED: CBA_fnc_taskPatrol, CBA_fnc_taskDefend and CBA_fnc_taskSearchArea clear all existing waypoints before assigning the AI task (#333) SilentSpike
  • IMPROVED: CBA_fnc_taskPatrol completes the patrol loop by placing the "cycle" waypoint back at the start (#333) SilentSpike
  • IMPROVED: Performance and behaviour of CBA_fnc_searchNearby. In small groups the leader will join the search; search movement is more fluid (#333) SilentSpike
  • IMPROVED: Performance and behaviour of CBA_fnc_taskDefend. Groups tasked to defend overlapping areas will not double up unit positions (#333) SilentSpike
  • FIXED: CBA_fnc_addMagazine, CBA_fnc_removeWeapon and CBA_fnc_removeMagazine don't work for remote objects (#291) commy2
  • FIXED: XEH preInit functions are skipped when entering 3den-editor for the first time (#292, #295, #283, #285) commy2
  • FIXED: Diary displays all keybindings that were ever used instead of those of the currently active mods (#322, #323) Killswitch00
  • FIXED: onRespawn flag not working for initPost XEH event (#318, #320) commy2
  • FIXED: CBA Versioning broken (#290) PabstMirror
  • FIXED: Replace some true in configs that are converted to 1 by Mikeros tools (#302) PabstMirror
  • FIXED: CBA_fnc_replace broken for non-ASCII characters (#331) BaerMitUmlaut
  • FIXED: Handling of killed units in CBA_fnc_searchNearby (#333) SilentSpike

CHANGELOG for CBA v2.4.0

DOCUMENTATION:

KNOWN ISSUES:

  • CBA_fnc_addPlayerEventHandler and CBA_fnc_addBinocularMagazine will not work in the current Linux/MacOS version of the game (currently at v1.54)
  • Some CBA keybinds might not appear in the controls menu. The easiest currently known workaround is to create a new user profile.
  • A potential crash on missions longer than 5 hrs. RPT logs are appreciated.

CBA_A3 v2.3.1.160220

20 Feb 16:51

Choose a tag to compare

This is a hotfix release to resolve some issue created by v2.3.0

It also has some other minor fixes and features included that didn't make the previous release.
One cool new feature is an improvement to the debug console within 3den. The extended debug console increases the size of the text box where you enter code. And also adds the prev and next statement functionality. A small performance boost comes with this hotfix as well.

CHANGE LOG SUMMARY:

  • ADDED: XEH DisplayLoad and DisplayUnload event handlers (#264) commy2
  • FIXED: Wrong order of arguments in Extended_Fired_EventHandlers (#266) (#267) commy2
  • FIXED: Conflict between CBA Events and Help prevents mission from loading (#244) commy2
  • FIXED: Potential script error on mission start (#258) commy2
  • IMPROVED: Performance improvements in Help module (#265) commy2
  • IMPROVED: Delay installing PlayerActions PFEH until first use (#262) PabstMirror
  • IMPROVED: replace PUSH() Macro with pushback (#247) johoko482

Change log for CBA v2.3.1

KNOWN ISSUES:

  • The old keybinding bug. Some CBA keybinds might not appear in the controls menu. While the script error was fixed, we are still working on a solution to make even corrupted profile key entries appear.
    The easiest currently known workaround is to create a new user profile.
  • A potential crash on missions longer than 5 hrs. RPT logs are appreciated.

CBA_A3 v2.3.0.160217

20 Feb 15:58

Choose a tag to compare

This release brings with it a major rewrite of XEH and now automatically detects if event handlers were added to incompatible object classes and handles them. It also fixes a number of issues and adds keybinding support for the Zeus user interface.

NOTES ON THE NEW XEH:

Interesting changes for normal user:

  • no longer needs to move cba_enable_auto_xeh.pbo manually. CBA now automatically detects if event handlers were added to incompatible object classes.
  • less overhead when objects are created (which benefits AI spawn scripts)
  • very slight overall performance increase

for developers:

  • easier to make addons XEH compatible without requiring CBA info
  • RPT message printing incompatible class names on game start

CHANGE LOG SUMMARY:

FIXED: High zoom optics broken on all LMGs (#159) robalo
FIXED: CBA keybinds did not work in the Zeus interface (#206) commy2
FIXED: CBA_fnc_splitString broken in A3 1.54 (#209, #210), PabstMirror, Killswitch
FIXED: Support configNull and teamMemberNull in CBA_fnc_findNull (#212) commy2
FIXED: CBA_fnc_findMin was broken (#257, #207) commy2
FIXED: CBA_fnc_formatNumber decimals with negative numbers (#214) PabstMirror
FIXED: CBA_fnc_selectWeapon broken (#219)
FIXED: CBA_fnc_addClassEventHandlers for units that spawn inside vehicles (#221) commy2
FIXED: Various issues with CBA per-frame handlers (#230, #236) commy2
FIXED: Many other performance improvements and bug fixes.
IMPROVED: Extended Event Handler system rewritten commy2
ADDED: CBA_fnc_isPerson and CBA_fnc_canUseWeapon (#219) commy2
ADDED: CBA_fnc_createNamespace and CBA_fnc_deleteNamespace (#260) commy2

Change log for CBA_A3 Milestone v2.3

CBA_A3 v2.2.0.151130

01 Dec 20:36

Choose a tag to compare

This release fixes compatibility issues with Arma 3 v1.54 and adds five new functions. Highlights:

Change log for CBA_A3 - Milestone v2.2

CBA_A3 v2.1.2.151016

17 Oct 03:48

Choose a tag to compare

This release fixes an issue in the previous version.

  • FIXED: AI functions broken due to getGroup error (#178) - Dorbedo
  • CHANGED: Improvement for "script_macros_mission.hpp" (#180) - Dorbedo

Change Log for CBA_A3 - Milestone v2.1.2

Known Issues:
12 RPT Errors - Updating Base Class for ASDG Joint Rails (JR)

CBA_A3 v2.1.1.151010

11 Oct 09:22

Choose a tag to compare

This release fixes an issue in the previous version.

  • FIXED: RPT issue in PFH main Loop (#171) - Joko
  • FIXED: Bounds checking on removePFEH (#172) - PabstMirror
  • FIXED: MP waypoint duplication issue in the AI task functions - SilentSpike
  • FIXED: Restore equivalent position handling in taskDefend - SilentSpike
  • FIXED: script_macros_mission.hpp dcoumentation/comment - Glowbal

Change Log for CBA_A3 - Milestone v2.1.1

Known Issues:
12 RPT Errors - Updating Base Class for ASDG Joint Rails (JR)

CBA_A3 v2.1.0.151009

09 Oct 23:01

Choose a tag to compare

This release supports 1.50 or later.

Remember CBA XEH is designed to ensure compatibility with other mods so that players can enjoy adding all their favorite mods to their own custom modset or collections.

Here the noteworthy additions, fixes and improvements:

  • FIXED: Keybinding Issue with Controllers connected - Joko
  • FIXED: Issues with perFrameEventHandlers - Joko
  • FIXED: Animal randomization issue causing RPT Spam Error in expression (#114) - robalo, killswitch
  • CHANGED: Improved PFH code Performance (#148, #152) - Joko
  • ADDED: Make use of the new joinString command in A3 1.50 enhancement - killswitch
  • ADDED: XEH support for SeatSwitched event handlers - killswitch
  • ADDED: Polish localization - gienkov
  • ADDED: 6 New Array Functions: CBA_fnc_findMax, CBA_fnc_findMin, CBA_fnc_findNil, CBA_fnc_findTypeName, CBA_fnc_findTypeOf and CBA_fnc_findNull (#131,#143) - Joko,mikematrix

Change Log for CBA_A3 - Milestone v2.1

Known Issues:
12 RPT Errors - Updating Base Class for ASDG Joint Rails (JR)

CBA_A3 v2.0.0.150817

19 Aug 15:47

Choose a tag to compare

Here is a new release of CBA to fully support 1.48 or later with added features such as ASDG Joint Rails(JR) integration which defines weapon rails using the new attachment config system now availlable within Arma 3. It is no longer necessary to use the standalone version of Joint Rails (posted here) with CBA. It is recommended that you remove the standalone version as you may receive conflict warnings in your RPT. We are not aware of any actual conflicts but you should not run them both at the same time.

Remember CBA XEH is designed to ensure compatibility with other mods so that players can enjoy adding all their favorite mods to their own custom modset or collections.

Here the noteworthy additions, fixes and improvements:

  • ADDED: New function CBA_fnc_randPosArea - SilentSpike
  • ADDED: New function CBA_fnc_substr - Joko
  • ADDED: ASDG Joint Rails(JR) Integration (more info) - robalo
  • FIXED: XEH for a lot of stock A3 vehicles and units - Killswitch, PabstMirror
  • FIXED: Show CBA keybindings in the briefing - Killswitch
  • FIXED: Headgear and animal randomization compatible with A3 1.50+ - robalo
  • IMPROVED: Key binding system - ViperMaul
  • IMPROVED: Function and macro optimizations. - Glowbal, Jonpas, Dixon13, SilentSpike, Joko, SzwedzikPL

Change Log for CBA_A3 v2.0 - Milestone v2.0

Known Issues:
12 RPT Errors - Updating Base Class for ASDG Joint Rails (JR)

v1.1.23.150604 - RC7 Hotfix 2

07 Jun 15:17

Choose a tag to compare

Remember CBA XEH is designed to ensure compatibility with other mods so that players can enjoy adding all their favorite mods to their own custom modset or collections.

Here is a new release to provide an optional addon to help protect stock and other units from improperly configured mods that block CBA XEH. This allows mods to be more compatible with other mods based on CBA XEH.

  • IMPROVED: Move the XEH initialization out of the init event handler. - Killswitch
  • ADDED: Optional addon to enable an automatic 'adding XEH' to incompatible mods - Killswitch

Change Log for Release Candidate 7 Hotfix 2 - Milestone RC7 Hotfix2

Known Issues:
BIS Bug 0022133: Some .bikey file combinations prevent dedicated server from loading

v1.1.22.150602 - Release Candidate 7 Hotfix

02 Jun 17:46

Choose a tag to compare

FIXED: Restore XEH init EH for the BLUFOR FIA, Story and other Civilian units. - Killswitch
FIXED: Restore XEH fired EH for Attack Helicopter units - Killswitch
IMPROVED: Replaced BIS_fnc_areEqual by IsEqualTo - Glowbal
IMPROVED: CBA_fnc_strLen - count now works on strings - Glowbal
IMPROVED: CBA_fnc_addPerFrameHandler - Replaced set count for pushback - Glowbal
IMPROVED: CBA Fleximenu - params support in code exec (#48) - SzwedzikPL

Change Log for Release Candidate 7 Hotfix - Milestone RC7 Hotfix