Garry's Mod

Garry's Mod

47 个评价
Client-Side Night-Vision
由 SweptThr.one 制作
Ever wanted night vision in Garry's Mod? Probably not. Here you go anyway.
2
   
奖励
收藏
已收藏
取消收藏
Binding Night Vision ON Key
Open console and type

bind n "pp_colormod_addb 34; pp_colormod_addg 209; pp_colormod_addr 0; pp_colormod_brightness -1.71; pp_colormod_mulb 0; pp_colormod_mulr 0; pp_colormod_mulg 0; pp_colormod_contrast 2.55; pp_colormod_color 0.07; pp_colormod 1"

Replace n with whatever key you want to press to enable your night vision. I use n because that's what it is from Counter-Strike: Source.

Press N. You have night-vision now.
Binding Night Vision OFF Key
Open console and type

bind m "pp_colormod 0"

Replace m with whatever key you want. I use m because it's right next to n, our toggle on key.

Press M. Your night vision is now off.
OPTIONAL Night Vision TOGGLE Key
Open console and type

pp_colormod_addb 34; pp_colormod_addg 209; pp_colormod_addr 0; pp_colormod_brightness -1.71; pp_colormod_mulb 0; pp_colormod_mulr 0; pp_colormod_mulg 0; pp_colormod_contrast 2.55; pp_colormod_color 0.07

Press enter.

Then type

bind b "toggle pp_colormod 1 0"

Press B. Press B again. You have a toggle key now.
Conclusion
If you've done everything right, you now have some binds for night vision in Garry's Mod. I know it's sub-par and not always working how you'd expect, but I was screwing around with Color Modification and thought I'd share this. This is (should be) allowed on all servers of Garry's Mod, regardless of any variables or gamemode (MAYBE).

Edit (Jan 7, 2018): I cleaned up some stuff, mainly getting rid of the sounds since I found some issues. Also I’ve noticed something somewhere will cause your colormod to be set to some barely more red tint. If you have two separate binds, this isn’t an issue, but with the toggle bind, it is.

Thanks for reading!
12 条留言
DELTA_HELLJUMPER 2024 年 5 月 21 日 下午 9:57 
OHH this is really cool. :D
Pharotech 2023 年 1 月 9 日 上午 6:10 
how do i make it blue? when i put blue it just makes it pitch black
Pharotech 2022 年 8 月 11 日 下午 12:50 
is there a way to make it so you have 2 diferent ones. Like one where its green and one where Its red.so you can click one button for the red NVG's and one for the green ones
долбаеб 2022 年 2 月 9 日 下午 1:16 
xd
Deranged Boo8ie 2021 年 9 月 11 日 上午 8:59 
bruh
Corgis_Ka_Pootis 2020 年 11 月 14 日 下午 7:21 
is there a thermal version of this where is higlights the characters?
Gavir 2020 年 5 月 12 日 下午 5:28 
I get this error when I try to do so. "pp_colormod" = "1" ( def. "0" )
client server_can_execute lua_client
NULLRAD 2019 年 4 月 29 日 上午 10:54 
i got some better results by turning the contrast up and the brightness down a little btw
NULLRAD 2019 年 4 月 29 日 上午 10:52 
all it does is add a green overlay. doesnt actually increase brightness in dark spots. sad.
Holy shit
I need to make mroe accounts to favourite this