* Add new strings, fix Czech M67
Czech string for M67 had a trailing space.
* Apply new strings
* Remove placeholder translations
* Fix more trailing spaces
* Make the precision of the mircoDagr less perfekt
* Add strings of precision Option to stringtabel
* Update stringtable.xml
* Create initSettings.sqf
* Update ACE_Settings.hpp
* Finally
* Cleaning
* Update initSettings.sqf
* Move other settings to sqf, simplify waypointPrecision
* Add uniqueItems function
* Optimize dogtag children actions function
* Optimize getDetonators item search
* Store CfgWeapons lookup in getDetonators
* Update items to use new function
* Update items to use new function 2
* More optimization of uniqueItems function
* Update items to use new function 3
* add the ability to edit user placed markers
* remove direct channel from valid channels
* add author
* optimize get map display
replace old method of getting the map display with displayParent
* optimize code by adding isEqualTo
* correct some spelling mistakes
* Add addDefaultLoadout function
* Initialize defaultLoadoutsList by default
* Close params bracket
* Revert "Initialize defaultLoadoutsList by default"
This reverts commit a53d21046e.
* Add isNil check
* Remove tab
* Overwrite loadout if it exists
* Fix file name typo
* Use findIf and copy array
* Add override note to header
* Make btnImport use new function instead of duplicating code
* Use GVAR
* Use findIf
* Fix spacing
* Add documentation
* Improve documentation
* Tidy handle damage code
* Fix environmental damage conditions
- Vehicle damage would never occur because it doesn't fire all the
hitpoints
- Missing sanity check on fall damage to check that unit isn't in a
vehicle
- Getting hit by a vehicle while on foot can be detected by checking for
a shooter
* Improve collision handling
- All collisions have a `_shooter` so we simply first check for that because burning doesn't and it could happen at any velocity
- We don't actually care what caused the collision because they should all cause the same type of wounding
- The exception is fall damage because we want to prioritise wounding the legs, we assume if the `_unit` had downward velocity and `_shooter == _unit` that it was fall damage (not necessarily always true, but almost always is and there doesn't look to be a more specific way to check).
* Fix medical menu not reopening regardless of setting
* Ensure no heartrate or bloodpressure on death
* Fix status variables not being reset on respawn
* Fix JIP resetting status variables for all units
* Fix heart rate adjustment overflow and
* Prevent treatment animation on dead bodies
This was causing bodies to glitch out on dedicated servers according to
feedback
* Remove patient animation logic and setting
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Update Japanese translation
* Transfer medical AI to CBA setting
* Neuter the old settings module
I've left the entry in CfgVehicles so that it doesn't cause errors on
older missions, but it's just a dumb logic now and does nothing.
* Remove medic setting
* Move increaseTraining setting
* Move fnc_adjustPainlevel to medical_status
* Move pain and bleed coefficients to medical_status
* Move advanced bandages to medical_treatment
* Move advanced medication to medical_treatment
* Move advanced diagnose to medical_treatment
* Move wound reopening and screams settings
* Move damage threshold settings
* Move showPain setting
* Move statemachine settings
* Move pain visualisation setting
* Move all treatment usage settings
* Move self IV setting
* Move remaining settings
* Sort treatment setting string categories
* 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
* Minor code clean up
* refactor(medical): shorten some code
* refactor(medical): use macros for tourniquets
* refactor(medical): pull cache expiry values into script_macros_medical
* Lower player hearing upon entering unconscious
* Fix potential for unconscious units to use radio
* Evaluate player's volume upon changing unit
* Reset player volume on death
* Remove unnecessary public variable
* 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.
Not sure of the original reason we interpolate to this ACE unconscious
animation, but removing it seemingly has no effect and fixes all the
other animations that were broken by it.
* 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
- Improvements to vitals and display
- Fixes some undeclared variables
- Adds advanced diagnose: hemorrhage classes.
- Original idea for displaying hemorrhage classes belongs to @Arcanum417
* Move scream and moan sounds to medical feedback
* Move vanilla feedback overrides to medical feedback
* Update all function calls
* Use events to avoid a dependency
* Move litter to `treatment`
* Move eden object attributes to `treatment`
* Move treatment items to `treatment`
* Move bodybag handling to `treatment`
* Move state conditions to `statemachine`
* Move radio addon handling to `feedback`
* Move medical macros to `engine`
* Move medical extension to `damage`
* Fix texture and material paths after move
* Remove duplicate medical menu config
* Remove old faction class
* Remove a bunch of old code
Units accumulate damage in the local variables
"ACE_Medical_Engine_$HitXXXX", but these are never reset. The way these
vars are used is as a single-damage-event tracker, and the end result of
not resetting their value when they're done being used is that a
specific $HitXXXX can accumulate enough damage to cause the "select
wound with highest damage" code to always select _it_ for the next wound
event, even if it wasn't the primary target of the last wound event.
I.E. I get shot in the right leg badly. If I then get winged in the left
arm, that wound will end up on my right leg, because when the code runs,
it finds QGVAR($HitRightLeg) > QGVAR($HitLeftArm), and so it applies the
wound to the right leg.
* 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
Improves the way medical is storing variables in object space by having
a common list of variables names as macros. Makes the code a bit cleaner
and ensured consistency across components. Also a handy reference for
when working on medical to see what values are all stored.
* 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
* German translation update
This updates partially the german translation for the new cba settings UI
* Fix tooltipp
Fixes the tooltipp for the safezone when switching units
* Fixes
Various fixes after review
* Missed two
Fix in stringtable for arsenal
* Gonna catch em all
Another small mistake i missed.
* Make default channel setting a list
* Convert more map settings to CBA
* Give BFT settings own category
* Remove '?' from end of setting display names
* Fix mistake of ACE_Settings removal (movedToSQF = 1)
* Move settings to initSettings.sqf
* Change backpack and scope checks in scanConfig and addVirtualItems
Reason: was not a good implementation
Might cause issue of people compalining about tents.
* Give IDC to menuBar controls, disable import button in MP
Reason: copyFromClipboard is disabled in MP
* Add tooltip strings for the loadouts, export, import menu buttons
* Remove double space in onArsenalOpen
* Adding pylon whitelist option
* Changing tabs to spaces :(
* Changing to use QGVAR
* Changing name in QGVAR to more clearly reflect function of variable
* Docs for the magazine whitelist function in pylons
* Changes to match style guide
* More docs
* More tabs
* Update pylons-framework.md
* Update pylons-framework.md
* Match case for magazines in fillRightPanel
Apparently you can have different case between the entry in the weapon magazines array and its actual configname...
* Add possible fix for the mission end bug
* Add ded's proposed fix, remove closeOnMissionEnd
CloseOnMissionEnd is bugged in 3DEN and force close the display after it's opened
* Optimise spectator loops
`count` is only quicker than `forEach` when the final command returns a
boolean or nil. `forEach` is quicker if the final command returns any
other data type.
* Use `forEach` instead of `count`
* Copy the array properly when using preStart cache in openBox
* Fix add and removeVirtualItems erroring out when passing false as arg
* Disable face, voice, and insignia tabs in 3DEN
* Move grenadeList and putList outside of foreach in scanConfig
* Fix grenadeList and putList indentation
* Change the camera handling in onArsenalClose
Fixes the camera not being focused on the player after using ACE Arsenal on an other unit outside of zeus / 3DEN.
Remove the code that moved the curatorCam near the edited unit after ACE Arsenal is closed.
* Fix message control overflowing, move width defines to defines.hpp
* Add ability to exit arsenal and not apply a loadout in 3DEN
* Add ACE3 logo to common, fix config pathing to a non existing file
* Add modifiers of TreatmentTime of PAK and Medkit to settings
* Fix indents and stringtable tags
* Fix Healtime vars
* Absolute time for PAK to settings
* Add Medkit Healtime setting
* Add search bar in loadouts screen
* Add onKeyDown support for the loadouts display
* Add ctrl+key support to both editbox in the loadouts screen
* Fix syntax error
* Add a function to port BI VA loadouts to ACE Arsenal
* Fix typos in the header
* Remove override argument, add button in 3DEN
* Add null player exception
* Remove unused passed argument
* Add error messages to portVALoadouts
* Change error messages
* Add missing dot in string