mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
8c7f8d7d6a
* Intensify pain effects * Add chromatic abberation effect, add blur with very high pain * Add option for limited pain effects with only high pain blur * Fix playInjuredSound * Add instant feedback effects update when getting hit * Cleanup * Overhaul playInjuredSound * Fix voice detection, simplify nearby unit filter * Apply suggestions from code review * Add Chromatic Aberration translations * Use while loop instead of configClasses * detach say3d dummies before deleting
21 lines
752 B
Plaintext
21 lines
752 B
Plaintext
[
|
|
QGVAR(painEffectType),
|
|
"LIST",
|
|
[LSTRING(PainEffectType_DisplayName), LSTRING(PainEffectType_Description)],
|
|
[ELSTRING(medical,Category), LSTRING(SubCategory)],
|
|
[
|
|
[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
|
|
],
|
|
false,
|
|
{
|
|
if (isNil QGVAR(ppPain)) exitWith {
|
|
TRACE_1("painEffectType setting - before postInit",_this);
|
|
};
|
|
|
|
TRACE_1("painEffectType setting - resetting effect",_this);
|
|
[true] call FUNC(initEffects);
|
|
}
|
|
] call CBA_Settings_fnc_init;
|