Project Zomboid

Project Zomboid

Night Vision [B.41/B.42]
70 Comments
qtica 6 hours ago 
It's a flashlight with a green film lense on top... this isn't NV..
shinii 6 Jul @ 4:52am 
contrary to the post below, the mod is firing errors at players on my server each time the nv's are turned on, on top of this, the mod doesnt actually luminate the map/area/darkness when they're on- infact it just puts a lense/effect over the top, which isnt how I believe this should be working. the errors are manageable, but the sight not working is... iffy. could you provide screenshots to how it should actually work @op.
ShiltonCL 28 Jun @ 11:33pm 
hi nice work, works well with kattaj1 military pack, i have a question about changing batteries, this mod has a vanguard helmet that has night vision option, it works well with your mod, but cant find a way to replace the battery, i read all the comments i saw that you posted something, but it doesn't work with the helmet, i says 0%, and no option to replace recharge the battery appears in the context menu, is there a specific procedure, or im i missing something?, tried with full and used batteries in my inventory, with no effect, can you help me plz!
Arsenal[26] 17 Jun @ 6:19am 
@UMURANGI GIRL

as Nesano posted just below... This NV mods keybind is located in character info window. Not main menu options. Ensure your game is not double binding the NV function. For example, GunFighter assigns a key in the Main menu Keybind section, because the original API did not bind a key iirc. Having (2) keys for the same function will toggle it on & off immediately.

I use this mod and just cleared its default bind in favor of GunFighters keybind so that it works with weapon mounted NV attachments.

I can not confirm anything for B41, as I am opted into B42 now, but it should work.
UMURANGI GIRL 16 Jun @ 5:15pm 
Its not working? I have my nvg's on and im pressing N, but its not working?
Haunraena 12 Jun @ 8:51pm 
is the default bind N?
Zenthynell 21 May @ 1:02pm 
Can you make it so you can able to see the map too instead of being everything dark except cone of view? please, like the other NVG mods thata let you see the map, make that possible pls.
Btuca 18 May @ 4:28pm 
its possible to find the NVG while looting anywhere? i like this mod but even with loot table on abundant i cant find the googles in any guns stone
Nesano 12 May @ 4:58pm 
Nevermind, it was in the last place I ever would've thought to look. It's a tab in the menu to the right of character, skill, health, etc.
Nesano 12 May @ 4:31pm 
Is there a way to change the key binding?
TheLukuro 1 May @ 12:37pm 
nvm it does
TheLukuro 1 May @ 12:33pm 
does this actually add night vision googles to the game or do you have to add those seperately?
Arsenal[26] 29 Apr @ 3:26am 
@marshmallow justice... looks like it should work as the original API commands are the same. But re-bind my [Weapon NV] hotkey as mentioned by [Psychotic X] so it doesn't double toggle the function. I can't verify B41 because i'm stuck in here working on things for B42... but it looks like it should looking at it from way over here.
Dreacon 20 Apr @ 9:51am 
how do I edit the key binding for activating night vision? I have the susceptible mod and that uses the "n" key to put on/take off the gask mask.
marshmallow justice 25 Mar @ 4:18am 
should i use this in palce of night vision api, for brita/gunfighter? will it detect this mod properly?
hydro 2 15 Mar @ 9:32am 
me when i cant google "night vision goggles"
Is Simpada, yes 2 Mar @ 10:04am 
I get this error every time I turn the night goggles on and off, as well as when moving around.

`attempted index: _keymap of non-table: null
function: onRegisterKeymap -- file: ModKeymap_UIPanel.lua line # 14 | MOD: Night Vision
java.lang.RuntimeException: attempted index: _keymap of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:92)
at zombie.input.GameKeyboard.update(GameKeyboard.java:65)
.....
PsychoticX 24 Feb @ 7:37am 
@seanpook +anyone with the "I hear night vision but see no night vision" issue:

The Arsenal Gunfighter mod uses a default "Weapon Night Vision" hotkey "N". This mod also uses "N". So when you hit N, it turns your NVG on and instantly turns it off. You might hear the "click on" and the "power winding down" sounds at roughly the same time.

This took me way longer to figure out than it should have.
seanpook 22 Feb @ 3:13pm 
@kaofan It is multiplayer so on whatever the latest B41 was.
Shimoichi 22 Feb @ 2:37pm 
its nice mod, i think the best with WERY dargk nights, but little bit vroken 1. spavn rates - impossible to found
2. broken 3d textures in-game, googles looks loki idk, half-invisible somethingm, but not googles))
Shimoichi 22 Feb @ 2:35pm 
@Kaofan b42, i am trying to fix textures, but not make it now
Kaofan  [author] 22 Feb @ 2:07pm 
@seanpook

Tell me, on which build is this error?
Shimoichi 22 Feb @ 2:01pm 
@Kaofan i hope tou will make update, with s[acn chanses and fixing exture bug wit googles.
coz 3 places wit spawn its not okay)
seanpook 22 Feb @ 7:33am 
Kaofan, well then I have another problem. We have them on, I hit the N and I hear the sound, but nothing happens. There's no visual difference.
Kaofan  [author] 21 Feb @ 2:03pm 
@seanpook

You go to Character Information and when you go to the right side, there is a button to activate Google.
Kaofan  [author] 21 Feb @ 2:02pm 
@Shimoichi

I need to set the respawn of this item
Shimoichi 19 Feb @ 6:51pm 
@Kaofan
and if that file is correct, i need start new game? or will work on current save?
Shimoichi 19 Feb @ 6:38pm 
@seanpook
you are found googles, or use debug? i cant found it... idk why

@Kaofan hey, is that file i need change for make spawns for googles?
"C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3383603346\mods\Night Vision\42\media\lua\server\items\NVG_distribute.lua"
seanpook 19 Feb @ 6:01pm 
Is this mod dependent on anything and where's the button to turn on the night vision? I don't see an option in the keybindings.
chicken leg 18 Feb @ 1:14pm 
oh thank you!
im probably just stupid as hell or tired lol, sorry for wasting your time-!
Kaofan  [author] 18 Feb @ 12:11pm 
@chicken leg

A long time ago, various Filters were added
chicken leg 18 Feb @ 11:16am 
since this was made as a "successor" to the old API, would you ever consider adding different "filters" for the night vision? like blue, infrared, noiseless blur, etc :3?
Kaofan  [author] 13 Feb @ 4:29pm 
@LordBeanie

Yes
LordBeanie 13 Feb @ 1:55pm 
Is this mod compatible with MP?
What-The-Hell-Is-This 6 Feb @ 4:29am 
There will be a delay in rendering the light block when passing the corner,that makes it simply look like a big flashlight:steamsad:
AfroRobot 5 Feb @ 7:33pm 
also cant seem to change the batteries in the night vision. I'm not particularly upset because it honestly makes finding items like this even more rare and valuable. You have night vision, but once it runs out, its out.
Kaofan  [author] 3 Feb @ 6:47am 
@drshahramanvariazar

Yes
drshahramanvariazar 2 Feb @ 5:40am 
this adds nightvision goggles?
ustbf123 23 Jan @ 7:40am 
@Kaofan

Thank you very much for your kind attention, I will wait patiently for the update to build42.
Kaofan  [author] 23 Jan @ 12:47am 
@ustbf123

Okay, I'll see what happened there, but I bet the coding could have changed in version 42.1. Because the code from this mod is identical to B41. And I think I'll withhold support until B42
ustbf123 22 Jan @ 1:48pm 
@Kaofan

Yes. I tried it with build 42.1, which is an unstable version, as you said.
Kaofan  [author] 22 Jan @ 8:13am 
@ustbf123

Have you tested it yet today, because I see they released the update to version 42.1 yesterday?
ustbf123 21 Jan @ 10:18pm 
@Kaofan

1,With Base.battery in Inventory and nightvison equipped.
2,Press the N key to turn on the nightvison for 2 to 3 minutes, then turn it off.
3,Right click on NV.FMA_GP_NVG_18
4,Click [NV]Battery Status to display one ERROR

By the way, I have not added anything other than this mod.
Kaofan  [author] 21 Jan @ 1:24am 
@ustbf123

To change the batteries you need to have the night vision on and wait a bit, like 2-3 minutes, and then you turn off the night vision, right-click on the item with the night vision and then the number of Batteries will appear where you will be able to change the Battery (if you have a red option with the number of Batteries, it means that the battery is full, if you still have the number of Batteries in red but it is used up, e.g. by 98%, it means that you do not have a battery in the Inventory. Finally, when you have the Battery, you will be able to change the battery).
ustbf123 20 Jan @ 4:50am 
Very nice mod, but in build42, it literally becomes an accessory when you run out of batteries.
How to replace the battery other than in debug mode?
Hellsing 3 Jan @ 5:41pm 
I see it in my mod list but nothing in options little help?
바보헌터 3 Jan @ 7:07am 
The battery cannot be replaced.
Captain Battlekoch 25 Dec, 2024 @ 3:22am 
What kinda logic is night vision drains the players stamina? Like you want to add difficulty use problems with depth perception, use battery drainage, make the night vision a gen 1, where it requires ir flashing, this is stupid.
Hélios 21 Dec, 2024 @ 12:19pm 
cxwwxcwxcwxcwxc:adulterer::mhfury::mhpatchie::KneelingBow:
qerty 20 Dec, 2024 @ 1:07pm 
chatgpt description go crazy