2024-05-29 17:01:39 +00:00
|
|
|
private _category = format ["ACE %1", LLSTRING(Module_DisplayName)];
|
2021-10-11 20:48:30 +00:00
|
|
|
|
|
|
|
[
|
2024-05-29 17:01:39 +00:00
|
|
|
QGVAR(enableCombatDeafness),
|
|
|
|
"CHECKBOX",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(EnableCombatDeafness_DisplayName), LSTRING(EnableCombatDeafness_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
2024-04-07 15:59:14 +00:00
|
|
|
1,
|
|
|
|
{[QGVAR(enableCombatDeafness), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
2024-05-29 17:01:39 +00:00
|
|
|
QGVAR(earplugsVolume),
|
|
|
|
"SLIDER",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(earplugsVolume_DisplayName), LSTRING(earplugsVolume_Description)],
|
|
|
|
_category,
|
|
|
|
[0, 1, 0.5, 1],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
2024-05-29 17:01:39 +00:00
|
|
|
QGVAR(unconsciousnessVolume),
|
|
|
|
"SLIDER",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(unconsciousnessVolume_DisplayName), LSTRING(unconsciousnessVolume_Description)],
|
|
|
|
_category,
|
|
|
|
[0, 1, 0.4, 1],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
2024-05-29 17:01:39 +00:00
|
|
|
QGVAR(disableEarRinging),
|
|
|
|
"CHECKBOX",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(DisableEarRinging_DisplayName), LSTRING(DisableEarRinging_Description)],
|
|
|
|
_category,
|
2024-05-29 17:01:39 +00:00
|
|
|
false
|
2021-10-11 20:48:30 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
2024-05-29 17:01:39 +00:00
|
|
|
QGVAR(enabledForZeusUnits),
|
|
|
|
"CHECKBOX",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(enabledForZeusUnits_DisplayName), LSTRING(enabledForZeusUnits_Description)],
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
2024-05-29 17:01:39 +00:00
|
|
|
QGVAR(autoAddEarplugsToUnits),
|
|
|
|
"LIST",
|
2021-10-11 20:48:30 +00:00
|
|
|
[LSTRING(autoAddEarplugsToUnits_DisplayName), LSTRING(autoAddEarplugsToUnits_Description)],
|
|
|
|
_category,
|
2024-04-10 11:23:50 +00:00
|
|
|
[[0, 1, 2], [ELSTRING(common,Disabled), LSTRING(heavyWeaponUnits), ELSTRING(common,Enabled)], 1],
|
2021-10-11 20:48:30 +00:00
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|