Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I created small script. It add actions with all effects to test it. (U need exec Sky.sqf)
Sorry for my bad english ;C
No,only for admins to test all effects.Cool, is it as simple as adding [] execVM "Sky.sqf"; or is there something else as well?
hey took this and added it to my admin tools.I created small script. It add actions with all effects to test it. (U need exec Sky.sqf)
Sorry for my bad english ;C
pathtosky = "admintools\sky\";
EXECscript6 = 'player execVM "'+pathtoskins+'%1"';
showCommandingMenu "#USER:adminmenu";
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"]
];
I'll work on a script to cycle through the supplied color corrections (and a bit more) every 10 seconds and list it in the hint box.can someone tak an screenshot of all the colour corrections?
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");
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;
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..
// 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;
};
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![]()
[brightness, contrast, gamma, [R, G, B, multiplier], [R, G, B, multiplier], [R, G, B, multiplier]]
S
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
Instructions on how to implement these corrections are in the file below
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?