GalComT 511 Posted July 4, 2009 (edited) 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 July 4, 2009 by GalComT Share this post Link to post Share on other sites
NeoArmageddon 958 Posted July 4, 2009 _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? Share this post Link to post Share on other sites
GalComT 511 Posted July 4, 2009 That sure is usefull, thanks for the input Neo, gonna try that now. Leaves only the first question open Share this post Link to post Share on other sites
arye_r 0 Posted July 7, 2009 (edited) Regarding your first question : http://community.bistudio.com/wiki/gunner http://community.bistudio.com/wiki/cameraView Good luck! BTW, where did you find that FLIR piece of code? Edited July 7, 2009 by arye_r Share this post Link to post Share on other sites
Killy_McMurder 10 Posted July 14, 2009 Bump I'd also like to know if its possible to add the FLIR effect to other units/weapons? i.e. Static weapons Share this post Link to post Share on other sites
Tajin 349 Posted July 14, 2009 Post effects can be used for any circumstances, so yes. Share this post Link to post Share on other sites