* add keybind and function to unload unit's weapon/muzzle
- add keybind and function to unload unit's weapon/muzzle
- requires https://github.com/CBATeam/CBA_A3/pull/1527
* change function name
* rename the file too
* Create common-framework.md
* Set REQUIRED_CBA_VERSION to 3.15.7
* Update required CBA version
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Apply suggestions from code review
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
- Add stackable wound handler system for easy 3rd party extensibility and overriding of default wound handler.
- Change mapping from wound type -> damage types, to damage type -> wound types. Improves the semantics and makes configuration easier to reason about.
- Allow damage types to influence wound properties (bleed, size, etc.) with configurable variance parameters.
- Allow configuration of wound type variance per damage type. Enabling more logically driven variance for sensible but still varied end results.
- Improve handling of non-selection-specific damage events. The wound handler now receives all incoming damages and may apply damage to multiple selections (previously only ever one) if the damage type is not configured to be selection specific (with new config property `selectionSpecific`).
- Add debug script for testing explosion damage events at varied ranges.
- Add custom fire wound handler.
* Rename can be disabled on object level
- Added ability to stop renaming on object level
_Needs testing_
* Fixed extra ()
* Forgot one of the )
* Update cargo-framework.md
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* move overheating cookoff into separate function
* move heatCoef and require mission restart for setting change
- move heatCoef to a more sensible place
- require mission restart for heatCoef setting change (it gets cached per ammo type)
* add exit to ammo temp loop if cookoffCoef is changed to 0 mid-mission
- add exit to ammo temp loop if cookoffCoef is changed to 0 mid-mission, this prevents an issue where all weapon cookoff regardless of temp, because required temp gets multiplied by cookoffCoef which has been set to 0.
* file end new line
* update header for ace_overheating_fnc_cookoffWeapon
* use ambientTemperature as floor for weapon and ammo temp
* add coolingCoef setting
* improve feature documentation
* add fnc_cookoffWeapon to XEH_PREP
* add type of jam to ace_weaponJammed local event
- add type of jam to ace_weaponJammed local event
- fix#8637
* fix misspelling
Co-authored-by: TyroneMF <TyroneMF@hotmail.com>
* clear all weapon heat on death
* Update addons/overheating/functions/fnc_updateTemperature.sqf
Co-authored-by: GhostIsSpooky <69561145+Salluci@users.noreply.github.com>
* deprecate ace_overheating_fnc_getBarrelMass, cache weapon bolt and barrel mass values
- cache closed bolt value by moving config look up to ace_overheating_fnc_getWeaponData
- cache barrel mass value by moving calculation from ace_overheating_fnc_getBarrelMass to ace_overheating_fnc_getWeaponData
- deprecate ace_overheating_fnc_getBarrelMass to be a wrapper for ace_overheating_fnc_getWeaponData that only returns barrel mass
* add public functions to get and set weapon and ammo temperature
* add `canCoolWeaponWithItem` function, workaround for #8657
* Apply suggestions from code review
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* add coef setting for addition heat from suppressor
* Update fnc_overheat.sqf
* improve fnc_canCoolWeaponWithItem
* remove extra (
* Move canCoolWeaponWithItem action code to function
* Use hashmaps and reset on settings change
* Apply suggestions from code review
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: TyroneMF <TyroneMF@hotmail.com>
Co-authored-by: GhostIsSpooky <69561145+Salluci@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
* Add ACEREP #00011
* Apply suggestions from code review
Co-authored-by: jonpas <jonpas33@gmail.com>
* Improve vehicle damage paragraph
* Add Oxford comma
* Add link to towing video
Co-authored-by: Jo David <github@jonathandavid.de>
* Reduce image size
* Mention biggest update in two years
* Apply suggestion from code review
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: Jo David <github@jonathandavid.de>