OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: sfc.itzhak on 25 Aug 2007, 10:42:06

Title: brightness and gamma change via script
Post by: sfc.itzhak on 25 Aug 2007, 10:42:06
is this possible?

to chabge the gamma and brightness via script?

thanks sfc.
Title: Re: brightness and gamma change via script
Post by: ColonelSandersLite on 25 Aug 2007, 11:25:39
Not that I know of. Out of curiosity, why?  Some sort of anti cheat thing?  If that was the case, it wouldn't work anyways since you can adjust your brightness and contrast outside of the game.  Not to mention that those options are there for a good reason.
Title: Re: brightness and gamma change via script
Post by: sfc.itzhak on 25 Aug 2007, 13:25:45
i am working on an outpost addon and it has infra red so i need to play with the gamme and brightness to reach the real life look..

 will post 2 pics to show what i mean.
Title: Re: brightness and gamma change via script
Post by: JasonO on 26 Aug 2007, 03:46:49
The setAperture (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=s#setAperture) command controls how much light is exposed on the camera. Might be what your looking for?
Title: Re: brightness and gamma change via script
Post by: sfc.itzhak on 26 Aug 2007, 13:42:36
i use that command but i want tp play with the brightness and gamma too

cause that command is not sufficient .
Title: Re: brightness and gamma change via script
Post by: Mr.Peanut on 27 Aug 2007, 02:46:59
Use a cut resource overlay, similar to how the NV effect is made, might be your only way.