Brave New World

by canidae

RTS-like scenario for Factorio. Player character is removed, all work must be done by bots

Scenarios
2 years ago
0.16 - 1.1
8.98K

g Night vision: [THINKING]

4 years ago

Is there a way to use night vision when using BNW? Thanks!

4 years ago

That's an interesting question. The distinction between 'on the ground' mode and 'radar mode' is significantly less important for BNW, so you can just do everything from 'radar mode' where night vision is not an issue.

I'll look into some sort of permanent night vision thing though. That seems like something you just ought to have always given the scenario.

3 years ago

BTW:
I use https://mods.factorio.com/mod/inbuilt_lighting as workaround. It adds a light to every powerpole.
It looks also very cool compared to night vision

3 years ago
(updated 3 years ago)

I've wrote my own little mod to tackle this. I'm not publishing because it's such a niche case that is likely just noise for other players. I'll share it here so you can add it to this mod if you think it's worth it.
Imo it would make sense to enable this when the night-vision research is complete (in BNW).

To enable locally;

  • create a dir in appdata/factorio/mods like; 'forever-night-vision_0.0.1'
  • add info.json with
{
  "name": "forever-night-vision",
  "version": "0.0.1",
  "title": "Forever Night Vision",
  "author": "Mortu",
  "factorio_version": "1.1",
  "dependencies": ["base >= 1.1"],
  "description": "Enable night vision. No questions asked."
}
  • add data-updates.lua with;
-- insert the nightvision LookUpTable (LUT) from core,
-- over the night-LUT for the player/default;

local filename = "__core__/graphics/color_luts/nightvision.png"
local drd = data.raw["utility-constants"].default

local dc = drd.daytime_color_lookup
dc[4][2]=filename
dc[5][2]=filename

-- ...and for the map;

local ztwdc = drd.zoom_to_world_daytime_color_lookup
ztwdc[2][2]=filename
ztwdc[3][2]=filename

I've took inspiration from the code of Vil's clear NV, Night Brightness, Afraid of the Dark.

New response