Night Lighting Config - ZenarchistCode/ZenModPack GitHub Wiki

What Is This?

This mod allows you to randomize the chance of bright and dark night lighting config each restart.

There are two options: one is random on each restart, the other is dependent on the weather's overcast value when night begins.

Config Example:

Config file: profiles/Zenarchist/ZenNightConfig.json

{
    "OvercastToTriggerDarkNights": 0.6, // Overcast level between 0-1 to trigger a super dark night when night falls
    "UpdateOvercastLightingAnyTime": 0, // This will make night lighter/darker MID-session depending on overcast (looks a bit janky sometimes - recommend leaving disabled unless you set overcast level very high like 0.9)
    "ChanceOfDarkNight": 0.0, // This will override the above - random chance of a dark or light night config being selected on server startup. Value is between 0-1 (1=100%)
    "BrightNightLightingConfigID": 0, // This is the ID of a bright night 
    "DarkNightLightingConfigID": 1 // This is the ID of a dark night (this number can be different on some maps, like Namalsk is 222)
}

Master Config

To disable this mod set "ZenNightConfig": 0 in %server_profile/Zenarchist/Utilities/ZenModPackConfig.json