Jump to content
Sign in to follow this  
GalComT

FLIR some ideas

Recommended Posts

As we practical have some kind of FLIR system implimented in the UAV Modul, i was gathering a few aproaches on how to maybe implement that into the Cobra for now,..and maybe later into an Apache (which i am working on as well), as i am a modeler and not a scripter/configer, i was wondering if someone here could help me with some question i have that might bring me closer in how to implement it into the addon properly.

1: Is there a variable that checks if the player is gunner (i know that one is there) in a chopper, and is there a variable that checks if he is using the sights at that time or not.

2: I believe that this Part of the UAV script is responsible for the "FLIR" effect of the UAV

//--- Prostprocess effects

//setaperture 24;

_ppColor = ppEffectCreate ["ColorCorrections", 1999];

_ppColor ppEffectEnable true;

_ppColor ppEffectAdjust [1, 1, 0, [1, 1, 1, 0], [1, 1, 1, 0.0], [1, 1, 1, 1.0]];

_ppColor ppEffectCommit 0;

_ppBlur = ppEffectCreate ["dynamicBlur", 505];

_ppBlur ppEffectEnable true;

_ppBlur ppEffectAdjust [.5];

_ppBlur ppEffectCommit 0;

/*

_ppInversion = ppEffectCreate ["colorInversion", 2555];

_ppInversion ppEffectEnable true;

_ppInversion ppEffectAdjust [0.1,0.1,0.1];

_ppInversion ppEffectCommit 0;

*/

_ppGrain = ppEffectCreate ["filmGrain", 2005];

_ppGrain ppEffectEnable true;

_ppGrain ppEffectAdjust [0.02, 1, 1, 0, 1];

_ppGrain ppEffectCommit 0;

now the question here is,.....what are the normal values for these changes,..or what would the command be to reset them to normal again all at once.

Any help would be much appreciated

GC

Edited by GalComT

Share this post


Link to post
Share on other sites

_ppColor ppEffectEnable false;
_ppInversion ppEffectEnable false;
_ppGrain ppEffectEnable false;

Just disable your created effects.... Your Script dont change the normal effects, it just adds a new "layer" off effects... and if you disable them, you will see the game in a normal view again... easy and useful isnt it?

:yay:

Share this post


Link to post
Share on other sites

That sure is usefull, thanks for the input Neo, gonna try that now. :yay:

Leaves only the first question open

Share this post


Link to post
Share on other sites

Any update on this?

Share this post


Link to post
Share on other sites

Post effects can be used for any circumstances, so yes.

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  

×