Project Zomboid

Project Zomboid

1,282 ratings
Night Vision API
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
14.138 MB
Mar 10, 2022 @ 8:55am
Mar 10, 2022 @ 12:16pm
2 Change Notes ( view )

Subscribe to download
Night Vision API

Description
!!!! NOT BEING SUPPORTED !!!!

I'm not sure about the state of this mod, but I'm no longer supporting it. Thank you for the interest




Introduction

NVAPI is a Night Vision API designed to help modders integrate night vision capability to their assets.



Features

* one can see through the darkest night
* view brightness is proportional to the amount of ambient light
* players around can't see one's visibility cone when activated
* 4 filter mods: noiseless, linear blur, infrared and xray
* many sound effects
* item shatters if it falls to the ground
* item can be repaired
* item is battery powered
* item shutdowns when it runs out of battery charge
* item refuses to turn on when there is no charge



Who is using this API?

Night Vision Goggles



Is it difficult to integrate the API into my mod?

Not at all. You just tag the item as Night Vision Capable and provide a hotkey to toggle the view.


Usage

subscribe the mod and open up the file "README.md" for examples

Workshop ID: 2776633989
Mod ID: NVAPI
90 Comments
Omni Aug 23 @ 11:25am 
There are still many mods that rely on this mod. It's okay if you no longer support it but please keep it on the workshop!

Thank you for your work! :healthvial:
Sonov Belial Aug 23 @ 7:39am 
@ricochete So far is still working ( at least here ) but please, if possible, do not delete it from the Workshop thanks mate ;)
ricochete  [author] Aug 23 @ 5:51am 
I'm not sure about the state of this mod, but I'm no longer supporting it. Thank you for the interest
chrisyowyow Jul 4 @ 2:48pm 
Can we get controller support for this? it bugs out the menu and cant press L1/R1
Zulumbaba May 1 @ 1:13pm 
Added this mod late into my heavy modded world, all is working perfectly fine, had to figure out why I couldn't change [NV] Filter or [NV] Brightness, though it was the battery but nope, turns out if you have a thermal scope and NVGs it's a bit finicky to change both their settings without dropping one or the other, also got some weird sound like a breaking bone while I was playing around, thought I bricked something since the breaking bone sound always played after trying to use N to power them on.
Also, they make a bit too much noise and because of that the [NV] Auto toggle from Arsenal26 is unusable unless you're gigachad and edit the sound files yourself.
Thatch Apr 4 @ 9:15am 
corrupted my save :steamhappy:
xBarba_Negra Jan 11 @ 5:15pm 
For those who have the error of pressing "N" and only making the sound and not activating night vision.
Press "H" to open your character panel, go to the right option until you find "ModKeyMap"
and change the "N" key to something else, and it will work
SpartanH347 [FR] Dec 27, 2023 @ 7:57am 
Same for me
Ciprandi Dec 21, 2023 @ 10:45am 
when I press N, it makes the sound, but doesn't work
Zak Nov 24, 2023 @ 2:02pm 
I cant remove my weapon from hands

Callframe at: setAttachedItem
function: animEvent -- file: ISUnequipAction.lua line # 54 | Vanilla.
[24-11-23 22:00:42.852] ERROR: General , 1700863242852> 21,376,653> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor593.invoke..
[24-11-23 22:00:42.852] ERROR: General , 1700863242852> 21,376,653> DebugLogStream.printException> Stack trace:.
[24-11-23 22:00:42.869] LOG : General , 1700863242869> 21,376,670> -------------------------------------------------------------
attempted index: setDrawDirty of non-table: null.
[24-11-23 22:00:42.870] LOG : General , 1700863242870> 21,376,670> -----------------------------------------
STACK TRACE