CBA_A3 v2.4.0.160530
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_missionTimevariable (#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,getInManandgetOutMan(#286, #293) commy2 - ADDED: Delayed execution functions
CBA_fnc_waitAndExecute,CBA_fnc_execNextFrameandCBA_fnc_waitUntilAndExecute(#288) esteldunedain - ADDED:
CBA_fnc_addItem,CBA_fnc_removeItem,CBA_fnc_addItemCargoandCBA_fnc_addBackpackCargo(#291) commy2 - ADDED:
CBA_fnc_getItemConfigandCBA_fnc_getObjectConfigwhich report the config entry of objects and classnames (#291) commy2 - ADDED:
CBA_fnc_getMuzzleswhich reports all muzzle names of a weapon (#291) commy2 - ADDED:
CBA_fnc_getWeaponModeswhich reports all weapon modes of a weapon (#291) commy2 - ADDED:
CBA_fnc_vehicleRolewhich reports the soldiers role in the current vehicle (#291) commy2 - ADDED:
CBA_fnc_turretPath,CBA_fnc_turretPathWeaponto report the turret path of a unit or weapon of a vehicle (#291) commy2 - ADDED:
CBA_fnc_getMagazineIndexandCBA_fnc_currentMagazineIndex(#291) commy2 - ADDED:
CBA_Extended_EventHandlers_baseclass for easy class inheritance (#294) commy2 - ADDED: Macros -
QFUNC,QFUNCMAIN,QFUNC_INNER,QEFUNC,PATHTOEF,QPATHTOF,QPATHTOEF(#307, #308, #309) jonpas, BaerMitUmlaut - ADDED:
CBA_fnc_addBISEventHandlerto add events to objects, controls, displays or the mission with parameters and additional meta variables (#313) commy2 - ADDED: Optional parameter to
CBA_fnc_addClassEventHandlerto retroactively call 'init' events on already existing objects (#324) PabstMirror - ADDED:
CBA_fnc_binocularMagazine,CBA_fnc_addBinocularMagazineandCBA_fnc_removeBinocularMagazine(#325) commy2 - ADDED: Functions to execute CBA events on certain remote machines
CBA_fnc_targetEvent,CBA_fnc_serverEventandCBA_fnc_globalEventJIP(#284, #314) commy2 - ADDED: Support for all display events in
CBA_fnc_addDisplayHandler(#284) commy2 - ADDED:
CBA_fnc_addPlayerEventHandlerandCBA_fnc_removePlayerEventHandler(#328, #332) commy2 - ADDED:
CBA_fnc_clearWaypointsto 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_compatibleItemsby adding caching methods (#268, #299) jokoho48 - IMPROVED: Use
remoteExecinCBA_fnc_globalExecutefor 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_addWeaponCargoandCBA_fnc_addMagazineCargowith additional parameters (#291) commy2 - IMPROVED: Performance of
CBA_fnc_getTurret,CBA_fnc_getFirerandCBA_fnc_getGroupIndexand 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_taskDefendandCBA_fnc_taskSearchAreaclear all existing waypoints before assigning the AI task (#333) SilentSpike - IMPROVED:
CBA_fnc_taskPatrolcompletes 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_removeWeaponandCBA_fnc_removeMagazinedon't work for remote objects (#291) commy2 - FIXED: XEH
preInitfunctions 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:
onRespawnflag not working forinitPostXEH event (#318, #320) commy2 - FIXED: CBA Versioning broken (#290) PabstMirror
- FIXED: Replace some
truein configs that are converted to1by Mikeros tools (#302) PabstMirror - FIXED:
CBA_fnc_replacebroken 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_addPlayerEventHandlerandCBA_fnc_addBinocularMagazinewill 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.