Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ppershockhit.c
Go to the documentation of this file.
1class PPERequester_ShockHitReaction extends PPERequester_GameplayBase
2{
3 protected float m_Gauss;
4 protected float m_VignetteIntensity;
5 protected float m_OverlayFactor;
7
8 override protected void OnStart(Param par = null)
9 {
10 super.OnStart();
11
12 m_Gauss = Param3<float,float,float>.Cast(par).param1;
15
16 m_OverlayColor = {0.0, 0.0, 0.0, 1.0};
17 if (m_OverlayFactor > 0.0)
18 m_OverlayColor = {0.1, 0.1, 0.1, 1.0};
19
20 //blur
22 //vignette
24 //SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTECOLOR,{0.25,0.25,0.25,0.0},PPEGlow.L_26_SHOCK,PPOperators.ADD_RELATIVE);
25 //color overlay
28 }
29}
GaussFilter - PostProcessEffectType.GaussFilter.
static const int L_0_SHOCK
static const int PARAM_INTENSITY
Glow - PostProcessEffectType.Glow.
Definition ppeglow.c:8
static const int L_21_SHOCK
Definition ppeglow.c:46
static const int L_25_SHOCK
Definition ppeglow.c:59
static const int PARAM_OVERLAYFACTOR
Definition ppeglow.c:29
static const int PARAM_VIGNETTE
Definition ppeglow.c:34
static const int PARAM_OVERLAYCOLOR
Definition ppeglow.c:30
static const int L_20_SHOCK
Definition ppeglow.c:44
base, not to be used directly, would lead to layering collisions!
void OnStart(Param par=null)
Definition ppershockhit.c:8
ref array< float > m_OverlayColor
Definition ppershockhit.c:6
Base Param Class with no parameters.
Definition param.c:12
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
PostProcessEffectType
Post-process effect type.
Definition enworld.c:72
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, array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)