* Fix error in setupExplosive with CBA 3.8.0
getFov has a param check now, this function was passing args to it and causing an error.
* Fix getFov call in attach and viewDistance modules
* Remove unnecessary itemInfo check in scanConfig
I got the best tests folks, believe me, the best.
I made sure this didn't break anything by making sure the array had the same number of elements before and after removing those, best tests folks.
* Change onSelChangedLeft to use global variant of addWeapon and addBackpack
Fix a possible locality issue when opening ace arsenal on other players.
* Initial commit
* Add/remove items and switching between categories
* Add ability to change mode
* Save attribute and clear button
* Search bar and double click to toggle
* Add export button
* Add attribute init function
* Fix multiple selection with different items
* Correct bad code and remove unneeded include
* Update stringtable.xml
From common pbo whitelist (modified) and a3 stringtables
* Disable attribute on humans
* Move includes to top
ref #6407
* Optimize and cleanup interactEH function
* Add missing fences and improve formatting
* Improve cutDownFence function
* Remove unused sound files and cleanup
* Multi-line condition and fix examples
* Increase PFH delay and use distanceSqr
* Fix wrong order shown in addon category list
Just put 'ACE' at begin
* Typo
* Add/Fix: arsenal, nightvision and others.
common, explosives, maverick, gforces, pylons, hearing, marksers, repair,
flashlights, nametags, interaction, vehicles, medical_menu, medical_ai,
interact_menu, medical
* Add: Now findUnloadPosition support also cargo object
- use of ace_cargo_fnc_getSizeItem to determine size of item
- prefer the config way instead of manually set size
- This will also take into account object manually added to the cargo system with ace_cargo_fnc_setsize
- use the cargo object for ace_cargo_fnc_unloadItem.
* FIX: old work around
* FIX: error when cargo module is not loaded
* As suggested by @orbis2358
This fix handle the case when cargo module is not loaded for scheduled and unscheduled environnement.
* Use ACE framework to check if module is present
* FIX: EFUNC and isEqualto
- _itemSize here is always number
- here we are in common module (addons/common/functions/fnc_findUnloadPosition) so FUNC is ace_common_fnc
* FIX case where config value is `-1`
- if the config value is -1, get the `ace_cargo_size` from the `ace_cargo_fnc_getSizeItem
-
https://github.com/acemod/ACE3/issues/6357#issuecomment-393525374
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
- decrease check frequency from each frame to 1 per second
- simplify some math
- remove some very redundant parenthesis
- re-formated if control structure for readability
- use more appropriate skillFinal
- macro to change check delay, set to 0 in debug mode for debug line drawing
* New Toggle NVG ui and improve function
* Add Toggle Flashlights icon
* New Toggle Flashlights ui and improve function
* Stringtable changes and ace_ai postInit clean up
* TRACE fix and stringtable capitalization
* Repair - Disable repair on ERA/Slat armor
Disable "miscRepair" action for all era and slat armor hitpoints.
Can still be repaired via "Full Repair"
* Minor perf improvment
* Add hitpoint names for 1.82 comTurret/gun
* Fix russian translations
* Compile stats on preInit
* Remove uneeded check in add/removeStat
* Remove perf profiler vars
They aren't required anymore
* Fix case issue in verifyLoadout, remove uneeded line
* Fix ace arsenal cam not working porperly underwater
By removing those checks the cam is allowed to clip through objects and work properly underwater, sounds like features to me :D
* Fix gunbag behavior in ace arsenal
Switching between gunbags will keep the weapon, switching to another backpack then back to a gunbag will also keep the weapon.
* Fix text scaling in the searchbars and loadout name edit boxes
Also made the text bigger by default
Slideshow Action names would not be named on clients because counting was only done on the server, this would result in all actions on one object showing up in the same slideshow set
From what I can see goggles are all handled locally and do not need to be globally enabled/disabled. If a group wants to force the setting, CBA provides optional force functionality.
* Fix the camera on remote units ending after ace arsenal closes
* Shorten handleStats, fix error with face, voice, insignia tabs
* Remove uneccessary code
You saw nothiiiiing.
* Add Flip and Push actions to Quad Bike
* Add actions to karts and static weapons
* Move magic number to macro
* Ditch here is
* Move condition to function
* Hide some of the ballistic stats if config value not defined
ACE_magMuzzleVelocity
ACE_bulletMass
ACE_ballisticCoef
* Add vertical and horizontal scope limits stats
* Add test class
* Add stats mockup
* Merge branch 'master' of https://github.com/acemod/ACE3 into arsenalStats
* Finish mockup, add basic hide/show logic
* Add base for stats
* Use CBA EHs for stats to allow 3rd party mods of it
* Add handleStats and most of the UI behaviors for stats
* Continue work on stats
* Add container stats
* Add page support for stats
* Add text for the ROF stat
* Add accuracy in MOA for the accuracy stat
* Change accuracy shown number to 1 decimal instead of 2
* Add MIL in the dispersion stat text
* Change stats layout, remove dummy text strings
* Add some AB stats
* Remove last test string
* Replace configExtremes by normal lookup where it's relevant
* Add "undefined value" string when AB stat isn't present
Mostly for laucnhers
* Fix typo in preInit
* Change drag model stat to ballistic coef
* Fix issue with unused stats, change text to white when bar is present
* Rewrite some part of handleStats
Reason: add support for conditions, less redundant code, less reasons for dedmen to emasculate me
* Re-add _hideUnusedFnc, handle empty stats arrays
* Pass args to stat conditions, add test condition stat
* Add hearing related stats
* Remove the padding between stats and the stat bar / text
* Add strings for stats
* Change stats window to fit baer's suggestion
* Algin the close stats button, add missing strings
* Finish code review
* Add missing newline
* Remove duplicate strings
* Add explosive range stat
* Use proper string for the explo range stat
* Fix capitalization for ctrlParent
* Fix conditional stats blocking other stats
* Add better integration for ballistics, hearing and explosive stats
* Replace the private array in handleStat by params
* Add backblast stats
* Add backblast stat strings
* Add flashlight map color and g-force reduction stats
* Shorten preInit
* Change stats close button to fit arsenal design
* Improve stats page indicator look
* Rework how stats are stored and retrieved
* Remove args config entry, add priority entry, add vanilla weapon stats
* Add vanilla container stats
* Remove some lines in preInit
* Add ballistics stats
* Add hearing stats
* Remove uneeded config entries
* Add explosive range stat
* Add backblast stats
* Add spaces after semicolons in statements
To make JJ happy because I don't care.
* Add flashlights map color stat
* Add gforce reduction stat
FINALLY FUCKING DONE
* Fix headers for the new stats funcs
* Add add / remove stat API
* Fix typo in removeStat header
* Remove uneeded inline func
* Clean up add / remove stat
* Move all CfgACEArsenalStats entries to their own file
* Replace STR_ACE_Ballistics_statAmmo by a BI string
* Add script profiler related macro and code
* Use the highest ballistic coef instead of first one defined
* Add support for future ammo displayname
* Add ACE_standardAtmosphere for ballistic coef
* Add mag muzzle velocity stat
* Add weapon muzzle velocity stat
* Add comment explaining the ENABLE_PERF_PROFILING macro
* Change cfgACEArsenalStats to ACE_Arsenal_Stats
* Make JJ less pissy about spaces around =
* Fix indentation in weaponMuzzleVelocity, use param
* Use GVAR and EGVAR when appropriate
* Prefix all stats except the base class
* Fix Merge
* Fix aspect ratio scaling of stats panel
* Minor fixes
* Pylons - Fix old weapons not being removed
Fix #6088
- Use removeWeaponTurret instead of removeWeaponGlobal
- Fix "Too Far" warning showing on completion
* Fix _x
* Fix var name
Co-Authored-By: Ozan Eğitmen <ozanegitmen@gmail.com>
* Disable anim previews when center isn't the player
* Abuse configs to change the edit loadout 3DEN entry
* Remove inheriting as it's not needed
* Remove uneeded condition
* Add zeus modules for ACE Arsenal, revert old arsenal modules
* Add 3 new arsenal EHs
* Add a setting to disable the identity tabs in ace arsenal
* Pass loadoutName in the onloadoutLoad EH
* Change foreach to forEach and ctrlcommit to ctrlCommit
* Resize the right window when the load bar isn't there
* Add a tooltip for the "clear container" button
* Improve onKeyDown, add classname copying using ctrl+c