mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1df3a73461
* Update documentation guidelines * Add version info part 1 * Add version info part 2 * Add removed in version to frontmatter and tag testmissions as removed * Add version info part 3
27 lines
627 B
Markdown
27 lines
627 B
Markdown
---
|
|
layout: wiki
|
|
title: Hearing Framework
|
|
description: Explains how to set-up headgear with ACE3 hearing system.
|
|
group: framework
|
|
order: 5
|
|
parent: wiki
|
|
mod: ace
|
|
version:
|
|
major: 3
|
|
minor: 0
|
|
patch: 0
|
|
---
|
|
|
|
## 1. Config Values
|
|
|
|
```cpp
|
|
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)
|
|
};
|
|
};
|
|
```
|
|
|
|
The protection/muffling is a multiplier and not an absolute value, you can still be deafened/muffled with a value of 1.
|