2678025917
Arsenal - Reduce tab switching times ( #10995 )
...
* Use separate caches for images
Getting DLC info takes very long. Getting mod pictures also takes some time, so avoid both if not necessary.
* Update addons/arsenal/functions/fnc_addListBoxItem.sqf
2025-07-06 10:32:50 -05:00
32c7181766
General - Make type syntax in header more consistent ( #10681 )
...
* Fix spelling and casing of types
* Fix spelling and casing
* Fix syntax of multi-types and plural of types
* POSITION -> ARRAY
* Remove implicit nil
* Fix type
* Remove optional type
* Rename BOOLEAN to BOOL
* Add helper script
* Add docs
* Remove optional
* Unify optional argument syntax
* Fix spelling of public functions
* Fix for multiple types
* Update fnc_getDelayItem.sqf
* Apply review findings
* Fix more findings
* Fix type
* Move default value after TYPE
* Do not allow for | in types and allow nested types using < >
* Fix spelling
* Improve validation of argument type for documentation
* Apply suggestions from code review
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Standardize header syntax
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2025-06-14 04:59:19 -07:00
5dd9fd76e2
Arsenal - Fix the arsenal overfill prevention function ( #10946 )
...
* Update fnc_preventOverfilling.sqf
- Added cargo removal and checking for all 3 cargo types:
- weapon
- magazine
- item
- Used `call compile format` to avoid writing 3 extremely similar loops.
Co-Authored-By: Sky <22858781+Esmeray6@users.noreply.github.com >
* Update fnc_preventOverfilling.sqf
- Switching from `call compile` to switches as I was informed switches are much faster.
Co-Authored-By: Sky <22858781+Esmeray6@users.noreply.github.com >
* Update AUTHORS.txt
- Added Redwan S. / Nomas and Sky / Esmeray6 to the list of authors as per guideline.
Co-Authored-By: Sky <22858781+Esmeray6@users.noreply.github.com >
* Update fnc_preventOverfilling.sqf
- Improved readability and also because OCD.
* Update fnc_preventOverfilling.sqf
- Added Redwan S. / Nomas & Sky / Esmeray6 to the list of function authors.
Co-Authored-By: Sky <22858781+Esmeray6@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Drofseh <Drofseh@users.noreply.github.com >
* Update fnc_preventOverfilling.sqf
- Fixed indentation as per ACE code guidelines.
* Update fnc_preventOverfilling.sqf
- Added support for backpack item type as well. Thanks to @OverlordZorn & @Andx667 for pointing it out.
* Update AUTHORS.txt
Alphabetically ordered
* Update fnc_preventOverfilling.sqf
- Moved `_cargoTypes` variable outside of loop, no need to redefine every iteration.
* Update addons/arsenal/functions/fnc_preventOverfilling.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_preventOverfilling.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: Sky <22858781+Esmeray6@users.noreply.github.com >
Co-authored-by: Drofseh <Drofseh@users.noreply.github.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2025-06-10 21:43:15 -07:00
b97b9f547a
Arsenal - Fix stats for disposable launchers and hide overpressure stats for CSW items ( #10809 )
...
* Arsenal - Fix stats for disposable launchers in 3den
* Overpressure - Hide stats for CSW items
2025-03-18 21:29:18 -03:00
755dad8390
Cleanup all Unnecessary _this
in call
( #10726 )
2025-02-06 17:29:41 -06:00
c82b51f475
Arsenal - Reuse current inventory containers when importing invalid loadouts ( #10364 )
...
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2025-02-05 04:15:34 -03:00
25381d99f2
Arsenal - Improve missing item tooltip setting ( #10623 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2025-01-05 00:14:12 -03:00
183a8d4d3e
Arsenal - Add Incomplete Loadout Tooltips ( #10572 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2025-01-04 15:58:08 -03:00
23a19f45b4
Arsenal - Add yes/no stat text, stat exists condition ( #10559 )
2024-12-16 21:35:39 -03:00
c698d28c75
Arsenal - Show DLC Requirement Image ( #10506 )
...
* arsenal dlc requirement
* fix merge, add file
* Update addons/common/functions/fnc_getDLC.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/common/functions/fnc_getDLC.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/common/functions/fnc_getDLC.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* sort and fix duplicate
* use getAssetDLCInfo
* Update addons/common/functions/fnc_getDLC.sqf
* params, header
* Update addons/common/functions/fnc_getDLC.sqf
Co-authored-by: Dart <59131299+DartRuffian@users.noreply.github.com >
* Update addons/arsenal/initSettings.inc.sqf
Co-authored-by: Dart <59131299+DartRuffian@users.noreply.github.com >
* Update addons/common/functions/fnc_getDLC.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/common/functions/fnc_getDLC.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: Dart <59131299+DartRuffian@users.noreply.github.com >
2024-11-25 22:42:33 -06:00
4bb7d3ce5f
Arsenal - Export Parent Class ( #10503 )
2024-11-14 23:01:33 -03:00
c14056e7b9
General - Cleanup trailing whitespace in config/code ( #10478 )
...
* General - Cleanup trailing whitespace
* cleanup whitespace in .cfg
2024-11-06 16:01:21 -06:00
a48755c3bc
Arsenal - Make ACE_asItem and ACE_isUnique apply to CfgWeapons ( #10366 )
...
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-11-02 19:18:51 -03:00
4c6fec374f
General - Cleanup some unused/missing vars ( #10447 )
...
* General - Cleanup some unused vars
* AI - Fix undefined var in garrisonMove
* Update lints.toml
2024-10-22 12:24:01 -05:00
d7c84607d9
General - Add private and remove some unused vars ( #10371 )
...
* General - Add private and remove some unused vars
* Update fnc_onFired.sqf
* move debug vars inside ifdef
* Update fnc_calculateMuzzleVelocity.sqf
* Update fnc_navigation.sqf
* remove airDensity from calculateMuzzleVelocity
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-10-21 12:49:33 -05:00
b82f80a043
Arsenal - Fix duplicate defines ( #10380 )
2024-10-11 00:08:02 -05:00
1efe823fc2
General - Fix some undefined variables ( #10335 )
...
* General - Fix some undefined variables
* cleanup reminders
* Fix arg to addPublicVariableEventHandler
2024-09-27 19:02:56 -05:00
8c582f1fe0
Arsenal Stats - Add support for multiline text ( #9856 )
...
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: Walthzer <19926813+Walthzer@users.noreply.github.com >
2024-09-08 21:12:43 -03:00
f090c71126
General - Fix Command Case ( #10286 )
...
* run 'hemtt utils sqf case'
* fix config as well
* fix event casing
* Update addons/towing/functions/fnc_attachRopePFH.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/refuel/functions/fnc_startNozzleInHandsPFH.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/rearm/functions/fnc_takeSuccess.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/rearm/functions/fnc_grabAmmo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setSurrendered.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handleZeusDisplayChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handlePlayerChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handlePlayerChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onArsenalOpen.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onArsenalClose.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/spectator/functions/fnc_ui.sqf
* Update addons/ui/XEH_clientInit.sqf
* Update addons/ui/functions/fnc_setElements.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/captives/functions/fnc_handleZeusDisplayChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setHandcuffed.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setHandcuffed.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setSurrendered.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/common/functions/fnc_displayTextStructured.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-09-03 11:52:33 -05:00
043b3907fe
Extensions - Rust ( #9015 )
...
Co-authored-by: Pepijn Holster <pgaholster@gmail.com >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: LorenLuke <LukeLLL@aol.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-08-17 12:50:38 -03:00
8dbad08838
Arsenal - Fix modParams
printing messages in RPT ( #10213 )
...
Fix modParams printing messages in RPT
2024-08-16 10:17:57 -07:00
e36363e8cc
Arsenal - Add ace_arsenal_fnc_saveLoadout
as API to save loadouts ( #10151 )
...
* Added fnc_saveLoadout
* Changed to toLower for other languages
* GitHub didn't like editing the file in the browser
* Fix case-sensitive _loadoutIndex
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* Unicode support
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* setVariable in case no loadouts are saved
* Fix return not happening properly
* Added scripting example
* Update docs/wiki/framework/arsenal-framework.md
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-08-10 12:01:12 -07:00
1c6c4d6bff
All - Fix parentheses around code ( #10073 )
...
* Fix Brackets around code
* Update fnc_handleFired.sqf
* Shouldn't have changed this one
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-06-18 14:08:03 +00:00
898daff7f6
General - Cleanup event capitalization ( #10062 )
2024-06-11 08:00:50 -07:00
0034f4b9cc
Arsenal - Fix insignia not reapplying after switching vests & backpacks ( #10046 )
...
Fix insignia not reapplying
2024-05-29 11:40:41 -07:00
52762c1e62
Arsenal - Changes for CBA Disposable hashs ( #9998 )
...
* Arsenal - Changes for CBA Disposable hashs
* Update addons/arsenal/functions/fnc_onSelChangedRight.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onSelChangedRight.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-05-21 20:23:46 -05:00
04ac1d8808
Arsenal - Fix #9916 ( #9932 )
2024-04-06 22:04:52 -03:00
e6cc5fca89
Arsenal - Handle arrays in loadout extended info ( #9918 )
2024-04-03 19:46:26 -03:00
a72b3a43a5
Arsenal - Fix FUNC(baseAttachment)
returning non-CBA item modes ( #9916 )
...
Update fnc_baseAttachment.sqf
2024-04-03 14:53:12 -07:00
58f6430bb6
Arsenal - Revert unicode support for sorting ( #9871 )
...
Revert unicode sorting
2024-03-23 06:29:26 -07:00
3c5b46c42d
Medical - Support Magazine Treatment Items ( #9816 )
...
* count treatment items
* getCountofItem
Co-Authored-By: Blue <itzblueman@gmail.com >
* getCountofItem fix
Co-Authored-By: Blue <itzblueman@gmail.com >
* convert painkillers to magazine
* use isclass
Co-Authored-By: johnb432 <58661205+johnb432@users.noreply.github.com >
* forget to change variable
* Update addons/medical_treatment/functions/fnc_hasItem.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* better magazine adjustment
* Update addons/common/functions/fnc_adjustMagazineAmmo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/functions/fnc_medication.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/functions/fnc_treatmentFailure.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update docs/wiki/framework/arsenal-framework.md
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com >
* Update addons/common/functions/fnc_adjustMagazineAmmo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Header
* use switch statement in fnc_useItem
* Update addons/common/functions/fnc_adjustMagazineAmmo.sqf
* Update addons/common/functions/fnc_adjustMagazineAmmo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* only check adding to mags that are not full
Co-Authored-By: LinkIsGrim <salluci.lovi@gmail.com >
* Update addons/common/functions/fnc_adjustMagazineAmmo.sqf
* Update fnc_getCountOfItem.sqf
* Optimisations & header fix
* Update addons/common/functions/fnc_adjustMagazineAmmo.sqf
* Fixed vehicle implementation
---------
Co-authored-by: Blue <itzblueman@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com >
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com >
2024-03-21 22:56:24 +01:00
0dabc678f6
Arsenal - Fix faces & voices for JIP ( #9847 )
...
Update fnc_onArsenalClose.sqf
2024-03-11 03:18:02 -07:00
9bb9fae85c
Arsenal - Show load stat's actual value ( #9833 )
...
* Arsenal - Show load stat's actual value
* Update addons/arsenal/functions/fnc_statTextStatement_load.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-03-09 17:17:13 -06:00
e06c6f7835
General - Replace toLower with toLowerANSI where applicable ( #9790 )
...
* General - Replace toLower with toLowerANSI where applicable
* whoops
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
* Update addons/repair/functions/fnc_setHitPointDamage.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/repair/dev/draw_showRepairInfo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/tagging/XEH_preStart.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/vehicle_damage/functions/fnc_handleCookoff.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/tagging/XEH_preStart.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* comparment -> compartment
* Update fnc_showHud.sqf
* Update fnc_registerObjects.sqf
* Update addons/common/functions/fnc_cbaSettings_settingChanged.sqf
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-03-07 22:08:13 +01:00
64538f2ad0
Arsenal - Native baseWeapon support for CBA items ( #9799 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-03-02 14:29:20 -03:00
fd5e56ffbc
Arsenal - Improved sorting, insignia detection, identity info verification and minor cleanup ( #9795 )
...
* Changed sorting + minor cleanup
* Update addons/arsenal/functions/fnc_fillLeftPanel.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* check and log missing extended info
* fix extended loadout logging
* Made voice stuff config case
* use lowercase voice everywhere
* check loadout voice against configCase
* Update fnc_verifyLoadout.sqf
* Update addons/arsenal/functions/fnc_verifyLoadout.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_verifyLoadout.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_verifyLoadout.sqf
---------
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-02-13 11:22:27 -08:00
05a5ccd140
Arsenal - Add mod icons to editor arsenal attribute ( #9797 )
2024-02-12 15:15:48 -03:00
1e1d1d63f2
Arsenal - Add ace_arsenal_loadoutVerified
event ( #9792 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-02-11 20:25:12 -03:00
b2849aaa29
Fix filling loadouts list during preInit ( #9794 )
2024-02-11 20:21:29 -03:00
f3f9d18f55
Arsenal - Fill loadouts list over multiple frames ( #9789 )
2024-02-11 19:35:42 -03:00
bb7b05fd0d
Arsenal - Left panel code improvements ( #9787 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-02-11 19:34:24 -03:00
95ec6eb765
Arsenal - Cleanup action UI code ( #9784 )
...
* Arsenal - Cleanup action UI code
* derp
2024-02-11 19:23:44 -03:00
6928adfc72
Arsenal - Improve performance of loadout verification ( #9316 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-02-10 12:58:02 -03:00
e69ffb6f21
Arsenal Actions - Add support for multiline text & updating on cargo event ( #9771 )
...
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-02-06 20:34:52 -03:00
a3aef6a066
General - Cleanup spaces in macros ( #9769 )
...
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com >
2024-02-05 14:04:24 -03:00
6c60b67494
Arsenal - Exit refresh early if no display is found ( #9754 )
...
Co-authored-by: Mike-MF <TyroneMF@hotmail.com >
2024-02-05 10:57:22 -03:00
1e404cf85b
General - SQF Improvements ( #9698 )
...
Co-authored-by: Dystopian <sddex@ya.ru >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-02-04 14:50:24 -03:00
8d6555ad0f
Arsenal - Make face tab adhere to mod icon setting ( #9763 )
2024-02-04 14:45:23 -03:00
7e255bf05b
Tools - Fix header arg types ( #9752 )
...
Fix header arg types
2024-01-22 16:33:30 -06:00
b02d95cb91
Arsenal - Fixed stats & actions appearing when they shouldn't be ( #9737 )
2024-01-16 12:30:27 -03:00