Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arsenal - Add/Fix/Improve/Change numerous aspects #9040

Merged
merged 27 commits into from
Jul 21, 2023

Commits on Sep 18, 2022

  1. Arsenal update

    johnb432 committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    df30333 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Fixes

    johnb432 committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    aef50dd View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    d7ea428 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Configuration menu
    Copy the full SHA
    75d8cc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b89b8f View commit details
    Browse the repository at this point in the history
  3. Header fixes

    johnb432 committed May 19, 2023
    Configuration menu
    Copy the full SHA
    652de70 View commit details
    Browse the repository at this point in the history
  4. Fix for defines.hpp

    Co-authored-by: Dystopian <sddex@ya.ru>
    johnb432 and Dystopian authored May 19, 2023
    Configuration menu
    Copy the full SHA
    4597b27 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Configuration menu
    Copy the full SHA
    40a1217 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2023

  1. Configuration menu
    Copy the full SHA
    4c9eb8b View commit details
    Browse the repository at this point in the history
  2. Update addons/arsenal/functions/fnc_scanConfig.sqf

    Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
    johnb432 and LinkIsGrim authored Jun 24, 2023
    Configuration menu
    Copy the full SHA
    ca063f4 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2023

  1. Fixes and tweaks

    - Sorting is guaranteed to give a fixed order
    - Dog tags no longer throw errors when reloading the ACE arsenal mission when you had some saved in your loadout before quitting the last time you played.
    johnb432 committed Jun 25, 2023
    Configuration menu
    Copy the full SHA
    f329fe1 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2023

  1. Cleanup, bug fixes and additions

    - Added the ability to add items from "CfgMagazines" into the "Misc. items" or custom tabs.
    - Added "baseWeapon" class support for weapon attachments. If a weapon attachment has the config property "baseWeapon" defined, it will take that item and show that in the arsenal.
    - Added stronger filtering on item scopes (scope > 0 at least for every item)
    - Added "descending" (default, as it is now) and "ascending" sort order as a drop down menu,
    - Unique backpacks in containers can now be removed with either the "-" or "clear all items" button.
    - When sorting by a number, 2 decimal points have been added, so that when you sort by weight it returns the correct order.
    johnb432 committed Jul 1, 2023
    Configuration menu
    Copy the full SHA
    6d8549d View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2023

  1. More fixes and tweaks

    - Converted the arsenal to partially work with hashmaps instead of arrays (for configItems and virtualItems, currentItems is still an array).
    - Because of the above, performance of FUNC(addVirtualItems) and FUNC(removeVirtualItems) has improved immensely.
    - Sorting now caches results, reducing repeated sorting times drastically.
    - CBA disposable launchers are handled differently now: Within the arsenal, you can change weapon attachments on disposable launchers, but you can't change their magazines (primary or secondary). Item info on the right and the stats show correct information.
    - FUNC(addSort) now checks if the new sorting method already exists and doesn't add it if it does.
    - FUNC(removeSort) now exists. You can't remove the default sort type (alphabetically) to avoid problems with the arsenal.
    - Both FUNC(addStat) and FUNC(compileStats) actually taken priority into account now. Because of that priority on several stats needed to be tweaked.
    - FUNC(removeStat) ensures that there are no gaps within the stat array (so if there is an empty spot in the stats page, it's because there is a stat, but the condition for it being shown hasn't been met).
    johnb432 committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    8a4a08f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d6647b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdf8bca View commit details
    Browse the repository at this point in the history
  4. Update fnc_scanConfig.sqf

    johnb432 committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    dbdba9a View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Update docs/wiki/framework/arsenal-framework.md

    Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
    johnb432 and LinkIsGrim authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    4561ccd View commit details
    Browse the repository at this point in the history
  2. Minor cleanup

    johnb432 committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    fa48fef View commit details
    Browse the repository at this point in the history
  3. Baseweapon filtering

    johnb432 committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    98a9c82 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    13357de View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Configuration menu
    Copy the full SHA
    1b189e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. Update fnc_onSelChangedLeft.sqf

    Fixed: Switching between weapons with incompatible primary magazines while a compatible secondary magazine is loaded doesn't equip the new weapon's primary magazine.
    johnb432 committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    3507da0 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Configuration menu
    Copy the full SHA
    2903d4b View commit details
    Browse the repository at this point in the history
  2. Update addons/common/functions/fnc_uniqueUnitItems.sqf

    Co-authored-by: PabstMirror <pabstmirror@gmail.com>
    johnb432 and PabstMirror authored Jul 16, 2023
    Configuration menu
    Copy the full SHA
    93cba2b View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. undefined variable

    Co-authored-by: PabstMirror <pabstmirror@gmail.com>
    LinkIsGrim and PabstMirror authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    539df03 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. fix undefined loadout var

    LinkIsGrim authored Jul 21, 2023
    Configuration menu
    Copy the full SHA
    17450ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fac03f0 View commit details
    Browse the repository at this point in the history