Jump to content
Sign in to follow this  
 EO

Adding Color Filter/Post Process Effects via SQF file

Recommended Posts

Hi Everyone, First off "Noob Alert", ok now that's out the way i need some help.

I have created a color filter i'd like to use in mission but i'm unsure how to activate it, my limited knowledge tells me to create an sqf file, but beyond that i'm unsure how to activate it in my mission!

Any help appreciated. Peace.

Share this post


Link to post
Share on other sites

Hi, try something like this:

_id = ppEffectCreate ["colorCorrections", 666]; // <== Priority defines sequence in which are post effects applied.
_id ppEffectEnable TRUE;
ppEffectAdjust [1, 1, -0.01, [0.0, 0.0, 0.0, 0.0], [1.5, 1, 1.2, 0.6],  [0.199, 0.587, 0.114, 0.20]];
_id ppEffectCommit 0;
sleep 5;
ppEffectDestroy _id;

call your .sqf file effects.sqf and activate by trigger or in debug console:

0 = [] execVM "effects.sqf";

Share this post


Link to post
Share on other sites
Hi, try something like this:

_id = ppEffectCreate ["colorCorrections", 666]; // <== Priority defines sequence in which are post effects applied.
_id ppEffectEnable TRUE;
ppEffectAdjust [1, 1, -0.01, [0.0, 0.0, 0.0, 0.0], [1.5, 1, 1.2, 0.6],  [0.199, 0.587, 0.114, 0.20]];
_id ppEffectCommit 0;
sleep 5;
ppEffectDestroy _id;

call your .sqf file effects.sqf and activate by trigger or in debug console:

0 = [] execVM "effects.sqf";

A helping hand from a seasoned pro. Thanks Das

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×