Collection of cool colour corrections

I created small script. It add actions with all effects to test it. (U need exec Sky.sqf)
Sorry for my bad english ;C
 

Attachments

  • Effects_Script_Actions.zip
    4.2 KB · Views: 156
I created small script. It add actions with all effects to test it. (U need exec Sky.sqf)
Sorry for my bad english ;C
hey took this and added it to my admin tools.

Top part of admintools\admintoolsmain.sqf:

put this code:

Code:
pathtosky = "admintools\sky\";
EXECscript6 = 'player execVM "'+pathtoskins+'%1"';



Place this code near bottom of admintoolsmain.sqf

BEFORE THIS LINE:
Code:
showCommandingMenu "#USER:adminmenu";

place this code above that line ^
Code:
SkyMenu =
[
    ["",true],
 
        ["Clear contrast", [2],  "", -5, [["expression", format[EXECscript6 ,"1.sqf"]]], "1", "1"],
        ["Wasteland", [2],  "", -5, [["expression", format[EXECscript6 ,"2.sqf"]]], "1", "1"],
        ["Dark draining", [2],  "", -5, [["expression", format[EXECscript6 ,"3.sqf"]]], "1", "1"],
        ["Sandy", [2],  "", -5, [["expression", format[EXECscript6 ,"4.sqf"]]], "1", "1"],
        ["Sumer Chernarus", [2],  "", -5, [["expression", format[EXECscript6 ,"5.sqf"]]], "1", "1"],
        ["Dog Vision", [2],  "", -5, [["expression", format[EXECscript6 ,"6.sqf"]]], "1", "1"],
        ["Tropical", [2],  "", -5, [["expression", format[EXECscript6 ,"7.sqf"]]], "1", "1"],
            ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Next page", [12], "#USER:SkyMenu2", -5, [["expression", ""]], "1", "1"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
SkyMenu2 =
[
    ["",true],
 
        ["Photo", [2],  "", -5, [["expression", format[EXECscript6 ,"8.sqf"]]], "1", "1"],
        ["WarZone", [2],  "", -5, [["expression", format[EXECscript6 ,"9.sqf"]]], "1", "1"],
        ["Operation Flashpoint", [2],  "", -5, [["expression", format[EXECscript6 ,"10.sqf"]]], "1", "1"],
        ["Africa", [2],  "", -5, [["expression", format[EXECscript6 ,"11.sqf"]]], "1", "1"],
        ["Blue", [2],  "", -5, [["expression", format[EXECscript6 ,"12.sqf"]]], "1", "1"],
        ["Arma mission colours", [2],  "", -5, [["expression", format[EXECscript6 ,"13.sqf"]]], "1", "1"],
        ["Heavy Colour Correction", [2],  "", -5, [["expression", format[EXECscript6 ,"14.sqf"]]], "1", "1"],
        ["Zombie View", [2],  "", -5, [["expression", format[EXECscript6 ,"15.sqf"]]], "1", "1"],
            ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Next page", [12], "#USER:SkyMenu2", -5, [["expression", ""]], "1", "1"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

and just place those files from Craft lourens into admintools\sky


seems its only client side, so if you exec from the menu it will only look like that to you specifically.


FILE FROM Craft lourens can be downloaded here: effects_script_actions-zip
 
I can't take any of these screenshots atm as my computer is messed up. Playing on a wide range of servers I have came across alot of servers using some of these colour corrections so it looks like these have gone down well.
 
I actually added this but the different colors I have chosen so far aren't noticeable. Probably doing something wrong trying to add at 2am tired. But even when fresh cant notice difference no errors in mission file when loading in...

If anyone would be willing to check my Init to see where I went wrong it would be appreciated. The file itself is inside the Scripts folder in the mission BPO.

if (!isDedicated) then {
[] execVM "Scripts\effects.sqf";
[] execVM "BTK\Cargo Drop\Start.sqf";
[] execVM "Scripts\kh_actions.sqf";
[] execVM "Scripts\change_streetlights.sqf";
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");

Tried so far:


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;

Sandy
_hndl = ppEffectCreate ["colorCorrections", 1501];
_hndl ppEffectEnable true;
_hndl ppEffectAdjust [ 1, 1, 0, [1.01, -2.46, -1.23, 0],[2.11, 1.6, 0.71, 0.8],[1.43, 0.56, 3.69, 0.31]];
_hndl ppEffectCommit 0;

Africa
_hndl = ppEffectCreate ["colorCorrections", 1501];
_hndl ppEffectEnable true;
_hndl ppEffectAdjust [ 1, 1.3, 0.001, [-0.11, -0.65, -0.76, 0.015],[-5, -1.74, 0.09, 0.86],[-1.14, -0.73, 1.14, -0.09]];
_hndl ppEffectCommit 0;

Each individually UN-statemented with // applied to all others. Not sure if these three specifically aren't that different to vanilla without weather. Any help feedback would be appreciated.

Cheers,

Bungle
 
Anyone got effects to work based on time of day? Players have been complaining that the effects that look nice at night are completely shit during the day... Ideally I'd like to run blue/purple night and orange/yellow day and I do not fully comprehend what Kind-Sir has said..

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;
};
 
any screenshots here ??

sucks that i had no admin tool.

i have dayz epoch from nitrado there is no admin tool. (lite)
 
For the ppEffect values - what does each value represent? I am going to mess around with it but if there is already a handy guide then that would speed up the process. If there is no guide then I shall write one down as I go. Great addon by the way :)
 
S
For the ppEffect values - what does each value represent? I am going to mess around with it but if there is already a handy guide then that would speed up the process. If there is no guide then I shall write one down as I go. Great addon by the way :)

Something like this.

Code:
[brightness, contrast, gamma, [R, G, B, multiplier], [R, G, B, multiplier], [R, G, B, multiplier]]
 
Hey guys I have a few colour corrections that I have used on my Tavi server that I thought some of you would like :p

Instructions on how to implement these corrections are in the file below :D

Enjoy them and if you have/find any other cool corrections post them here and I will include them!

Use

Code:
 if (!isDedicated) then {
    [] execVM "fixes\effects.sqf";
    };

Instead of

Code:
execVM "fixes\effects.sqf";

Thanks Cyrq!

Where to I put this code? In the init.sqf in the mission file?
 
Back
Top