Git Product home page Git Product logo

cba_a3's Introduction

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 (incl CfgFunctions, BIS functions module, etc), 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. After the first mission load 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 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 Keybinding 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.)

cba_a3's People

Contributors

killswitch00 avatar commy2 avatar vipermaul avatar pabstmirror avatar kymckay avatar noubernou avatar wired-tiger avatar jonpas avatar jokoho48 avatar robalo avatar taosenai avatar xhabit avatar classicarma avatar baermitumlaut avatar patroza avatar thojkooi avatar shadez95 avatar dorbedo avatar bux avatar jaynus avatar 654wak654 avatar mikematrix avatar squelch avatar ted23p avatar dedmen avatar nilsms avatar fishykins avatar cuel avatar kerckasha avatar sniperhid avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.