Script for Dark Night ? :x...

Place to get help with not working mods / modding interface.
Post Reply
User avatar
PanTobi
Fast Inserter
Fast Inserter
Posts: 122
Joined: Fri Feb 05, 2016 12:34 am
Contact:

Script for Dark Night ? :x...

Post by PanTobi »

I'm working on Map and i need Dark Nights like in this Mod: https://mods.factorio.com/mod/DarkNight

But i don't want to use Mod because
1) its gonna be MP Map and some ppl may not want to download this Mod only to play this Map
2) i don't want to include Mods to this Map :3...

I wanted to copy paste scripts from this mod to Scenario Folder, but it contains some Graphics and lel... no control.lua
so idk how to include it anywaa xDDD

any help ? :x...

plz?


//Edit:
:)
He He

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2620
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Script for Dark Night ? :x...

Post by darkfrei »

https://lua-api.factorio.com/latest/Lua ... brightness

Code: Select all

/c game.player.surface.min_brightness = 0.05

User avatar
PanTobi
Fast Inserter
Fast Inserter
Posts: 122
Joined: Fri Feb 05, 2016 12:34 am
Contact:

Re: Script for Dark Night ? :x...

Post by PanTobi »

Wow Nice <3
Thank You ^_^

i was testing some settings and:
Image

Code: Select all

/c game.surfaces[1].brightness_visual_weights = {  1.4, 1.4, 1.4 }

Post Reply

Return to “Modding help”

Who is online

Users browsing this forum: No registered users