Jump to content
acebelew

ACE Version 3.12.0 Arsenal

Recommended Posts

I know that there is a lot of controversy surrounding the new ACE arsenal, but I like it. 

 

I was hoping that someone has an example of a working ACE Arsenal whitelist and blacklist on an ammo box.   I have followed the ACE documentation but it is limited.  I can only get a full arsenal working right now.

 

 

Share this post


Link to post
Share on other sites
5 minutes ago, TheCr8rMaker said:

I haven't got blacklist working yet but I can give you a working whitelist init if you want?

 

I would be interested in that.

Share this post


Link to post
Share on other sites

alright this goes in the init of whatever item you use as the arsenal

 

[this, [


"UK3CB_BAF_U_CombatUniform_MTP",


"UK3CB_BAF_H_Mk7_Scrim_ESS_B",
"UK3CB_BAF_H_Mk7_Scrim_ESS_C",


"UK3CB_BAF_HMNVS",
"rhsusf_ANPVS_15",
    

"UK3CB_BAF_G_Tactical_Grey",
"UK3CB_BAF_G_Tactical_Orange",


"UK3CB_BAF_V_Osprey_Grenadier_A",
"UK3CB_BAF_V_Osprey_Grenadier_B",
    

"B_AssaultPack_mcamo",
"B_AssaultPack_rgr",
"B_AssaultPack_khk",


"UK3CB_BAF_L7A2",
"UK3CB_BAF_L85A2",


"rhsusf_acc_anpeq15_top",
"rhsusf_acc_anpeq15_side",


"ItemWatch",
"ItemCompass",
"ItemMap",
"ACE_cabletie",
"ACE_EarPlugs",
"ACE_IR_Strobe_Item",
"ACE_Flashlight_MX-991",
"ACE_HandFlare_White",
"ACE_HandFlare_Green",
"ACE_MapTools",
"ACE_Altimeter",
"ACE_microDAGR",
"ACE_SpareBarrel",
"ACE_EntrenchingTool",
"ACE_wirecutter"


]] call ace_arsenal_fnc_initBox;

 

I try to group items as best I can for my personal reference but it's best that you plan it all out in a txt document before hand. It's a weird list of items I know but i cut it down to best show what I was working with. My full one spans like 300 lines :P

  • Like 1

Share this post


Link to post
Share on other sites

You can build whitelisted ammoboxes in the editor directly, but sometimes I like to use an object with no equipment storage as my ammobox. In that case, I'll build an ammobox as usual, name it "ammobox", then run this in the debug console (no need to play mission):

_stuff = [];
_functions = [BIS_fnc_getVirtualBackpackCargo,BIS_fnc_getVirtualItemCargo,BIS_fnc_getVirtualMagazineCargo,BIS_fnc_getVirtualWeaponCargo];
{
    _things = ammobox call _x;
    _stuff = _stuff + _things;
} forEach _functions;
_init = format ["[this,%1] call ace_arsenal_fnc_initBox;",_stuff];
copyToClipboard _init;

Output is:

[this,[<array of whitelisted items>]] call ace_arsenal_fnc_initBox;

which you might recognize from TheCr8rMaker's response above, and which can be placed in the init of any desired object.

 

*edit* - You'll need to add "ACE_SpareBarrel" manually, as it doesn't appear normally in the arsenal.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×