Jump to content
  • 0

[RELEASE]Perfect Night Time Settings! (Within EPOCH)


DirtySanchez

Question

Now use the Epoch Config to setup a perfect nighttime
https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_config/Configs/CfgEpochClient.hpp#L62

Use this:
niteLight[] = {1,666,10000};

The 666 is a very nice and bright night
420 is moderate nights and should be the goto brightness here
300 is dark enough to call hardcore but still playable af






Old Info using color corrections:

Yes guys this is not too hard to accomplish

Steps:

1. Find your moonlit night and time for server start

2. Play around with some corrections

3. start your server

Answers ye all seek:

1. In your epochconfig.hpp change this line

StaticDateTime[] = {2035,6,10,21,30};

2. call this corrections.sqf from your init.sqf

[]execVM "corrections.sqf";

Save this code as corrections.sqf and put it in your mission folder.

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

3. FUCKING ENJOY!

Update: play around with the 0.04 setting for gamma changes. 0.06 is perfect for an all night server. 0.04 was tested on day and night and was not too washed out during the daytime.

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

Will this also correct the night time settings if you dont have a static date/time, or does it have to be static?

If you want the time to be set to night, you would have to set that in you epochconfig.hpp

I run these settings on a map that is always day and can be voted or admined to nighttime.

If you are going to run an all night map you can change the 0.04 to 0.06 in the corrections file the third number in the array

Link to comment
Share on other sites

  • 0

Sorry, I mean that our server runs a day night cycle at the moment. When it does eventually get dark (about 30 minutes before restart), will these colour corrections work?

Your instructions say to set a date and time in them:

1. In your epochconfig.hpp change this line

StaticDateTime[] = {2035,6,10,21,30};

Link to comment
Share on other sites

  • 0

Gotcha, that staticdatetime was put in there for the perfect nighttime date and time for full moon.

You are welcome to use the setup with whatever you want in regards to time.

As I mentioned I currently have Altis on All daytime with these settings and we sometimes vote it into night.

The corrections are setup for a day and night server.

I also mentioned if you are running an ALL night server like I am with Esseker, it would be perfect to use these:

"ColorCorrections" ppEffectEnable true;
"ColorCorrections" ppEffectAdjust [0.88, 0.88, 0.06, [0.2, 0.29, 0.4, -0.22], [1, 1, 1, 1.3], [0.15, 0.09, 0.09, 0.0]];
"ColorCorrections" ppEffectCommit 0;
Link to comment
Share on other sites

  • 0

Now use the Epoch Config to setup a perfect nighttime
https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_config/Configs/CfgEpochClient.hpp#L62

Use this:
niteLight[] = {1,666,10000};

The 666 is a very nice and bright night
420 is moderate nights and should be the goto brightness here
300 is dark enough to call hardcore but still playable af

This info was also added to the OP for new viewers

Link to comment
Share on other sites

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
  • Discord

×
×
  • Create New...