DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
PPERShockHit.c
См. документацию.
1class PPERequester_ShockHitReaction extends PPERequester_GameplayBase
2{
3 protected float m_Gauss;
4 protected float m_VignetteIntensity;
5 protected float m_OverlayFactor;
7
8 override protected void OnStart(Param par = null)
9 {
10 super.OnStart();
11
12 m_Gauss = Param3<float,float,float>.Cast(par).param1;
15
16 m_OverlayColor = {0.0, 0.0, 0.0, 1.0};
17 if (m_OverlayFactor > 0.0)
18 m_OverlayColor = {0.1, 0.1, 0.1, 1.0};
19
20 //blur
22 //vignette
24 //SetTargetValueColor(PostProcessEffectType.Glow,PPEGlow.PARAM_VIGNETTECOLOR,{0.25,0.25,0.25,0.0},PPEGlow.L_26_SHOCK,PPOperators.ADD_RELATIVE);
25 //color overlay
28 }
29}
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 PARAM_INTENSITY
Определения PPEGaussFilter.c:4
static const int L_0_SHOCK
Определения PPEGaussFilter.c:7
GaussFilter - PostProcessEffectType.GaussFilter.
Определения PPEGaussFilter.c:3
static const int L_25_SHOCK
Определения PPEGlow.c:59
static const int PARAM_OVERLAYCOLOR
Определения PPEGlow.c:30
static const int L_20_SHOCK
Определения PPEGlow.c:44
static const int L_21_SHOCK
Определения PPEGlow.c:46
static const int PARAM_OVERLAYFACTOR
Определения PPEGlow.c:29
static const int PARAM_VIGNETTE
Определения PPEGlow.c:34
Glow - PostProcessEffectType.Glow.
Определения PPEGlow.c:8
float m_OverlayFactor
Определения PPERShockHit.c:5
void OnStart(Param par=null)
Определения PPERShockHit.c:8
ref array< float > m_OverlayColor
Определения PPERShockHit.c:6
float m_Gauss
Определения PPERShockHit.c:3
float m_VignetteIntensity
Определения PPERShockHit.c:4
base, not to be used directly, would lead to layering collisions!
Определения PPERBloodLoss.c:2
Определения EntityAI.c:95
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Определения param.c:12
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
PostProcessEffectType
Post-process effect type.
Определения EnWorld.c:72