Garry's Mod

Garry's Mod

(not really) Fixed Night Vision
59 Comments
SHAURMIST Aug 23 @ 2:42am 
это надо быть гением что бы создать мод но не написать как его использовать блять
SPRÏNTY Aug 21 @ 9:08am 
💔
Night_Sniper  [author] Aug 21 @ 9:05am 
а то :steamthumbsup:
quitmicee Aug 20 @ 11:23pm 
мод хуетень
SPRÏNTY Aug 3 @ 3:35am 
Real
Night_Sniper  [author] Aug 3 @ 3:30am 
I swear to FÚCKING god, half you mfers tell me it's broken, then other half tell me it's working. I can't be fúcked to figure out what is what at this point.
shameless Aug 3 @ 12:06am 
you should remove part "(not really)" cause it's working like perfection, no lua broblems, no errors, just addon
SPRÏNTY Jul 1 @ 9:09am 
Sorryyyyy :'3
Night_Sniper  [author] Jul 1 @ 9:05am 
well fuck
I really can't be fucked to fix whatever the heck else got broken with gmod updates
SPRÏNTY Jul 1 @ 8:11am 
okay nvm its making errors too-

[Fixed Night Vision] bad argument #3 to 'Add' (function expected, got nil)
1. Add - lua/includes/modules/hook.lua:31
2. unknown - lua/autorun/client/nvscript.lua:277
3. unknown - lua/includes/modules/concommand.lua:54
SPRÏNTY Jul 1 @ 8:04am 
tysm for the fix lol, it was getting very annoying
if it's not hard, could you add an option to remove the scanlines?
edl411 Apr 8 @ 6:27pm 
Does anyone get a white slashed border on their screen when they turn this on?
I saw a YouTuber use this in a Adrian Shephard instead of Gordon type thing and he had this on fullscreen. How do I make it like that?
Gordon, GORDAN! Nov 8, 2024 @ 4:50pm 
I think this mod would be worth the time to fix up, though if something IS indeed broken, It's a novel little flashlight alternative.
Gordon, GORDAN! Nov 8, 2024 @ 4:49pm 
The mod is still working for me but it can be a bit finnicky with my addon lists
sometimes, I get a white cross across my screen and behind it, I don't seem to see any illumination.
Shadowman Sep 13, 2024 @ 5:13pm 
to bind it to toggle is just bind key nv_togg
Secret Jun 28, 2024 @ 7:16am 
how do I bind it tho
Ɛ=3 ♡MeloDoggy♡ Ɛ=3 Jun 14, 2024 @ 9:50pm 
I feel a little silly now, while I didn't exactly fix the issue, I can just bind the toggle, so it's really more of a convenience thing than a real issue
Ɛ=3 ♡MeloDoggy♡ Ɛ=3 Jun 14, 2024 @ 9:05pm 
isib also completely turns it out before the goggles actually go off, probably a problem with how darkness is detected then? or possibly *where* darkness is detected, as the eye trace mode does work, it's just a tad fickle by nature
Ɛ=3 ♡MeloDoggy♡ Ɛ=3 Jun 14, 2024 @ 9:03pm 
seemingly works fine for me, sensitivity controls for auto enabling it seemingly change nothing though, some pitch-black areas just refuse to trigger ID
Night_Sniper  [author] Apr 18, 2024 @ 11:19pm 
*sigh*

Gmod updates broke something again, most likely. If this persists, I will just delete the mod because I can no longer update it (thank Steam, and it's updates breaking netcode on old OSs)
GammaEnjoyer Apr 18, 2024 @ 3:27pm 
Getting same error as Suchomemus, similarly does not get fixed by disabling mods...
Suchomemus Apr 18, 2024 @ 3:01am 
Hey, I was trying out your mod and started getting LUA errors as well. I've changed every setting I could to see if it would fix anything and disabled every single mod I have, but the error persists

[Fixed Night Vision] lua/autorun/client/nvscript.lua:211: bad argument #2 to 'SetTexture' (ITexture expected, got nil)
1. SetTexture - [C]:-1
2. v - lua/autorun/client/nvscript.lua:211
3. unknown - lua/includes/modules/hook.lua:96
Night_Sniper  [author] Apr 10, 2024 @ 1:51am 
Fuck around and find out
ACCESS DENIED Apr 10, 2024 @ 12:30am 
does toggle speed get faster at a lower number or the opposite?
Habarich Mar 29, 2024 @ 8:03am 
it seems it works now fine, need some time to see if it will work fine further
Night_Sniper  [author] Mar 29, 2024 @ 7:43am 
Decrease alpha pass to zero. Sometimes bugs out and I have no idea why.
Habarich Mar 29, 2024 @ 7:06am 
okay what the hell, i just entered a new map and when i turn on night vision, it just white whatever i do
https://imgur.com/a/Q0YIOfZ
Habarich Mar 29, 2024 @ 5:37am 
oh shit, i am blind as hell, i found it a minute after a previous comment
Habarich Mar 29, 2024 @ 5:35am 
Is there a way to remove this black overlay on the sides of a screen? Maybe i am blind but i couldn't find anything like that
edl411 Mar 20, 2024 @ 9:02am 
Just wanted to say that I'm using this addon now and I'm really that I can use this night vision without the constant error popups. Thank you.
Varefal Nov 25, 2023 @ 1:19pm 
Thanks for the mod! I coupled it with a disable flashlight mod and binded in to "f" and now I've got
Half-Life Opposing Force: Source ( bind f nv_togg )
Night_Sniper  [author] Jun 19, 2023 @ 12:11am 
i dont know and i dont care. Prolly just not enough rates in total. Steam pretty much refuses to give 5 stars if the thing doesn't have literally no negative feedback and less than 1000 rates.
edl411 Jun 18, 2023 @ 4:04pm 
uhh, why does this have a lower rating than the original?
Night_Sniper  [author] Jun 11, 2023 @ 11:06am 
what the actual...
Rjsolera Jun 11, 2023 @ 11:04am 
I need help: the thing just starts going on and off as I move and it also starts going "black" like if my avatar was blicking constandly, can it be fixed?
Flare May 20, 2023 @ 10:32pm 
too bright in the dark.
Night_Sniper  [author] Apr 28, 2023 @ 7:17am 
I know this white\black screen effect is a super finnicky mf. It happens when you try to change in-game graphics settings (any of them) midgame, ot happens when you try to use too many dynamic lights, it happens when... all the damn time, honestly. All I know is that it stopped happenning when I yeeted Apha Pass amount to 0. Well, it still happens on settings switch.
Zynderion Apr 28, 2023 @ 7:13am 
Very late, but a possible fix to the "white screen" effect could be to enable the bloom effect in the NV settings. I was getting a white-ish screen at Alpha Pass 5, but enabling that stopped it completely. You can take my instructions with a grain of salt, though.
Night_Sniper  [author] Sep 9, 2022 @ 1:29pm 
yes, use "bind (button) nv_togg"

Its really THAT obvious if your attention span on description is worth half of it.
Tokarov Sep 9, 2022 @ 1:25pm 
can I bind this ?

:metromask:
zaruba za rubl' Jul 21, 2022 @ 12:06pm 
ERROR ADDON
ThatCat Jun 5, 2022 @ 6:16am 
I have also gotten that error, presumably due to a similar addon conflict.
Night_Sniper  [author] May 30, 2022 @ 11:09pm 
So... I playedaround with the function that was giving that error and couldn't recreate it.
Whatever that error you've got here is most likely due to certain mods conflicting with that one.
dvache May 29, 2022 @ 1:25pm 
[Fixed Night Vision] bad argument #3 to 'Add' (function expected, got nil)
1. Add - lua/includes/modules/hook.lua:31
2. unknown - lua/autorun/client/nvscript.lua:277
3. unknown - lua/includes/modules/concommand.lua:54 (x3)
Soldier96 Apr 3, 2022 @ 6:35am 
@YT_TylerGamerPhung you can,just type in console bind n nv_togg or any other key on the n place and there you go
TylerGamerPhung Apr 2, 2022 @ 4:24pm 
can you bind key on nightvision goggle?
Mongol Feb 13, 2022 @ 6:38pm 
ive been using console commands like a dunce for the past few days because I didn't realize there was a menu, i was playing around with settings, but i was doing it in the most idiotic way possible
Night_Sniper  [author] Feb 11, 2022 @ 4:26pm 
Alpha Pass Amount and, GOD, next time play around with settings yourself.
Mongol Feb 11, 2022 @ 4:11pm 
what is alpha, im haveing the same problem as imortico