Page MenuHomeFeedback Tracker

Exporting Arsenal inventory to CfgRespawnInventory issues.
New, NormalPublic

Description

Attempting to export an Arsenal inventory to a config (using the hotkey) ends up missing weapon attachments.
In addition, the uniform is exported with the wrong config name. It gets exported as uniform = "classname", BIS_fnc_loadInventory ends up searching for uniformClass = "classname" instead, resulting in missing uniforms if not manually corrected.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
1607
Category
Inventory
Steps To Reproduce
  1. Open the Virtual Arsenal from the main menu
  2. Create a loadout that includes weapon attachments
  3. Export that loadout using the export to config hotkey (Ctrl+Shift+C)
  4. Paste that loadout into your text editor of choice.
  5. Note the lack of weapon attachments in linkedItems[].
  6. Note the incorrect class of the unit's uniform. ((uniform = "") instead of (uniformClass = ""))
Additional Information

Additionally, exporting to config class loses detail of the unit's loadout compared to exporting to script. Primarily the detail of where items and magazines are stored on the unit is lost. Exporting to script preserves the initial locations and adds them back using addItemToUniform/addItemToVest/addItemToBackpack. Exporting to config simply ends up with one big items class, placing items back on the unit starting from the uniform.

Event Timeline