Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
pperdeathdarkening.c
Go to the documentation of this file.
1class PPERequester_DeathDarkening extends PPERequester_GameplayBase
2{
3 protected float m_Value;
4
5 override protected void OnStart(Param par = null)
6 {
7 super.OnStart();
8
9 m_Value = Param1<float>.Cast(par).param1;
10 //Print("PPERequester_DeathDarkening | level: " + m_Value);
12 m_Value = Math.Lerp(0,-10,m_Value);
13 //Print("PPERequester_DeathDarkening | value: " + value);
14
16 }
17}
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
Definition easing.c:3
static float EaseInCubic(float t)
Definition easing.c:37
Definition enmath.c:7
EV postprocess, does not directly use materials.
static const int PARAM_INTENSITY
static const int L_0_DEATH
base, not to be used directly, would lead to layering collisions!
void OnStart(Param par=null)
Base Param Class with no parameters.
Definition param.c:12
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
PPOperators
PP operators, specify operation between subsequent layers.
PPEExceptions
/brief IDs of custom PPE classes /note Currently used for various native exceptions that used to be h...
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)