mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 12:52:41 +00:00
1.0 KiB
1.0 KiB
layout, title, description, group, order, parent, mod, version
layout | title | description | group | order | parent | mod | version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wiki | Hearing Framework | Explains how to set-up headgear with ACE3 hearing system. | framework | 5 | wiki | ace |
|
1. Config Values
class CfgWeapons {
class MyHelmet {
ace_hearing_protection = 0.80; // Protection against deafening (0 to 1, higher means more protection)
ace_hearing_lowerVolume = 0.60; // Muffling of the sound (0 to 1, higher means more muffling)
ace_hearing_hasEHP = 1; // Is electronic hearing protection (0 to disable, 1 to enable)
};
};
The protection/muffling is a multiplier and not an absolute value, you can still be deafened/muffled with a value of 1.
class CfgAmmo {
class MyAmmo {
ace_hearing_hearingDamageFactor = 0; // Allows to tune how much hearing damage the ammo causes when being fired/exploding (default: 1)
// Example: Removing hearing damage from throwables such as Molotovs
};
};