Boose

Pitch black nights

10 posts in this topic

Can anyone tell me how to change the nights so they are pitch black? 

I have tried making it always cloudy

Changing the dates the server starts 

But alas to no avail ! 

Share this post


Link to post
Share on other sites
Advertisement

Hi

Arma uses real life weather cycles and moon cycles, so google a date where there is no moon and apply that date with an overcast setting of 1.

Should be darker then.. stuff..

Share this post


Link to post
Share on other sites

Easier to get pitch black with a color filter on like;

correction.sqf:

"ColorCorrections" ppEffectEnable true; 
"ColorCorrections" ppEffectAdjust [0.88, 0.88, 0, [0.2, 0.29, 0.4, -0.22], [1, 1, 1, 1.3], [0.15, 0.09, 0.09, 0.0]];
"ColorCorrections" ppEffectCommit 0;

"filmGrain" ppEffectEnable true;
"filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
"filmGrain" ppEffectCommit 5;

"ColorCorrections" ppEffectEnable true;
"ColorCorrections" ppEffectAdjust [0.89, 0.89, -0.001, [0.2, 0.2, 0.2, -0.1], [1, 1, 1, 0.9], [0.35, 0.25, 0.25, 0]];
"ColorCorrections" ppEffectCommit 0; 

Exec it from InitPlayerLocal.sqf

[] execVM "scripts\correction.sqf";

 

Share this post


Link to post
Share on other sites

Hi

Arma uses real life weather cycles and moon cycles, so google a date where there is no moon and apply that date with an overcast setting of 1.

Should be darker then.. stuff..

Thanks for the replies - yes i test the moon cycles and they are correct, the issue is related to exile as running without exile gives me pitch black nights!

Im going to try the above code - cheers @Inq - Disabling exiles one would do the trick! -any idea on that

 

Share this post


Link to post
Share on other sites

Any way to have that color effect executed on a specific time of day and reset during daytime?

try a day night check like this you can edit it to be smaller I use this for a skip time event

ENV_TIME_DAY = 08; //day time starting
ENV_TIME_NIGHT  = 21; //night time starting

while {isServer} do {
if (SkipTimeDay == 0) exitWith {}; //aborts code if using skip time system
_WaitingForDay   = (_this select 0) * 60;
_WaitingForNight = (_this select 1) * 60;
_SkiptDuration = (_this select 2);
currentTime = daytime;

while {true} do {
	if ((daytime > ENV_TIME_NIGHT) or (daytime < ENV_TIME_DAY)) then {

		if (_WaitingForNight == 0) then 

			{
            //code here

			} else 	{
            //code here
			
			sleep _WaitingForNight;
			};

		} 	else {

		
		sleep _WaitingForDay;		
		};
	currentTime = daytime;	
	};
};

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.