Skip to content

Armachovsk/CBA_A3

This branch is 425 commits behind CBATeam/CBA_A3:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f780ae · Nov 11, 2021
Oct 15, 2021
Nov 11, 2021
Oct 4, 2021
Oct 12, 2021
Mar 19, 2021
Dec 21, 2017
Oct 15, 2021
Apr 8, 2017
Jul 14, 2016
Jul 14, 2016
Jul 23, 2021
Sep 30, 2015
Oct 3, 2021
Mar 17, 2020
Mar 17, 2020
May 27, 2015
May 27, 2015
May 20, 2021
Jun 25, 2013
Jun 3, 2016
Aug 4, 2019
Jul 23, 2021

Repository files navigation

Community Base Addons

Installation

Download the latest version and unpack it in your Arma 3 installation folder. Simply launch Arma 3 with -mod=@CBA_A3 afterwards.

Optionals

To install any of the optionals, simply copy the respective PBOs into the @CBA_A3\addons folder.

PBO Description
cba_cache_disable.pbo Disables CBA's function caching. (Dev Tool)
cba_diagnostic_disable_xeh_logging.pbo Disables all additional XEH RPT logging.
cba_diagnostic_enable_logging.pbo Enables additional logging (Dev Tool)

CBA Caching

CBA implements a cache for all compile preProcessFile'd scripts and for all XEH events on CfgVehicle classes. This cache is stored in the uiNamespace and is therefore available throughout the whole lifetime of the running game (game start, till terminate game). Each class is only cached once, while mission and campaignConfigfile events are evaluated every mission, but also only once per CfgVehicle class.

The performance gains are seen in feature rich mods like ACE3 which rely heavily on scripting to make their features possible. Some of these functionalities cause long loading times for the game, switching missions, islands and switching from the editor back to the game. At the start of the game functions will be cached and loading times for functions will be comparable with the vanilla game.

cba_cache_disable.pbo is an optional addon that can disable this if you need it. However it makes mods slower by disabling CBA's function and script compilation cache, as well as the XEH cache. It is useful during development, since script changes will take effect without restarting the entire game.

Known Issues

  • CBA Keybindings and Settings require a mission to be initialized to function properly. This includes working in the main menu of Arma 3. Commandline parameters like -world=empty or -skipIntro will cause Keybindings and Settings to work ONLY in-game but NOT in the main menu.

License

Licensed under GNU General Public License (GPLv2)

Any addon which calls CBA-defined functions need not be licensed under the GPLv2 or released under a free software license. Only if it is directly including CBA code in the addon's binarized PBO or redistributing a modified version of CBA itself would it be considered derivative and therefore be legally required to be released under the terms of the GPL. (And there's no reason to ever do either of these.)

Packages

No packages published

Languages

  • SQF 57.4%
  • C++ 24.1%
  • Pawn 11.8%
  • Python 5.5%
  • Ruby 0.7%
  • AutoHotkey 0.2%
  • Other 0.3%