Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
pperglasses.c
Go to the documentation of this file.
1
//glasses and helmets
3
class
PPERequester_GenericBlackGlassesBase
extends
PPERequester_GameplayBase
4
{
5
override
protected
void
OnStart
(
Param
par = null)
6
{
7
super.OnStart();
8
9
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,
PPEGodRays
.
PARAM_INTENSITY
,
true
,0,
PPEGodRays
.
L_0_GLASSES
,
PPOperators
.LOWEST);
10
SetTargetValueColor
(
PostProcessEffectType
.Glow,
PPEGlow
.
PARAM_COLORIZATIONCOLOR
,{0.4,0.4,0.4,0.0},
PPEGlow
.
L_23_GLASSES
,
PPOperators
.SUBSTRACT);
11
}
12
}
13
14
class
PPERequester_GlassesSportBlack
extends
PPERequester_GenericBlackGlassesBase{}
15
class
PPERequester_GlassesDesignerBlack
extends
PPERequester_GenericBlackGlassesBase{}
16
class
PPERequester_MotoHelmetBlack
extends
PPERequester_GenericBlackGlassesBase{}
17
18
class
PPERequester_GlassesSportBlue
extends
PPERequester_GameplayBase
19
{
20
override
protected
void
OnStart
(Param par = null)
21
{
22
super.
OnStart
();
23
24
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,PPEGodRays.PARAM_INTENSITY,
true
,0,PPEGodRays.L_0_GLASSES,
PPOperators
.LOWEST);
25
SetTargetValueColor
(
PostProcessEffectType
.Glow,PPEGlow.PARAM_COLORIZATIONCOLOR,{0.3,0.3,0.0,0.0},PPEGlow.L_23_GLASSES,
PPOperators
.SUBSTRACT);
26
}
27
}
28
29
class
PPERequester_GlassesSportGreen
extends
PPERequester_GameplayBase
30
{
31
override
protected
void
OnStart
(
Param
par = null)
32
{
33
super.OnStart();
34
35
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,
PPEGodRays
.
PARAM_INTENSITY
,
true
,0,
PPEGodRays
.
L_0_GLASSES
,
PPOperators
.LOWEST);
36
SetTargetValueColor
(
PostProcessEffectType
.Glow,
PPEGlow
.
PARAM_COLORIZATIONCOLOR
,{0.2,0.0,0.2,0.0},
PPEGlow
.
L_23_GLASSES
,
PPOperators
.SUBSTRACT);
37
}
38
}
39
40
class
PPERequester_GlassesSportOrange
extends
PPERequester_GameplayBase
41
{
42
override
protected
void
OnStart
(Param par = null)
43
{
44
super.
OnStart
();
45
46
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,PPEGodRays.PARAM_INTENSITY,
true
,0,PPEGodRays.L_0_GLASSES,
PPOperators
.LOWEST);
47
SetTargetValueColor
(
PostProcessEffectType
.Glow,PPEGlow.PARAM_COLORIZATIONCOLOR,{0.0,0.3,0.5,0.0},PPEGlow.L_23_GLASSES,
PPOperators
.SUBSTRACT);
48
}
49
}
50
51
class
PPERequester_GlassesAviator
extends
PPERequester_GameplayBase
52
{
53
override
protected
void
OnStart
(
Param
par = null)
54
{
55
super.OnStart();
56
57
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,
PPEGodRays
.
PARAM_INTENSITY
,
true
,0,
PPEGodRays
.
L_0_GLASSES
,
PPOperators
.LOWEST);
58
SetTargetValueColor
(
PostProcessEffectType
.Glow,
PPEGlow
.
PARAM_COLORIZATIONCOLOR
,{0.3,0.3,0.1,0.0},
PPEGlow
.
L_23_GLASSES
,
PPOperators
.SUBSTRACT);
59
}
60
}
61
62
class
PPERequester_TacticalGoggles
extends
PPERequester_GameplayBase
63
{
64
override
protected
void
OnStart
(Param par = null)
65
{
66
super.
OnStart
();
67
68
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,PPEGodRays.PARAM_INTENSITY,
true
,0,PPEGodRays.L_0_GLASSES,
PPOperators
.LOWEST);
69
}
70
}
71
72
class
PPERequester_WeldingMask
extends
PPERequester_GameplayBase
73
{
74
override
protected
void
OnStart
(
Param
par = null)
75
{
76
super.OnStart();
77
78
SetTargetValueFloat
(
PostProcessEffectType
.GodRays,
PPEGodRays
.
PARAM_INTENSITY
,
true
,0,
PPEGodRays
.
L_0_GLASSES
,
PPOperators
.LOWEST);
79
SetTargetValueColor
(
PostProcessEffectType
.Glow,
PPEGlow
.
PARAM_COLORIZATIONCOLOR
,{0.7,0.7,0.7,0.0},
PPEGlow
.
L_23_GLASSES
,
PPOperators
.SUBSTRACT);
80
}
81
}
PPEGlow
Glow - PostProcessEffectType.Glow.
Definition
ppeglow.c:8
PPEGlow::PARAM_COLORIZATIONCOLOR
static const int PARAM_COLORIZATIONCOLOR
Definition
ppeglow.c:32
PPEGlow::L_23_GLASSES
static const int L_23_GLASSES
Definition
ppeglow.c:52
PPEGodRays
GodRays - PostProcessEffectType.GodRays.
Definition
ppegodrays.c:3
PPEGodRays::L_0_GLASSES
static const int L_0_GLASSES
Definition
ppegodrays.c:11
PPEGodRays::PARAM_INTENSITY
static const int PARAM_INTENSITY
Definition
ppegodrays.c:4
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
pperglasses.c:5
Param
Base Param Class with no parameters.
Definition
param.c:12
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition
enworld.c:72
PPOperators
PPOperators
PP operators, specify operation between subsequent layers.
Definition
ppeconstants.c:53
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
SetTargetValueColor
void SetTargetValueColor(int mat_id, int param_idx, array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition
pperequestplatformsbase.c:630
Games
Dayz
scripts
3_game
ppemanager
requesters
pperglasses.c
Generated by
1.17.0