8 static const int PARAM_INTENSITY = 0;
10 static const int L_0_NVG_OPTIC = 100;
11 static const int L_0_NVG_GOGGLES = 200;
12 static const int L_0_NVG_OFF = 300;
13 static const int L_0_FLASHBANG = 400;
14 static const int L_0_BURLAP = 500;
15 static const int L_0_DEATH = 1000;
17 override int GetPostProcessEffectID()
22 override void RegisterMaterialParameters()
24 RegisterParameterScalarFloat(PARAM_INTENSITY,
"Intensity",0.0,-100.0,100.0);
28 override void SetFinalParameterValue(
int parameter_idx)
30 Param values = GetParameterCommandData(parameter_idx).GetCurrentValues();
31 float value_var_float = Param1<float>.Cast(values).param1;
33 g_Game.SetEVValue(value_var_float);