Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
pperhealthhit.c
Go to the documentation of this file.
1
class
PPERequester_HealthHitReaction
extends
PPERequester_GameplayBase
2
{
3
const
float
INTENSITY_MULT
= 6.0;
4
5
void
SetHitIntensity
(
float
intensity)
6
{
7
//color overlay
8
SetTargetValueFloat
(
PostProcessEffectType
.Glow,
PPEGlow
.
PARAM_OVERLAYFACTOR
,
true
,0.05,
PPEGlow
.
L_20_HIT
,
PPOperators
.HIGHEST);
9
SetTargetValueColor
(
PostProcessEffectType
.Glow,
PPEGlow
.
PARAM_OVERLAYCOLOR
,{intensity * INTENSITY_MULT, 0.0, 0.0, 1.0},
PPEGlow
.
L_21_HIT
,
PPOperators
.HIGHEST);
10
}
11
}
PPEGlow
Glow - PostProcessEffectType.Glow.
Definition
ppeglow.c:8
PPEGlow::L_20_HIT
static const int L_20_HIT
Definition
ppeglow.c:42
PPEGlow::PARAM_OVERLAYFACTOR
static const int PARAM_OVERLAYFACTOR
Definition
ppeglow.c:29
PPEGlow::L_21_HIT
static const int L_21_HIT
Definition
ppeglow.c:47
PPEGlow::PARAM_OVERLAYCOLOR
static const int PARAM_OVERLAYCOLOR
Definition
ppeglow.c:30
PPERequester_GameplayBase
base, not to be used directly, would lead to layering collisions!
Definition
pperbloodloss.c:2
PPERequester_GameplayBase::SetHitIntensity
void SetHitIntensity(float intensity)
Definition
pperhealthhit.c:5
PPERequester_GameplayBase::INTENSITY_MULT
const float INTENSITY_MULT
Definition
pperhealthhit.c:3
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition
enworld.c:72
PPOperators
PPOperators
PP operators, specify operation between subsequent layers.
Definition
ppeconstants.c:53
SetTargetValueFloat
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition
pperequestplatformsbase.c:588
SetTargetValueColor
void SetTargetValueColor(int mat_id, int param_idx, array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition
pperequestplatformsbase.c:630
Games
Dayz
scripts
3_game
ppemanager
requesters
pperhealthhit.c
Generated by
1.17.0