2019-03-24 05:37:39 +00:00
|
|
|
[
|
|
|
|
QGVAR(painEffectType),
|
|
|
|
"LIST",
|
2019-06-28 16:50:11 +00:00
|
|
|
[LSTRING(PainEffectType_DisplayName), LSTRING(PainEffectType_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
2019-10-11 20:00:53 +00:00
|
|
|
[
|
|
|
|
[FX_PAIN_WHITE_FLASH, FX_PAIN_PULSATING_BLUR, FX_PAIN_CHROMATIC_ABERRATION, FX_PAIN_ONLY_BASE],
|
|
|
|
[LSTRING(painEffectType_whiteFlashing), LSTRING(painEffectType_pulsingBlur), LSTRING(painEffectType_chromAberration), LSTRING(painEffectType_onlyBase)],
|
|
|
|
0
|
|
|
|
],
|
2019-03-24 05:37:39 +00:00
|
|
|
false,
|
|
|
|
{
|
2019-06-28 16:50:11 +00:00
|
|
|
if (isNil QGVAR(ppPain)) exitWith {
|
|
|
|
TRACE_1("painEffectType setting - before postInit",_this);
|
|
|
|
};
|
|
|
|
|
|
|
|
TRACE_1("painEffectType setting - resetting effect",_this);
|
2019-03-24 05:37:39 +00:00
|
|
|
[true] call FUNC(initEffects);
|
|
|
|
}
|
2020-02-22 20:42:59 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(bloodVolumeEffectType),
|
|
|
|
"LIST",
|
|
|
|
[LSTRING(BloodVolumeEffectType_DisplayName), LSTRING(BloodVolumeEffectType_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
|
|
|
[
|
|
|
|
[FX_BLOODVOLUME_COLOR_CORRECTION, FX_BLOODVOLUME_ICON, FX_BLOODVOLUME_BOTH],
|
|
|
|
[LSTRING(BloodVolumeEffectType_colorCorrection), LSTRING(BloodVolumeEffectType_icon), LSTRING(BloodVolumeEffectType_both)],
|
|
|
|
0
|
|
|
|
],
|
|
|
|
false,
|
|
|
|
{
|
|
|
|
if (isNil QGVAR(showBloodVolumeIcon)) exitWith {
|
|
|
|
TRACE_1("bloodVolumeEffect setting - before postInit",_this);
|
|
|
|
};
|
|
|
|
|
|
|
|
TRACE_1("bloodVolumeEffect setting - resetting effect",_this);
|
|
|
|
[true] call FUNC(initEffects);
|
|
|
|
}
|
|
|
|
] call CBA_fnc_addSetting;
|
2021-10-12 12:16:30 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enableHUDIndicators),
|
|
|
|
"CHECKBOX",
|
|
|
|
[LSTRING(EnableHUDIndicators_DisplayName), LSTRING(EnableHUDIndicators_Description)],
|
|
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
|
|
|
true,
|
|
|
|
false,
|
|
|
|
{
|
|
|
|
// --- Drop indication on disabling
|
|
|
|
if (!_this) exitWith {
|
|
|
|
[true] call FUNC(handleHUDIndicators);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
] call CBA_fnc_addSetting;
|