Arma 3 Virtual Arsenal Init

Arma 3 is an open world military simulation game. It provides you access to a wide variety of military equipment. From dozens of different weapons to cars, tanks, jets and there’s even an aircraft carrier. Basically you can say that Arma 3 gives you access to pretty much every aspect of militarized combat there is.

  1. Arma 3 Virtual Arsenal Initiative
  1. box, true call acearsenalfncremoveBox. ACE Arsenal has 2 new config entries for items: acearsenalhide: 0(shown) or 1 (hidden), used to hide items from ACE Arsenal or -1 (forced show), for vehicle magazines. AcearsenaluniqueBase: Class name of the item that ACE Arsenal will replace it with when saving a loadout.
  2. Enjoy this new issue of the COMRAD for a recap of some of the best stuff that happened in the Arma 3 community in the last month. October 8, 2020 ARMA 3 CREATOR DLC: CSLA IRON CURTAIN IS COMING SOON. The second Creator DLC will add the Czechoslovak People's Army and more 1980s Cold War content to Arma 3. September 22, 2020 COMMUNITY PROFILE #33.
  3. Start Arma 3 with all of MC’s add-ons enabled. Then navigate yourself to the Multiplayer tab in the main menu. Click Host Server and set Host to LAN: In the next menu, find the framework missions by selecting Altis as map, and then selecting mcfw.Altis in green color. Now click the 3D Editor button on bottom right. Arma will load the.
  4. This mod for the Arma 3 game allows you to use the Virtual Arsenal anywhere. Later versions of this mod will most likely use an alternative method to access the arsenal. For the moment you can access the arsenal by pressing the 'U' KEY. Installation: Extract into the ArmA 3 Directory, by default this is located in.
BI functions and variables from BI Virtual Arsenal DO NOT apply to ACE Arsenal!

Units and objects that can have ACE Arsenal added to them will be called 'Boxes' in this documentation.

_box being the object you wish to add ACE Arsenal to. (or this when called from the box’s init field)

1. Virtual items

1.1 Adding virtual items

Init

ace_arsenal_fnc_addVirtualItems

Passing an array of strings (class names) will add each one of those items to the specified box, passing true will add ALL items that are compatible with ACE Arsenal (the sorting is done on game startup).

Examples:

  • [_box, ['item1', 'item2', 'itemN']] call ace_arsenal_fnc_addVirtualItems
  • [_box, true, false] call ace_arsenal_fnc_addVirtualItems

1.2 Removing virtual items

Like adding virtual items, passing an array of string (class names) will remove each ones of those items, however passing true will remove all virtual items and also remove the interaction to access ACE Arsenal.

Examples:

  • [_box, ['item1', 'item2', 'itemN']] call ace_arsenal_fnc_removeVirtualItems
  • [_box, true, false] call ace_arsenal_fnc_removeVirtualItems

1.3 Arsenal only with items from default loadouts (See section 4)

Built upon the function of section 1.1, this can be used to make an Arsenal only with the items from your precreated loadouts. This is the best choice if you do not want to make a full arsenal available to have your Loadouts spawnable.

Examples:

For a new Box: - [_box, ['item1', 'item2', 'itemN']] call ace_arsenal_fnc_initBox

For an existing Box: - [_box, ['item1', 'item2', 'itemN']] call ace_arsenal_fnc_addVirtualItems

2. Access to ACE Arsenal

2.1 Adding ACE Arsenal to a box

ace_arsenal_fnc_initBox

This will add the virtual items passed as arguments and add an ACE interaction to open ACE Arsenal.

Examples:

  • [_box, ['MyItem1', 'MyItem2', 'MyItemN']] call ace_arsenal_fnc_initBox
  • [_box, true] call ace_arsenal_fnc_initBox
  • [_box, false, false] call ace_arsenal_fnc_initBox

Passing an empty array or false will still add an interaction but no additional virtual items will be added.
Please note that at least one virtual item needs to be added otherwise ACE Arsenal will not open.

if you wish to open a full ACE Arsenal on yourself or open ACE Arsenal via a custom action you can use ace_arsenal_fnc_openBox.

ace_arsenal_fnc_openBox

Examples:

  • [_box, player] call ace_arsenal_fnc_openBox
  • [player, player, true] call ace_arsenal_fnc_openBox

In the second example a full ACE Arsenal will be opened on the player.

2.2 Removing the ACE Arsenal interaction

In order to remove the ACE interaction added by ace_arsenal_fnc_initBox you need to either use ace_arsenal_fnc_removeBox or remove all virtual items, since we saw how to remove all virtual items above we’ll be focusing on ace_arsenal_fnc_removeBox.

ace_arsenal_fnc_removeBox

Example:
[_box, true] call ace_arsenal_fnc_removeBox

3. Config entries

ACE Arsenal has 2 new config entries for items:

  • ace_arsenal_hide: 0(shown) or 1 (hidden), used to hide items from ACE Arsenal or -1 (forced show), for vehicle magazines.
  • ace_arsenal_uniqueBase: Class name of the item that ACE Arsenal will replace it with when saving a loadout.

Both of them are optional.

4. Default loadouts

4.1 Adding default loadouts via 3DEN

While in 3DEN you have the ability to save default loadouts in ACE Arsenal, doing so will make the saved loadouts available to all players (those loadouts are still subject to loadout verification). To do so:

  • Open ACE Arsenal in 3DEN by editing a unit’s loadout.
  • Click on the “Loadouts” tab.
  • Click on the “Default Loadouts” tab.
  • Enter a loadout name and save.

This loadout list can be exported to the clipboard by using Shift. + LMB. on the export button, doing the same on the import button will import the list currently in the clipboard.

4.2 Adding default loadouts via script

Since 3.13.0, you can also add default loadouts with the ace_arsenal_fnc_addDefaultLoadout function.

Example: ['Squad Leader', getUnitLoadout sql1] call ace_arsenal_fnc_addDefaultLoadout

If a loadout with the same name exists, it will be overwritten.

5. Stats

ACE Arsenal stats are customizable, this will show you how.

5.1 Adding stats via config

The arguments passed to the bar, text and condition statements are:

  • The stats array <ARRAY of STRINGS>
  • The config entry of the weapon <CONFIG>

5.2 Adding stats via a function

To add a stat simply call ace_arsenal_fnc_addStat

5.3 Removing stats via a function

Removing a stat is as simple as adding one, call ace_arsenal_fnc_removeStat

Stats IDs are unique, IDs are generated as follows:

Class + side + tab

For example: testClassL03

  • Class: testClass
  • Side: L for the left panel
  • Tab: 03 for the 3rd tab

For config added stats the classname is used, for function added ones the string provided is used.

5.4 Stat tab numbers

Left tabs:

IndexName
0Primary
1Handgun
2Launcher
3Uniform
4Vests
5Backpacks
6Headgear
7Goggles
8NVGs
9Binoculars
10Map
11GPS
12Radio
13Compass
14Watch

Right tabs:

IndexName
0Optics
1Side accs
2Muzzle
3Bipod
4Mag
5Throw
6Put
7Misc

6. Eventhandlers

All are local.

Arsenal

Arma 3 Virtual Arsenal Initiative

NameArgumentsAdded in
ace_arsenal_displayOpenedArsenal display (DISPLAY)
ace_arsenal_displayClosedNone
ace_arsenal_leftPanelFilledArsenal display (DISPLAY), current left panel IDC (SCALAR), current right panel IDC (SCALAR)
ace_arsenal_rightPanelFilledArsenal display (DISPLAY), current left panel IDC (SCALAR), current right panel IDC (SCALAR)
ace_arsenal_onLoadoutSaveLoadout index (SCALAR), [loadout name (STRING), loadout data (ARRAY)]
ace_arsenal_onLoadoutLoadloadout data (ARRAY), loadout name (STRING)
ace_arsenal_loadoutSharedLoadouts list listnBox control (CONTROL), [loadout author (STRING), loadout name (STRING), loadout data (ARRAY)]
ace_arsenal_loadoutUnsharedLoadouts list listnBox control (CONTROL), loadout name (STRING)
ace_arsenal_cargoChangedArsenal display (DISPLAY), item (STRING), add or remove (BOOL), shiftState (BOOL)
ace_arsenal_loadoutImportedArsenal display (DISPLAY), (import list (BOOL)
ace_arsenal_loadoutExportedArsenal display (DISPLAY), export list (BOOL)
ace_arsenal_loadoutsDisplayOpenedloadouts screen display (DISPLAY)3.12.3
ace_arsenal_loadoutsDisplayClosedNone3.12.3
ace_arsenal_loadoutsTabChangedloadouts screen display (DISPLAY), tab control (CONTROL)3.12.3
ace_arsenal_loadoutsListFilledloadouts screen display (DISPLAY), tab control (CONTROL)3.12.3