Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
pperdeathdarkening.c
Go to the documentation of this file.
1
class
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);
11
m_Value
=
Easing
.
EaseInCubic
(
m_Value
);
12
m_Value
=
Math
.
Lerp
(0,-10,
m_Value
);
13
//Print("PPERequester_DeathDarkening | value: " + value);
14
15
SetTargetValueFloat
(
PPEExceptions
.EXPOSURE,
PPEExposureNative
.
PARAM_INTENSITY
,
false
,
m_Value
,
PPEExposureNative
.
L_0_DEATH
,
PPOperators
.SET);
16
}
17
}
Easing
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
Definition
easing.c:3
Easing::EaseInCubic
static float EaseInCubic(float t)
Definition
easing.c:37
Math
Definition
enmath.c:7
PPEExposureNative
EV postprocess, does not directly use materials.
Definition
ppeexposurenative.c:6
PPEExposureNative::PARAM_INTENSITY
static const int PARAM_INTENSITY
Definition
ppeexposurenative.c:8
PPEExposureNative::L_0_DEATH
static const int L_0_DEATH
Definition
ppeexposurenative.c:15
PPERequester_GameplayBase
base, not to be used directly, would lead to layering collisions!
Definition
pperbloodloss.c:2
PPERequester_GameplayBase::OnStart
void OnStart(Param par=null)
Definition
pperdeathdarkening.c:5
PPERequester_GameplayBase::m_Value
float m_Value
Definition
pperdeathdarkening.c:3
Param
Base Param Class with no parameters.
Definition
param.c:12
Math::Lerp
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
PPOperators
PPOperators
PP operators, specify operation between subsequent layers.
Definition
ppeconstants.c:53
PPEExceptions
PPEExceptions
/brief IDs of custom PPE classes /note Currently used for various native exceptions that used to be h...
Definition
ppeconstants.c:43
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
Games
Dayz
scripts
3_game
ppemanager
requesters
pperdeathdarkening.c
Generated by
1.17.0