Page 1 of 1

Need Help Please: Night totally Dark

Posted: Thu Dec 04, 2014 4:38 pm
by TheSAguy
Is there a way to make night times totally dark?

I’ve gone through all the code in “Factorio\data\base\prototypes” and did not find this.

I changed all the “minimum_darkness = 0.3” to “minimum_darkness = 0” and that did not affect the night not being totally dark. It looks like this only affects the light sources of items. Not the actual Day/Night cycle.

The code I found below, only affects the light around the player and the player’s light cone:

Code: Select all

light =
    {
      {
        minimum_darkness = 0.3,
        intensity = 0.4,
        size = 25,
      },
      {
        type = "oriented",
        minimum_darkness = 0.3,
        picture =
        {
          filename = "__core__/graphics/light-cone.png",
          priority = "medium",
          scale = 2,
          width = 200,
          height = 200
        },
        shift = {0, -13},
        size = 2,
        intensity = 0.6
      }
    }
Dev’s, is it possible to go totally dark/black at night?

Appreciate the feedback!
Thanks.

Re: Help with Day / Night Cycle

Posted: Fri Dec 05, 2014 12:31 am
by L0771
I think you need modify player entity.
In entity "player", property "light", you have "minimum_darkness" (default = 0.3)
Minimun darkness in the game is 0.3 (tested with game.darkness), maybe when changes this, night can be more dark