Added in ACE3 v3.0.0

Hearing Framework

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
    };
};