mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
|
// by commy2
|
||
|
|
||
|
if (!hasInterface) exitWith {};
|
||
|
|
||
|
AGM_NightVision_ppEffectBlur = ppEffectCreate ["dynamicBlur", 1234];
|
||
|
AGM_NightVision_ppEffectBlur ppEffectForceInNVG true;
|
||
|
AGM_NightVision_ppEffectBlur ppEffectAdjust [0];
|
||
|
AGM_NightVision_ppEffectBlur ppEffectCommit 0;
|
||
|
|
||
|
AGM_NightVision_ppEffectRadialBlur = ppEffectCreate ["radialBlur", 1238];
|
||
|
AGM_NightVision_ppEffectRadialBlur ppEffectForceInNVG true;
|
||
|
AGM_NightVision_ppEffectRadialBlur ppEffectAdjust [0, 0, 0, 0];
|
||
|
AGM_NightVision_ppEffectRadialBlur ppEffectCommit 0;
|
||
|
|
||
|
AGM_NightVision_ppEffect = ppEffectCreate ["FilmGrain", 1235];
|
||
|
AGM_NightVision_ppEffect ppEffectAdjust [0.25, 2.5, 2.5, 2.5*0.3, 2.5*0.3, false];
|
||
|
AGM_NightVision_ppEffect ppEffectCommit 0;
|
||
|
|
||
|
AGM_NightVision_ppEffectNVGBrightness = ppEffectCreate ["ColorCorrections", 1236];
|
||
|
AGM_NightVision_ppEffectNVGBrightness ppEffectForceInNVG true;
|
||
|
AGM_NightVision_ppEffectNVGBrightness ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 1]];
|
||
|
AGM_NightVision_ppEffectNVGBrightness ppEffectCommit 0;
|
||
|
|
||
|
AGM_NightVision_ppEffectMuzzleFlash = ppEffectCreate ["ColorCorrections", 1237];
|
||
|
AGM_NightVision_ppEffectMuzzleFlash ppEffectEnable true;
|
||
|
AGM_NightVision_ppEffectMuzzleFlash ppEffectForceInNVG true;
|
||
|
AGM_NightVision_ppEffectMuzzleFlash ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 1]];
|
||
|
AGM_NightVision_ppEffectMuzzleFlash ppEffectCommit 0;
|
||
|
|
||
|
0 spawn compile preprocessFileLineNumbers "\AGM_NightVision\nightVision.sqf";
|