Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
ppertunnel.c
Go to the documentation of this file.
1class PPERequester_TunnelVisionEffects extends PPERequester_GameplayBase
2{
3 protected float m_Intensity;
4
5 override protected void OnStart(Param par = null)
6 {
7 super.OnStart();
8
9 m_Intensity = Param1<float>.Cast(par).param1;
10
11 SetTargetValueFloat(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTE,false,m_Intensity,PPEGlow.L_25_TUNNEL,PPOperators.HIGHEST);
12 SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTECOLOR,{0.0,0.0,0.0,0.0},PPEGlow.L_26_TUNNEL,PPOperators.LOWEST);
13 }
14}
Glow - PostProcessEffectType.Glow.
Definition ppeglow.c:8
base, not to be used directly, would lead to layering collisions!
void OnStart(Param par=null)
Definition ppertunnel.c:5
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition param.c:12
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)