[MOD 0.13] Afraid of the dark - lights, lamps & vision.

Topics and discussion about specific mods
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

[MOD 0.13] Afraid of the dark - lights, lamps & vision.

Post by binbinhfr » Thu Apr 14, 2016 11:34 pm

Infos
  • Type: Mod
  • Name: AfraidOfTheDark
  • Description: Night is too dark for you ? Enforced flashlight and personal lights, powerful balloon lights or a pair of natural tinted night glasses could be the solution !
  • Tested-With-Factorio-Version: 0.13.0
  • Multiplayer compatible: tested on a headless server...
  • Locale: english, french, german
  • Tags: Night vision, Glasses, Lamp, Light, Vehicles
  • License: You are free to use and distribute this mod and also to modify it for personal use, but not to release a modified version without permission (unless visibly not maintained anymore).
  • Portal download : https://mods.factorio.com/mods/binbinhf ... dOfTheDark
logo2.jpg
logo2.jpg (21.57 KiB) Viewed 20290 times
Description
Download
For Factorio 0.13.X :
Please now use the portal for downloads (see link above or use ingame mod install/update), as I won't update both downloads links here anymore.
Last edited by binbinhfr on Fri Aug 05, 2016 5:29 pm, edited 42 times in total.
My mods on the Factorio Mod Portal :geek:

Sander_Bouwhuis
Fast Inserter
Fast Inserter
Posts: 245
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by Sander_Bouwhuis » Fri Apr 15, 2016 6:07 am

Ooooooooooooooooooooooh!!!! This is totally fantastic!

I'm going to try the mod and report back in 15 mins.

Edit:
Ok, just tried it out.

1. The lights are fantastic. They really illuminate an area well.

2. The night vision goggles I can't test yet. This is why I hate the nights: night vision is a late game item because you need blue electronics boards for using them. By that time you normally have illuminated your complete factory anyway.


I checked the mod and it states:
Lamp -> light = {intensity = 0.95, size = 120}
Goggles -> light = {intensity = 0.5, size = 40}

Can you tell me what the original intensity and size is?
I think the lamp is -> light = {intensity = 0.9, size = 40}
I couldn't find the goggles though.

PS
I now see you're the same guy/girl who did the 'Water well' and 'Big bags' mods.
!!!YOU ARE AMAZING!!!

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by binbinhfr » Fri Apr 15, 2016 7:06 am

Happy to make you happy :D

Well I finished this mod a little late last night, so the code is not so clean, even if it works.

Infact the "light" line on the goggles has no effect, it was just a try I made. I forgot to delete this useless line.
On the goggles, the only active variable seems to be the tint, that gave a greenish overlighted feeling. I just suppress this and revamp the item, icon, insert into a technology, etc...

On the light, you are right, the classical lamp is {intensity = 0.9, size = 40} : I tripled the radius, enforce a little bit the light and increase the consumption to be consistent. And of course, I draw a new little look, which took me a lot of time comparing to the rest :lol:
My mods on the Factorio Mod Portal :geek:

seronis
Fast Inserter
Fast Inserter
Posts: 225
Joined: Fri Mar 04, 2016 8:04 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by seronis » Fri Apr 15, 2016 8:02 am

Night vision goggles should not be daylight brightness. You should be able to tell its nighttime, just let it be light enough to see. Easy tweak to make on my own copy though. Great work

Sander_Bouwhuis
Fast Inserter
Fast Inserter
Posts: 245
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by Sander_Bouwhuis » Fri Apr 15, 2016 8:43 am

Indeed, just enough so you can see the surroundings, and still see it's night time.
I'm looking forward to trying the night-vision goggles.

In all honesty, I would prefer leaving the lamp in its original state (picture). Only the light/radius adjustment was needed.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by binbinhfr » Fri Apr 15, 2016 9:08 am

Sander_Bouwhuis wrote:In all honesty, I would prefer leaving the lamp in its original state (picture). Only the light/radius adjustment was needed.
Ha ha, I am afraid that's the way it will remain. Because if you want a greater effect, it seems logical that you have to install a bigger machine. For example, that's the same for electric poles : to get a wider range, you have a bigger pole, less easy to install. All is about balance, nothing is free ;)
seronis wrote:Night vision goggles should not be daylight brightness. You should be able to tell its nighttime, just let it be light enough to see. Easy tweak to make on my own copy though. Great work
Could you tell me what kind of tweak you changed on the glasses to get a little more dark without tinting or greying ? Because I tried a few things and did not find something nice...
My mods on the Factorio Mod Portal :geek:

Speadge
Fast Inserter
Fast Inserter
Posts: 121
Joined: Tue Mar 29, 2016 10:01 am
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by Speadge » Fri Apr 15, 2016 10:07 am

sth i dont understand:

when i'd want to disable game mechanics like the night, I'd use the console.
basically, the glasses dont do sth else in my opinion: thy totally eliminate the night - i dont even get a Feeling for when my solar Panels stop working.

IMHO - i'd prefer a mod that even darkens the 14% brightness at night to about 5% or less...

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.0

Post by binbinhfr » Fri Apr 15, 2016 10:56 am

Speadge wrote:sth i dont understand:

when i'd want to disable game mechanics like the night, I'd use the console.
basically, the glasses dont do sth else in my opinion: thy totally eliminate the night - i dont even get a Feeling for when my solar Panels stop working.

IMHO - i'd prefer a mod that even darkens the 14% brightness at night to about 5% or less...
If you disable the night, you cannot play with the solar panels / accumulators anymore... Thats' why some people want to have more lights in the night.

But if you like darkness, obvisously my mod called "Afraid of the dark" is not the one you need ;) . Have a look at Longer Day/Night Cycles.
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.1

Post by binbinhfr » Fri Apr 15, 2016 12:41 pm

Well, to try to please everyone, here is v1.0.1.

I don't like to add features without research or crafting costs, but I changed the personal lights around the player (the overall circular light and the cone light).
So this feature is enable from the beginning, for free.
You can edit the config.lua file to change the settings of the personal lights :
- you can enforce these lights to lighten up the night just around you, without having the infinite full day vision as with the glasses (try the default settings).
- you can also decrease these settings to get even darker nights (so that Speadge will be happy, because he is NOT afraid of the dark ;) )
My mods on the Factorio Mod Portal :geek:

Sander_Bouwhuis
Fast Inserter
Fast Inserter
Posts: 245
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.1

Post by Sander_Bouwhuis » Fri Apr 15, 2016 3:05 pm

Changing the personal light is a very smart way to do it!

I didn't try the goggles yet, because as I said, I don't have blue electronic boards yet so I can't use them.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.2

Post by binbinhfr » Sat Apr 23, 2016 3:16 pm

here is v1.0.2
Personal light now works when you are inside vehicles : cars, tanks, airplanes and also moving locomotives.
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.3

Post by binbinhfr » Wed Apr 27, 2016 6:47 pm

here is v1.0.3
Improves multiplayer compatibility.
My mods on the Factorio Mod Portal :geek:

Sander_Bouwhuis
Fast Inserter
Fast Inserter
Posts: 245
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.3

Post by Sander_Bouwhuis » Sat Apr 30, 2016 1:37 pm

HUGE thanks!

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.4

Post by binbinhfr » Fri May 06, 2016 6:38 pm

thx Sander !

here is v1.0.4
apply also to all other player types, not only basic player/player (like FARL and YARM avatars).
My mods on the Factorio Mod Portal :geek:

User avatar
withers
Fast Inserter
Fast Inserter
Posts: 125
Joined: Fri Apr 08, 2016 4:54 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.5

Post by withers » Fri May 13, 2016 9:42 am

What if the night is dark and full of terror? What then???

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark 1.0.5

Post by binbinhfr » Fri May 13, 2016 11:16 am

withers wrote:What if the night is dark and full of terror? What then???
then
Image
My mods on the Factorio Mod Portal :geek:

User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 179
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD 0.12.X] Afraid of the dark - improved lights & vision.

Post by sporefreak » Fri Jun 17, 2016 12:27 am

getting an error
ERROR

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark - improved lights & vision.

Post by binbinhfr » Fri Jun 17, 2016 7:11 am

sporefreak wrote:getting an error
ERROR
Hi,

it probably comes from an incompatibility with one of your other mods.
Do you have mods that creates alternate player characters / cars / tanks / locomotives ? Please send me your mod-list.json to be sure.
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1523
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: [MOD 0.12.X] Afraid of the dark - improved lights & vision.

Post by binbinhfr » Fri Jun 17, 2016 7:40 am

Until underdstanding what's the problem, to avoid the error, I added a test, so please download v1.0.6 .
My mods on the Factorio Mod Portal :geek:

User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 179
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD 0.12.X] Afraid of the dark - improved lights & vision.

Post by sporefreak » Fri Jun 17, 2016 5:33 pm

binbinhfr wrote: it probably comes from an incompatibility with one of your other mods.
I have no doubt.
binbinhfr wrote: Do you have mods that creates alternate player characters / cars / tanks / locomotives ? Please send me your mod-list.json to be sure.
Oh boy do I
1.0.6 srrmd to have fixed the issue. Thanks!
modlist.json

Post Reply

Return to “Mods”

Who is online

Users browsing this forum: canisin