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.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Operating System Version
- 1607
- Category
- Inventory
Steps To Reproduce
- Open the Virtual Arsenal from the main menu
- Create a loadout that includes weapon attachments
- Export that loadout using the export to config hotkey (Ctrl+Shift+C)
- Paste that loadout into your text editor of choice.
- Note the lack of weapon attachments in linkedItems[].
- 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.