ACE3/addons
Josuan Albin 1d6e07d18f Add ACE Arsenal stats (#6110)
* 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
2018-02-15 10:03:22 -06:00
..
advanced_ballistics Chinese Language Update (#6130) 2018-02-07 15:15:15 -06:00
advanced_fatigue Add slider settings (#5920) 2017-12-16 11:51:15 -06:00
advanced_throwing Advanced Throwing - Disable when controlling UAV (#6092) 2018-01-30 10:54:34 -06:00
ai korean translation (#5730) 2017-11-06 15:54:35 -06:00
aircraft Aircraft - Disable scripted eject if vehicle is locked (#6096) 2018-02-04 12:47:54 +01:00
apl Replace UI icons with vanilla/common ones (#5532) 2017-09-21 16:22:28 +02:00
arsenal Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
atragmx ATagMX - Allow one decimal place for the bullet mass (in grams) (#6041) 2018-01-10 19:44:53 +01:00
attach Make attach/detach hint look uniform (#5900) 2017-12-16 16:20:43 +01:00
backpacks Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
ballistics Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
captives korean translate 3.12.x (#6071) 2018-01-28 15:42:32 -06:00
cargo Change cargo menu to look better (#6112) 2018-02-01 16:41:56 -06:00
chemlights Add ACE_Arsenal (#5734) 2017-12-07 08:48:10 +01:00
common Map - Add Camping Light support (#6087) 2018-02-13 13:27:57 -06:00
concertina_wire Block adv. throwing when player is busy (#5534) 2017-12-07 11:26:21 -06:00
cookoff Chinese Language Update (#6130) 2018-02-07 15:15:15 -06:00
dagr Add / Fix missing author entries (#5763) 2017-11-13 16:54:34 -06:00
disarming Refactor private ARRAY to private keyword (#5598) 2017-10-10 09:39:59 -05:00
disposable Replace UI icons with vanilla/common ones (#5532) 2017-09-21 16:22:28 +02:00
dogtags Update Japanese translation (#5891) 2017-12-12 17:17:51 +01:00
dragging Block adv. throwing when player is busy (#5534) 2017-12-07 11:26:21 -06:00
explosives Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
fastroping Fix FRIES being applied when attribute unchecked (#5926) 2017-12-18 17:30:36 +01:00
fcs Refactor private ARRAY to private keyword (#5598) 2017-10-10 09:39:59 -05:00
finger [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
flashlights Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
flashsuppressors Correct new Chinese stringtable identifiers (#5334) 2017-07-10 16:47:26 +02:00
fonts Cleanup (#5463) 2017-08-29 17:47:01 -05:00
frag Use engine command to select weighted spall size (#5985) 2017-12-28 19:08:11 -06:00
gestures Unify settings and keybinds categories (#5815) 2017-11-28 13:32:51 -06:00
gforces Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
goggles korean translate 3.12.x (#6071) 2018-01-28 15:42:32 -06:00
grenades destruction vs effect 2017-12-31 13:36:55 +01:00
gunbag Correct new Chinese stringtable identifiers (#5334) 2017-07-10 16:47:26 +02:00
hearing Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
hellfire Decrease direct hit damage done by AGM-114N (#6121) 2018-02-08 12:32:01 -06:00
hitreactions [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
huntir HuntIR - Register as a feature cam (block NVG border) (#6138) 2018-02-10 03:31:38 +01:00
interact_menu Use common icon function for vehicle actions (#5923) 2017-12-20 14:30:50 -06:00
interaction Interaction - Fix div0 error in getVehiclePos (#6139) 2018-02-09 21:45:21 -06:00
inventory Update Chinese stringtable content (#5637) 2017-10-18 12:01:29 -05:00
javelin Correct new Chinese stringtable identifiers (#5334) 2017-07-10 16:47:26 +02:00
kestrel4500 Weather - Major Cleanup (#5710) 2017-11-10 15:44:15 +01:00
laser Laser - Reset hud when exiting UAV (#5947) 2017-12-21 16:49:48 -06:00
laserpointer Add category for laserpointer and reload settings (#5879) 2017-12-10 14:57:17 -06:00
logistics_uavbattery Update Japanese translation (#5891) 2017-12-12 17:17:51 +01:00
logistics_wirecutter Update Japanese translation (#5891) 2017-12-12 17:17:51 +01:00
magazinerepack korean translate 3.12.x (#6071) 2018-01-28 15:42:32 -06:00
main Prepare release 3.12.1 (build 2) 2018-01-15 21:35:34 +01:00
map [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
map_gestures overhaul movable markers (#5922) 2018-01-05 18:55:00 +01:00
maptools Settings - Added more categories (#5771) 2017-11-15 20:10:20 +01:00
markers Chinese Language Update (#6130) 2018-02-07 15:15:15 -06:00
maverick Chinese Language Update (#6130) 2018-02-07 15:15:15 -06:00
medical Settings strings (#6136) 2018-02-13 13:30:38 -06:00
medical_ai Settings strings (#6136) 2018-02-13 13:30:38 -06:00
medical_blood Merge remote-tracking branch 'sbng/master' 2017-09-27 18:57:24 +02:00
medical_menu Settings strings (#6136) 2018-02-13 13:30:38 -06:00
microdagr [MicroDAGR] get the meters for mortars (better rangetable calcs) (#5802) 2017-11-28 13:28:42 -06:00
minedetector Fix defused UXOs being able to be defused again and detected by mine detector (#5623) 2017-10-15 13:13:16 +02:00
missileguidance Cleanup maverick (#6000) 2018-01-02 10:37:16 -06:00
missionmodules Update Chinese stringtable content (#5637) 2017-10-18 12:01:29 -05:00
mk6mortar Update Japanese translations (#5831) 2017-11-30 16:52:27 -06:00
modules Convert ACE_settings to CBA_settings (#4895) 2017-11-11 20:21:55 +01:00
movement Remove enum warnings (#5931) 2017-12-19 12:13:38 -06:00
mx2a Correct new Chinese stringtable identifiers (#5334) 2017-07-10 16:47:26 +02:00
nametags Settings strings (#6136) 2018-02-13 13:30:38 -06:00
nightvision NightVision - Add setting for shutter effects (#6134) 2018-02-10 03:31:22 +01:00
nlaw korean translation (#5730) 2017-11-06 15:54:35 -06:00
noidle Cleanup (#5463) 2017-08-29 17:47:01 -05:00
noradio Update Japanese translations (#5831) 2017-11-30 16:52:27 -06:00
norearm Cleanup (#5463) 2017-08-29 17:47:01 -05:00
optics Refactor private ARRAY to private keyword (#5598) 2017-10-10 09:39:59 -05:00
optionsmenu Show cba settings in debug button (#5978) 2017-12-26 17:43:42 -06:00
overheating Add slider settings (#5920) 2017-12-16 11:51:15 -06:00
overpressure Add ACE Arsenal stats (#6110) 2018-02-15 10:03:22 -06:00
parachute Chinese Language Update (#6130) 2018-02-07 15:15:15 -06:00
pylons Pylons - Fix old weapons not being removed (#6100) 2018-02-09 19:17:57 -06:00
quickmount QuickMount - Use correct cargo index (#5733) 2017-11-11 20:31:28 +01:00
rangecard Rangecard - Fix author string (#5759) 2017-11-13 17:18:08 +01:00
realisticnames Chinese Language Update (#6130) 2018-02-07 15:15:15 -06:00
realisticweights Update SMG_02 base class for 1.66 (#4718) 2016-12-12 19:31:52 +01:00
rearm [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
recoil Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
refuel Add slider settings (#5920) 2017-12-16 11:51:15 -06:00
reload Update Japanese translation (#5891) 2017-12-12 17:17:51 +01:00
reloadlaunchers Update Japanese translations (#5831) 2017-11-30 16:52:27 -06:00
repair Settings strings (#6136) 2018-02-13 13:30:38 -06:00
respawn Add slider settings (#5920) 2017-12-16 11:51:15 -06:00
safemode fix some Russian grammar (#5817) 2017-11-28 13:29:38 -06:00
sandbag add sandbag preview image, proper editor category (#6008) 2018-01-02 11:01:25 -06:00
scopes Scopes - Use real zero for non-adjustable scopes (#6128) 2018-02-08 12:01:41 -06:00
slideshow Revert slideshow module to scope = 2 2017-12-12 10:54:48 -05:00
smallarms Fix 5.56 Reload Tracer mags are not tracer (#5660) 2017-10-29 16:41:26 +01:00
spectator [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
spottingscope spotting scope updates (#5880) 2017-12-10 12:01:27 -06:00
switchunits [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
tacticalladder Add parentheses to GETVAR macros 2017-12-30 16:38:45 +03:00
tagging [German Translation] Update for new Settingsmenu (#6015) (#6016) 2018-02-01 12:09:11 -06:00
thermals Cleanup (#5463) 2017-08-29 17:47:01 -05:00
trenches Added config params for white/blacklisting digging (#5898) 2017-12-20 15:41:50 -06:00
tripod disable debug mode 2018-01-02 16:13:57 +01:00
ui Update Japanese translation (#5891) 2017-12-12 17:17:51 +01:00
vector Refactor private ARRAY to private keyword (#5598) 2017-10-10 09:39:59 -05:00
vehiclelock Vehicle Lock - Convert to cba settings (#6133) 2018-02-10 03:32:14 +01:00
vehicles Fix missing HE magazine for Blackfish Autocannon. (#5854) 2017-12-06 10:24:41 -06:00
viewdistance Add slider settings (#5920) 2017-12-16 11:51:15 -06:00
weaponselect weaponSelect CBA Setting (#5581) 2018-02-09 14:28:34 -06:00
weather korean translate 3.12.x (#6071) 2018-01-28 15:42:32 -06:00
winddeflection Add slider settings (#5920) 2017-12-16 11:51:15 -06:00
yardage450 Yardage 450 - Minor performance tweak (#5767) 2017-11-14 14:41:36 +01:00
zeus Add various misc improvements for ACE Arsenal (#6111) 2018-02-09 14:30:37 -06:00