ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Arsenal - Native baseWeapon support for CBA items

Open LinkIsGrim opened this issue 1 year ago • 0 comments

When merged this pull request will:

  • Add baseWeapon support to all attachments using CBA systems by default.
  • Add functions for getting base optic/attachment of an item.
  • Close #9384
  • Add support for preset backpacks (used as loaded backpacks for units) to the arsenal. They will be saved, loaded and verified as their player-accessible counterparts.
  • Close #8252

TODO:

  • [ ] Re-verify if base backpack is part of arsenal in FUNC(verifyLoadout)
  • [ ] Handle the equipped backpack being a preset class in FUNC(replaceUniqueItemsLoadout)

Adapted from https://github.com/Theseus-Aegis/Mods/blob/master/addons/armory/functions/fnc_getBaseVariant.sqf

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

LinkIsGrim avatar Feb 13 '24 02:02 LinkIsGrim