mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
e535988479
* Hearing cleanup * Update fnc_updateHearingProtection.sqf * Fixes + tweaks * Update initSettings.inc.sqf * Update fnc_removeEarplugs.sqf
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
private _category = format ["ACE %1", LLSTRING(Module_DisplayName)];
|
|
|
|
[
|
|
QGVAR(enableCombatDeafness),
|
|
"CHECKBOX",
|
|
[LSTRING(EnableCombatDeafness_DisplayName), LSTRING(EnableCombatDeafness_Description)],
|
|
_category,
|
|
true,
|
|
1,
|
|
{[QGVAR(enableCombatDeafness), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(earplugsVolume),
|
|
"SLIDER",
|
|
[LSTRING(earplugsVolume_DisplayName), LSTRING(earplugsVolume_Description)],
|
|
_category,
|
|
[0, 1, 0.5, 1],
|
|
1
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(unconsciousnessVolume),
|
|
"SLIDER",
|
|
[LSTRING(unconsciousnessVolume_DisplayName), LSTRING(unconsciousnessVolume_Description)],
|
|
_category,
|
|
[0, 1, 0.4, 1],
|
|
1
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(disableEarRinging),
|
|
"CHECKBOX",
|
|
[LSTRING(DisableEarRinging_DisplayName), LSTRING(DisableEarRinging_Description)],
|
|
_category,
|
|
false
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(enabledForZeusUnits),
|
|
"CHECKBOX",
|
|
[LSTRING(enabledForZeusUnits_DisplayName), LSTRING(enabledForZeusUnits_Description)],
|
|
_category,
|
|
true,
|
|
1
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(autoAddEarplugsToUnits),
|
|
"LIST",
|
|
[LSTRING(autoAddEarplugsToUnits_DisplayName), LSTRING(autoAddEarplugsToUnits_Description)],
|
|
_category,
|
|
[[0, 1, 2], [ELSTRING(common,Disabled), LSTRING(heavyWeaponUnits), ELSTRING(common,Enabled)], 1],
|
|
1
|
|
] call CBA_fnc_addSetting;
|