DayZ 1.24
Loading...
Searching...
No Matches
PPERHealthHit.c
Go to the documentation of this file.
2{
3 const float INTENSITY_MULT = 6.0;
4
6 {
7 //color overlay
9 SetTargetValueColor(PostProcessEffectType.Glow, PPEGlow.PARAM_OVERLAYCOLOR, {intensity * INTENSITY_MULT, 0.0, 0.0, 1.0}, PPEGlow.L_21_HIT, PPOperators.HIGHEST);
10 }
11}
PPOperators
PP operators, specify operation between subsequent layers.
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
void SetTargetValueColor(int mat_id, int param_idx, ref array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Glow - PostProcessEffectType.Glow.
Definition PPEGlow.c:8
static const int PARAM_OVERLAYCOLOR
Definition PPEGlow.c:30
static const int L_21_HIT
Definition PPEGlow.c:47
static const int PARAM_OVERLAYFACTOR
Definition PPEGlow.c:29
static const int L_20_HIT
Definition PPEGlow.c:42
base, not to be used directly, would lead to layering collisions!
void SetHitIntensity(float intensity)
PostProcessEffectType
Post-process effect type.
Definition EnWorld.c:72