Skip to content

Conversation

@mharis001
Copy link
Member

When merged this pull request will:

  • Add a "weapon specific items" mode, Close Feature Request: Zeus Container Ammo Filter #490
    • Can be accessed by clicking the weapon specific items button at the bottom or by double clicking a weapon in the list
    • Shows only items/magazines compatible with the selected weapon
    • Add common isWeapon function
  • Add different sorting options to the items list
    • Can now be sorted by name or amount and in ascending or descending order
    • Add common initListNBoxSorting function
  • Allow for items to be added 1, 5, 10, or 50 at a time using the SHIFT and CTRL keys
  • Allow for items to be searched by class name using the class prefix (like 3DEN asset browser search)
  • Perform misc. code cleanup such as removing magic numbers on the inventory component
Images

inventory_1

inventory_2

@mharis001 mharis001 added the enhancement Improves an existing feature label Jan 9, 2021
@mharis001 mharis001 added this to the 1.10.0 milestone Jan 9, 2021
@fire-391
Copy link

Can this also work with ACE's CSW? As it is now mortar rounds and ammo cans can only be added to an inventory by finding the class name and adding it via scripting in 3den. Or spawning one in with Zeus which creates a huge pile on the ground and loading them in by hand.

Copy link
Contributor

@neilzar neilzar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to see the weapon editor expanded to create a weapon with attachments, so not placing all the items in the inventory separately. Can be achieved with the command 'addWeaponWithAttachmentsCargoGlobal'.

@Kexanone
Copy link
Member

I would like to see the weapon editor expanded to create a weapon with attachments, so not placing all the items in the inventory separately. Can be achieved with the command 'addWeaponWithAttachmentsCargoGlobal'.

If we want to provide a convoluted interface, we might as well add an import/export function to save the time spent to get the loadouts right, but this might be out of the scope for this particular PR. We can keep it as it is for now and add more features later on.

Copy link
Contributor

@neilzar neilzar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to provide a convoluted interface, we might as well add an import/export function to save the time spent to get the loadouts right, but this might be out of the scope for this particular PR. We can keep it as it is for now and add more features later on.

Yea, I do agree it is out of scope a bit. I'll approve since I didn't find any issues.

@mharis001
Copy link
Member Author

@fire-391 ACE CSW deals with vehicle weapons. The weapon specific items UI in this PR is meant to work with infantry weapons.

@mharis001 mharis001 merged commit d18f89a into master Jan 22, 2021
@mharis001 mharis001 deleted the inventory-improvements branch January 22, 2021 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improves an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Zeus Container Ammo Filter

6 participants