Need Help Please: Night totally Dark

Place to get help with not working mods / modding interface.
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1455
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Need Help Please: Night totally Dark

Post 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.
Last edited by TheSAguy on Mon Dec 08, 2014 4:59 pm, edited 1 time in total.
User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Help with Day / Night Cycle

Post 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
Post Reply

Return to “Modding help”