Collection of cool colour corrections

Instructions where? only insructions are to remove the // from which one I want to use. Is there anything else other than inserting the code to Init.sqf? Because its not working :(


That is all you have to do make sure you have the code in the init.sqf and that it links to where your effects file is.
 
yes i did :
Code:
// ventzer0 (c) 2013, leave the credit in!
// _sunrise & _sunset determine start and end of the effect based on time
 
private ["_sunrise", "_sunset","_loop"];
 
"filmGrain" ppEffectEnable true;
 
_hndl = ppEffectCreate ["colorCorrections", 1501];
_hndl ppEffectEnable true;
 
_sunset = 19;
_sunrise = 6;
 
_loop = 0;
 
sleep 0.5;
 
while { _loop != 2} do {
 
  //night
  while {( daytime < _sunrise ) or ( daytime > _sunset )} do {
    _hndl ppEffectAdjust[1,1,0,[0,0.04,0,-0.01],[0,0,0,1.58],[-0.11,-0.11,-0.11,0]];
    _hndl ppEffectCommit 0;
    "filmGrain" ppEffectAdjust [0.01, 1, 1, 0.1, 1, true];
    "filmGrain" ppEffectCommit 0;
    sleep 600;
    //check all x seconds
  };
 
  sleep 0.5;
 
  // day
  while {( daytime > _sunrise ) and ( daytime < _sunset )} do {
    _hndl ppEffectAdjust[1,1,0,[0,-0.12,0.05,0.03],[0,0,0,1.23],[-0.11,-0.11,-0.11,0]];
    _hndl ppEffectCommit 0;
    "filmGrain" ppEffectAdjust [0.0225, 1, 1, 0.1, 1, true];
    "filmGrain" ppEffectCommit 0;
    sleep 600;
    //check all x seconds
  };
  sleep 0.5;
  _loop = _loop + 1;
};

Where did you put this code?
 
I found the best one to be......
Code:
//Clear contrast
_hndl = ppEffectCreate ["colorCorrections", 1501];
_hndl ppEffectEnable true;
_hndl ppEffectAdjust [ 1, 1, 0, [0, 0, 0, -0.31],[1.9, 1.9, 1.73, 0.7],[0.2, 1.1, -1.5, 1.64]];
_hndl ppEffectCommit 0;
 
If we enable a nice contrast how to we get the original game contrast back on instead of having to log out and back in? or just make a default contrast script (same as the color contrast scripts)
 
omfg ! exactly the thread im searching for !

I've read a guide to a script from the russian CC Section ,which does following

Code:
nonapsi_ef = ppEffectCreate ["colorCorrections", 1505];
nonapsi_ef ppEffectAdjust [2, 20, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
nonapsi_ef ppEffectCommit 0;
nonapsi_ef ppEffectAdjust [1, 0.6, -0.001, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
nonapsi_ef ppEffectCommit 3;
nonapsi_ef ppEffectEnable true;
nonapsi_ef2 = ppEffectCreate ["filmGrain", 1200];
nonapsi_ef2 ppEffectEnable true;
nonapsi_ef2 ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
nonapsi_ef2 ppEffectCommit 5;
sleep 1;
to our main problem : how can i get normal vision back ,when leaving the area!!??
I'm nearly new into scriptediting and try my best to understand this stuff !

the blue filter remembers me of BF3 [like]
 
omfg ! exactly the thread im searching for !

I've read a guide to a script from the russian CC Section ,which does following

Code:
nonapsi_ef = ppEffectCreate ["colorCorrections", 1505];
nonapsi_ef ppEffectAdjust [2, 20, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
nonapsi_ef ppEffectCommit 0;
nonapsi_ef ppEffectAdjust [1, 0.6, -0.001, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]];
nonapsi_ef ppEffectCommit 3;
nonapsi_ef ppEffectEnable true;
nonapsi_ef2 = ppEffectCreate ["filmGrain", 1200];
nonapsi_ef2 ppEffectEnable true;
nonapsi_ef2 ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
nonapsi_ef2 ppEffectCommit 5;
sleep 1;
to our main problem : how can i get normal vision back ,when leaving the area!!??
I'm nearly new into scriptediting and try my best to understand this stuff !

the blue filter remembers me of BF3 [like]

try this
http://opendayz.net/threads/safe-zone-with-god-mode-for-all-players.12237/

You need to make it like this but adding your thing in the safe zone sqf
Idk if I am right
 
no sry ,i defined it wrong or u missunderstood ^^

The script is working fine , my problem is that the fx >color corrections and film grain wont go away after leaving the area !


@ jasonpointer

Code:
//Clear contrast
//_hndl = ppEffectCreate ["colorCorrections", 1501];
//_hndl ppEffectEnable true;
//_hndl ppEffectAdjust [ 1, 1, 0, [0, 0, 0, -0.31],[1.9, 1.9, 1.73, 0.7],[0.2, 1.1, -1.5, 1.64]];
//_hndl ppEffectCommit 0;
trying this and or

Code:
waitUntil {!isNull player};
playSound "horror";
sleep 1;
 
//Zombie View
nonapsi_ef = ppEffectCreate ["colorCorrections", 1501];
nonapsi_ef ppEffectEnable true;
nonapsi_ef ppEffectAdjust [ 1, 0.75, 0, [-3.16, 5, 5, 0],[-4.3, 5, 5, 1.28],[-2.96, 5, 5, 5]];
nonapsi_ef ppEffectCommit 0;
sleep 1;
 
titleText ["U are stressed ? aren't u?", "PLAIN DOWN", 3]; titleFadeOut 4;
sleep 30;
titleText ["Horror Zone", "PLAIN DOWN", 3]; titleFadeOut 4;
sleep 120;
playSound "horror";
sleep 1;
 
I say you can add it
http://sfx.thelazy.net/games/screenshot/213/
IDK if this will work
1. download it
2. make your settings
3. change it to a SQF rename to "effects"
4 paste this under
Code:
[] execVM "effects.sqf";
Code:
if (!isDedicated) then {
5 . SUB to me
6. Tell me if that works
NOT TESTED MAKE BACK UP

Can you clarify a few things please?

2. I don't know what settings to make, I like what I saw in the screenshot and want that setting.

4. I just paste this...
if (!isDedicated) then {
with nothing after it?

5. I have no idea what that means, can you please be more clear?

Thanks for the post, the pic looks tight.
 
Can you clarify a few things please?

2. I don't know what settings to make, I like what I saw in the screenshot and want that setting.

4. I just paste this...
if (!isDedicated) then {
with nothing after it?

5. I have no idea what that means, can you please be more clear?

Thanks for the post, the pic looks tight.


THIS DOES NOT WORK
Its only a client no server
 
Back
Top