DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
PPERGlasses.c
См. документацию.
1//glasses and helmets
3class PPERequester_GenericBlackGlassesBase extends PPERequester_GameplayBase
4{
5 override protected void OnStart(Param par = null)
6 {
7 super.OnStart();
8
11 }
12}
13
14class PPERequester_GlassesSportBlack extends PPERequester_GenericBlackGlassesBase{}
15class PPERequester_GlassesDesignerBlack extends PPERequester_GenericBlackGlassesBase{}
16class PPERequester_MotoHelmetBlack extends PPERequester_GenericBlackGlassesBase{}
17
18class 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
29class PPERequester_GlassesSportGreen extends PPERequester_GameplayBase
30{
31 override protected void OnStart(Param par = null)
32 {
33 super.OnStart();
34
37 }
38}
39
40class 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
51class PPERequester_GlassesAviator extends PPERequester_GameplayBase
52{
53 override protected void OnStart(Param par = null)
54 {
55 super.OnStart();
56
59 }
60}
61
62class 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
72class PPERequester_WeldingMask extends PPERequester_GameplayBase
73{
74 override protected void OnStart(Param par = null)
75 {
76 super.OnStart();
77
80 }
81}
PPOperators
PP operators, specify operation between subsequent layers.
Определения PPEConstants.c:53
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Определения PPERequestPlatformsBase.c:588
void SetTargetValueColor(int mat_id, int param_idx, array< float > val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Определения PPERequestPlatformsBase.c:630
static const int L_23_GLASSES
Определения PPEGlow.c:52
static const int PARAM_COLORIZATIONCOLOR
Определения PPEGlow.c:32
Glow - PostProcessEffectType.Glow.
Определения PPEGlow.c:8
static const int PARAM_INTENSITY
Определения PPEGodRays.c:4
static const int L_0_GLASSES
Определения PPEGodRays.c:11
GodRays - PostProcessEffectType.GodRays.
Определения PPEGodRays.c:3
void OnStart(Param par=null)
Определения PPERGlasses.c:5
base, not to be used directly, would lead to layering collisions!
Определения PPERBloodLoss.c:2
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Определения param.c:12
PostProcessEffectType
Post-process effect type.
Определения EnWorld.c:72