2015-08-23 19:03:08 +00:00
|
|
|
---
|
|
|
|
layout: wiki
|
2015-08-25 01:26:06 +00:00
|
|
|
title: Hearing Framework
|
|
|
|
description: Explains how to set-up headgear with ACE3 hearing system.
|
2015-08-23 19:03:08 +00:00
|
|
|
group: framework
|
|
|
|
order: 5
|
|
|
|
parent: wiki
|
|
|
|
---
|
|
|
|
|
2015-08-25 01:26:06 +00:00
|
|
|
## 1. Config Values
|
2015-08-23 19:03:08 +00:00
|
|
|
|
|
|
|
```c++
|
|
|
|
class CfgWeapons {
|
2015-08-25 01:26:06 +00:00
|
|
|
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)
|
2015-08-23 19:03:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
```
|
|
|
|
|
2015-08-25 01:26:06 +00:00
|
|
|
The protection/muffling is a multiplier and not an absolute value, you can still be deafened/muffled with a value of 1.
|