DayZ 1.24
Loading...
Searching...
No Matches
PPERDeathDarkening.c
Go to the documentation of this file.
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}
PPOperators
PP operators, specify operation between subsequent layers.
PPEExceptions
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
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. Used as general purpose parameter overloaded with Param1 to Para...
Definition param.c:12
string m_Value
Definition EnEntity.c:805
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.