bartkusa 10 Posted October 6, 2009 Sometimes, when returning to the main menu screen, the desaturation filter turns off for a split second and Chernarus actually looks pretty. How do I bring back the color to the game, either as a mod or in a single mission? I found these threads for reference on how to do post-processing effects: - http://forums.bistudio.com/showthread.php?t=74284 - http://forums.bistudio.com/showthread.php?t=75528 My concern is that, if desaturation is built into the game, then before any scripts I make would be executed, that color information would be lost. In that case, I would want to prevent saturation. So my main questions are: - Is partial desaturation reversible? - Where should I look for the default post-processing filters? Which PBOs? - If I were to make a resaturation mod how would I implement that? The only thing I've ever made are missions and scripts. Share this post Link to post Share on other sites
NeMeSiS 11 Posted October 6, 2009 (edited) I think its done with "Colorcorrections". Just rebalance them to something more neutral. (Today i experimented for the first time with it and created a nice 'cold winter morning' feel with it, which IMO gave alot more atmosphere then the default 'hot autumn day' color palette) The only way i know to do it addonwise is either to create a gamelogic which you can place in the editor and will run the script that changes the ppEffects, or, to enable it automatically in every mission it should be executed from the init eventhandler from units present in that mission. (So basically, give every (Base) unit an init eventhandler which runs your ppEffectsscript. I dont know if the default ppEffects are done by scripts which can be changed or are somewhat hardcoded, but i havent run into it yet. Edited October 6, 2009 by NeMeSiS Share this post Link to post Share on other sites
bartkusa 10 Posted October 6, 2009 I guess the million-dollar question is, can you run multiple color corrections at once? I'll experiment with this tonight and have better questions later. Share this post Link to post Share on other sites
NeMeSiS 11 Posted October 7, 2009 No, but i dont see what is wrong with overriding the default settings with your own? :confused: Share this post Link to post Share on other sites
bartkusa 10 Posted October 7, 2009 No, but i dont see what is wrong with overriding the default settings with your own? :confused: That's... the million dollar question. If there can only be one color correction filter, this is trivial. If you can overlap them, then it's not. Share this post Link to post Share on other sites
bartkusa 10 Posted October 7, 2009 That's... the million dollar question.If there can only be one color correction filter, this is trivial. If you can overlap them, then it's not. Success! This only works well during daylight, because color-sight is impossible between dawn and dusk. Also, it looks better on Utes. "colorCorrections" ppEffectEnable true; "colorCorrections" ppEffectAdjust [ 1, // Brightness 1.2, // Contrast 0, // Gamma [0, 0, 0, 0], // Opaque tint [R, G, B, A] [1, 1, 1, 1.1], // Colorize [R, G, B, Saturation?] [1, 1, 1, 1]]; // Colorize [R, G, B, Saturation?] "colorCorrections" ppEffectCommit 1; It might be too vibrant on Chernarus. On Chernarus, turn down the 1.1 saturation and the 1.2 contrast slightly. Maybe 1.05 and 1.1, respectively. Maybe one day I'll post screenshots for comparison. Share this post Link to post Share on other sites