cbateam / cba_a3 Goto Github PK
View Code? Open in Web Editor NEWCommunity Base Addons for Arma 3
Home Page: https://github.com/CBATeam/CBA_A3/wiki
License: GNU General Public License v2.0
Community Base Addons for Arma 3
Home Page: https://github.com/CBATeam/CBA_A3/wiki
License: GNU General Public License v2.0
In my Raven addon, I have a button that you press to bring up the assigned keybinds. Once I switched the keys over to CBA Keybinding, I can't figure out how to get these assigned keys easily.
I've come up with a way to test which group the keys are assigned to:
_mainIndex = 0;
{
if ("RQ-11B Raven Addon" in ((profileNamespace getVariable "cba_keybinding_registry") select _x))
exitWith {_mainIndex = _x};
} forEach [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20];
_mainTitle = (profileNamespace getVariable "cba_keybinding_registry") select _mainIndex select 0;
hint format ["%1",_mainTitle]; // returns "RQ-11B Raven Addon"
This tests up to 21 addons using CBA Keys and returns the index that contains my Raven Addon key title. If I drill down more, I can get to the key names and assigned key "number" but for example, "Altitude Raise" is assigned key "17" which equates to DIK_W. But how do I know that Key "17" is DIK_W?
And, is there an easier way to do this? Currently to get "17", I have to find this:
(profileNamespace getVariable "cba_keybinding_registry") select 1 select 1 select 0 select 1 select 0 select 0;
It would be a lot easier if I could instead type this:
["RQ-11B Raven Addon", "Altitude Raise"] call CBA_fnc_revealKeybind;
which would return [DIK_W, [false, false, false]](or whatever the key has been changed to from the default).
Currently, in my addon, I have a page pop up with the default keybinds, but not what the user changes those keybinds to. I know the user can hit escape and just look there by drilling down into the menus, but in my Raven, I like having a quick page pop up with the Raven operation and the assigned keys while they are operating the Raven.
Thanks in advance if this is possible.
Reporter: feint
Begin: 2015-03-22
Completed: 0
As reported several times, when I add actual fresh bikey server will not load past port bind. It will never reach mission screen. Fix ASAP.
["TFAR", "SW Transmit", {call TFAR_fnc_onSwTangentReleased}, [TF_tangent_sw_scancode] + TF_tangent_sw_modifiers, false, "KeyUp"] call cba_fnc_registerKeybind;
["TFAR", "SW Transmit", {call TFAR_fnc_onSwTangentPressed}, [TF_tangent_sw_scancode] + TF_tangent_sw_modifiers] call cba_fnc_registerKeybind;
["TFAR", "SW Transmit Additional", {call TFAR_fnc_onAdditionalSwTangentPressed}, [TF_tangent_additional_sw_scancode] + TF_tangent_additional_sw_modifiers] call cba_fnc_registerKeybind;
["TFAR", "SW Transmit Additional", {call TFAR_fnc_onAdditionalSwTangentReleased}, [TF_tangent_additional_sw_scancode] + TF_tangent_additional_sw_modifiers, false, "KeyUp"] call cba_fnc_registerKeybind;
Result: error on fnc_onLBDblClick.sqf:59
Reporter: nkey
Assigned to: nkey
Begin: 2014-09-26
Completed: 0
Reference ACE Ticket: acemod/ACE3#1423
From the "BI forums":http://forums.bistudio.com/showthread.php?178224-CBA-Community-Base-Addons-ARMA-3&p=2923036&viewfull=1#post2923036
??Why is CBA3 not in Steam Workshop? I searched but i can't find it. It seems to me it would be a lot easier to keep this up to date for us.??
Apparently, one can now publish mods (collections of addons) on Steamworks, so it might be worth looking into publishing CBA there as well.
Reporter: killswitch
Assigned to: ViperMaul
Begin: 2015-04-18
Completed: 30
Contribution by zx64
https://dl.dropboxusercontent.com/u/1542468/temp/cba_ui_closure.diff is the diff for the "closure support" for interact menu actions.
[8/5/2014 3:21:13 PM] zx64
I've not tested it against heavy users of the interact menu like ACE but it gives you an idea of what the change currently is.
https://www.dropbox.com/s/t5b7rjlxabbm7jk/cba_ui_test.Desert_E.pbo.7z is the mission I've used to test the changes.
Reporter: ViperMaul
Begin: 2014-09-11
Completed: 100
When PostInit is conducted specifically for CAManBase under certain circumstances, the XEH System is designed to switch to a scheduled mode execution and then fail its execution, or to bypass its execution for continuation of XEH. This poses several problems:
Reproduce:
Load Arma 3 only and CBA 1.1.20.150416
Editor -> Stratis
Put soldier
Preview
When loading mission appears No owner few times in .rpt
+More info:+
With script CSSA3: http://forums.bistudio.com/showthread.php?187688-CSSA3-A-Spectator-Script-for-Arma-3&highlight=cssa3
Install in mission and execute Spectator mode with the instructions of CSSA3.
If the camera moves are appearing more No owner especially if the ALT LEFT key is pushed.
Reporter: oscarmolinadev
Begin: 2015-05-08
Completed: 0
findDisplay 312 (it is null if display is not open)
Reporter: nkey
Assigned to: Nou
Begin: 2014-09-17
Completed: 0
We should update the CBA Wiki Docs Overview page. We have added a few features sense its first writing.
http://dev.withsix.com/docs/cba_a3/files/overview-txt.html
For example we can reference CBA Keybinging, Debug Enhancement for A3, Interaction Framework and XEH.
We should also have a brief paragraph on WHY to use CBA XEH for mod compatibility.
Reporter: ViperMaul
Begin: 2015-04-09
Completed: 0
All 17 BIS C_Hatchback_ class cars overwrite XEH Init
C_Hatchback_01_F and the other 16 seen in this reference.
Reference: http://gyazo.com/4f0995c9ec7d32963f23b93b05f4cab2
NOTE:
Using the optional cba_enable_auto_xeh.pbo does solve this issue.
An example of the current RPT of test functions.
[7971,103.74,65.432,"Testing CBA_fnc_hashEachPair"] [7970,103.726,65.409,"x\cba\addons\hashes\test.sqf:14","=== Testing Hashes ==="] [7971,103.74,65.432,"x\cba\addons\hashes\test_hashEachPair.sqf:14","Testing CBA_fnc_hashEachPair"] [7973,103.772,65.471,"x\cba\addons\strings\test.sqf:14","=== Testing Strings ==="] [7974,103.806,65.493,"x\cba\addons\strings\test_strings.sqf:11","Testing Strings"]
All Test Functions should report with a Completed Successfully or a Test Failed or similar.
Currently there is no results output anywhere.
Reporter: ViperMaul
Begin: 2013-06-05
Completed: 0
close
The examples run together and are difficult to read. Let's beautify them.
fnc_addKeybind
fnc_addKeybindToFlexiMenu
fnc_getKeybind
Use the formatting from this example as a reference:
fnc_test
Reporter: ViperMaul
Begin: 2015-04-09
Completed: 0
Add ASDG Joint Rails
https://forums.bistudio.com/topic/157965-asdg-joint-rails/
Restore the Keybindings list after keybind rewrite.
The hash functions in CBA have been improvement mainly by ACRE (Hashlists etc.) which have been adopted by ACE. Currently the cba hashes and ace/acre ones are neither the same nor compat.
Would be a nice feature to give 3rd party scripts independency of ACE/ACRE but the same functionality.
List of differences:
hashCreate
contains a TYPE_HASH designator which is only used by the isHash
and not used by ACE/ACRE. How often is the isHash
function used?Could jump on that and create a merge-request, if pleased.
Reported by BI forum user "stlassen":
Error in expression Error position: Error getvariable: Type Number, expected Namespace,Object,Group,Control,Team member,Task,Location
Reference: here
Reporter: stlassen
Begin: 2014-10-06
Completed: 0
Task: comb through the BIS and XEH vehicle configs and make sure that all relevant BIS vehicles have XEH functionality.
DEFAULT_PARAM(3,_defaultKeybind,[-1, false, false, false]);
results in an error
Error in expression Error position: <]); private "_overwrite"; _overwrite > Error Missing ;
The work
_nullKeybind = [-1,false,false,false];
DEFAULT_PARAM(3,_defaultKeybind,_nullKeybind);
REFERENCE: https://dev.withsix.com/docs/cba/files/extended_eventhandlers/script_macros_common-hpp.html#DEFAULT_PARAM
Reporter: ViperMaul
Begin: 2014-06-30
Completed: 0
Tested with CBA_A3_DEV_RC6_v1.1.20.150407 and ACRE2.1.0.786 (specifically built for testing with new CBA)
The binds were all set from within the game. Expectation was for everything to work out-of-the-box.
Examples:
If your PTT key is Home -> Push Home -> PTT successful
Players who have no TrackIR and use ALT for freelook, or players who Sprint/Walk with Shift, etc, cant transmit at the same time as holding the Modifier key
Possibly reproducible with other mods as well.
Reporter: BullHorn
Assigned to: Nou
Begin: 2015-04-08
Completed: 0
If you add a key down and key up combo, like so:
["Test", "Combo", {hint "combo"}, [0x15, [false, false, false]], false, "keydown"] call CBA_fnc_registerKeybind;
["Test", "Combo", {hint ""}, [0x15, [false, false, false]], false, "keyup"] call CBA_fnc_registerKeybind;
and then you add another key normally afterwards, like so:
["Test", "Single", {hint "single"}, [0x15, [false, true, false]]] call CBA_fnc_registerKeybind;
Then you cannot rebind, delete or set the default for that second key in the options menu. Instead you get the error:
Error in expression <all cba_fnc_registerKeybind;
} forEach _handlerIndexArray;
};
[] call cba_key>
Error position: <_handlerIndexArray;
};
[] call cba_key>
Error Undefined variable in expression: _handlerindexarray
File x\cba\addons\keybinding\gui\fnc_onLBDblClick.sqf, line 59.
A workaround is to simply add that second key before the keydown keyup combo.
Reporter: PH03NIX-ZA
Begin: 2014-08-15
Completed: 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.