Garry's Mod

Garry's Mod

[KNTS] Kaito's Night and Thermal vision System
49 Comments
KannedKielbasa 13 Jan @ 10:28am 
the required entity checkbox always unmarks after starting a new map / doesn't save
Maxwell 2 Jun, 2024 @ 4:59am 
Really great for exploring the darkroom in Gm_construct_13_beta
TheSpaceGentleman 27 May, 2024 @ 8:27am 
How do I see entities through walls?
>Souleyv 12 Apr, 2024 @ 9:54am 
Really great i can now hunt down the "hidden npc" with the thermal goggles.
FlexAir Fan Numba Oneeeee!! 13 Mar, 2024 @ 5:57am 
:steambored:
Shi / Kaito  [author] 13 Mar, 2024 @ 2:05am 
I mean, go ahead, it will take a second to add that to this code anyway. I see you're really dedicated to this subject, so go ahead and make it yourself. I'll update if someone else that doesn't act like a 5 years old child throwing a tantrum asks.
FlexAir Fan Numba Oneeeee!! 12 Mar, 2024 @ 5:42am 
the thermals for the arc9 eft weapons do this and with no impact on performance
its so painfully obvious of your lack of lua knowledge, im better of making it myself
Shi / Kaito  [author] 12 Mar, 2024 @ 5:06am 
I mean I can make the ragdoll glow, if you want to make your PC implode on itself that is. I can add that as an option though, if you ask nicely :)
FlexAir Fan Numba Oneeeee!! 11 Mar, 2024 @ 11:37pm 
another shitty thermal addons that doesnt illuminate the ragdolls... Shi / Kaito will go missing very very soon
.GH0st 19 Feb, 2024 @ 6:38pm 
yeah like a SWEP haha sorry
Shi / Kaito  [author] 19 Feb, 2024 @ 3:08am 
Hello ! You can just have a system to give the entity to only certain poeple. As for your second question, not sure what you mean by "hotbar" ? You mean a SWEP ?
.GH0st 17 Feb, 2024 @ 4:09pm 
would there be any way to limit it to certain jobs (like in DarkRP) or use it as an item in the hotbar?
Shi / Kaito  [author] 8 Jan, 2024 @ 11:52am 
Not sure how I can make that, but I'll try to see what I can do when I've got the time
Habarich 7 Jan, 2024 @ 11:07am 
But no one said that the ones who restart game every ten minutes is the only ones to load very often, it is also a problem for the ones who change maps very often cuz yes, or the ones who loves to play multi map campaigns most of the times
Shi / Kaito  [author] 7 Jan, 2024 @ 10:11am 
Entity settings are setup as sv, and I mean unless you're restarting your game every ten minutes it shouldn't be a problem..
Habarich 7 Jan, 2024 @ 5:21am 
or make the client analog of these options for personal use in the singleplayer
Habarich 7 Jan, 2024 @ 5:19am 
pls, make the setting that removes necessity from taking entity save
Shi / Kaito  [author] 7 Jan, 2024 @ 2:33am 
Hello ! Please use the bind as shown in the description : "enable_thermal_vision" or "enable_night_vision".
You have to "equip" the NVG by having pressed "E" on its corresponding entity, or you can skip this process via the option pannel
friendlyman 6 Jan, 2024 @ 6:03pm 
How do I activate it?
Shi / Kaito  [author] 20 Dec, 2023 @ 12:39pm 
Hello ! Nope, this feature is deactivated by default.
Cody 20 Dec, 2023 @ 9:29am 
does this allow you to see enemys through walls?
[EGN] Blackfire 17 Dec, 2023 @ 1:12pm 
ok i tested it and it works
[EGN] Blackfire 17 Dec, 2023 @ 12:34pm 
ok, ill let you know if there is any more errors
Shi / Kaito  [author] 17 Dec, 2023 @ 6:17am 
Hello there, should be fixed server side :) !
[EGN] Blackfire 16 Dec, 2023 @ 3:34pm 
ok
Shi / Kaito  [author] 16 Dec, 2023 @ 2:57pm 
Update : server-related bug are being slowly but surely all getting fixed, finally made some progess, will continue tomorrow. Corrently working on a dev version will update on stable when finished, thanks for your understanding :D
[EGN] Blackfire 16 Dec, 2023 @ 11:09am 
ok
Shi / Kaito  [author] 16 Dec, 2023 @ 8:16am 
Currently aware on a issue with error at lines 31,158 working on a fix rn, should work okay in some server and always in solo.
Shi / Kaito  [author] 16 Dec, 2023 @ 5:25am 
Hey, addon has been updated. Please let me know about any bugs and/or suggestions.
[EGN] Blackfire 10 Dec, 2023 @ 11:58am 
k
Shi / Kaito  [author] 10 Dec, 2023 @ 6:01am 
Hello there, very late reply, but I'll try to find what's the issue. In the meantime, I'll update the addon to add activation delay and fades.
[EGN] Blackfire 25 Nov, 2023 @ 12:48pm 
when ever im on my imperial rp with this it wont work at all

[[KNTS] Kaito's Night and Thermal vision System] lua/autorun/cl_clientinit.lua:146: attempt to index a nil value

activerVisionThermique - lua/autorun/cl_clientinit.lua:146
unknown - lua/autorun/cl_clientinit.lua:295
unknown - lua/includes/modules/concommand.lua:54
Shi / Kaito  [author] 25 Nov, 2023 @ 1:09am 
What errors do you have ?
[EGN] Blackfire 19 Nov, 2023 @ 10:19am 
it keeps giving me lua errors
Lombaxtard 8 Nov, 2023 @ 12:04pm 
I may be wrong, but I remember precise IR configuration in this

I was merely talking about expanding existing commands selection from "enable_night_vision" to "enable_night_vision; disable_night_vision; toggle_night_vision" which would act for every client accordingly. But you gave me an idea for yet another command like "sv_kaito_admin_only 1/0" + what you said about "oops, nods are broken" message. Plus maybe "sv_kaito_strip_nvg/thermal playername&sv_kaito_give_nvg/thermal playername" for non-Sandbox gamemodes, events, and incorporating it into a loadout by simply using these commands

Anyway, I'm happy with what you gave us already, I just really like extreme control without the need to use lua to cal for functions when same can be done with a bunch of console commands
Shi / Kaito  [author] 8 Nov, 2023 @ 11:33am 
Yep, IR Illumination controls the light's intensity, the fact that it strange how this setting work is not my fault, it's just how the engine was made. I suppose it only takes certain values/"stages" and simply won't modify above that. I think I'll add said delay, I did also recently discover a cool method that can add this kind of "transition". I'll try it (and surely add an option to control that).
And you mean to have options to outright disable usage for nightvision and/or thermalvision ? I could do something better for admin and add a function that acts like "oops, nods are broken" and play a special sound..? Idk, you tell me if you think that's an interesting idea.
I'm not sure I understand everything you're talking about though, but it seems interesting :D.
Lombaxtard 8 Nov, 2023 @ 9:34am 
Great work, sorry for the late reply
Did I mention that I love the sounds? It's one of the better optimized NVG addons now, not to mention neat customizability, all thanks to your enthusiasm
And probably my last thoughts are that there could be a delay between enabling/disabling NVGs&Thermal with fade in after taking them off, as well as brightness slowly going down after just putting them on (simulating eye adaptation). Btw, IR brightness command only works with 0, 1, 2 and so on. So there's no difference between, say, 0.1 and 0.99, therefore default value of 0.4 is actually 0 in terms of achieveable numbers, which is definitely not the "no IR at all".
P.S. And maybe if you care enough, you could add separate enable/disable nightvision (and rename the other one to "toggle"), for some extra control for the situation of making scripted scenarious with cutscenes and stuff without having to reference hooks separately
Shi / Kaito  [author] 7 Nov, 2023 @ 10:22am 
Hello there ! Cvar has been made clear in description, IR's Illumination has been reduced by a lot, added client options to control the looks of the NVGs. Please let me know if you have anything you'd like to see added or fixed.
Lombaxtard 6 Nov, 2023 @ 5:50am 
Awesome, cheers my good friend
Shi / Kaito  [author] 6 Nov, 2023 @ 1:04am 
Free*
Shi / Kaito  [author] 6 Nov, 2023 @ 1:03am 
Will add both, and the command in the description shortly
Convar should be something like kaito_créé_nvgs
Lombaxtard 5 Nov, 2023 @ 2:59pm 
That helped, but not much. Try walking up to a wall with NV enabled, it's still extremely blinding unfortunately... Maybe a cvar to modify intensity in real-time? Btw, what's the command to toggle NV entity bypass? The option in the spawmnenu is there, cvar however is nowhere to be found
Shi / Kaito  [author] 5 Nov, 2023 @ 1:38pm 
Everything should be added. Check description and notes from update.
Shi / Kaito  [author] 5 Nov, 2023 @ 8:17am 
Okay, will change and add everything in the next update. Thank you for all your comments, it's very important for me.
Lombaxtard 4 Nov, 2023 @ 7:37am 
Adding to the previous one, would love to see something like "sv_kaito_free 0/1" to use it anytime.
It's just that it's pretty great, but in some modes having to equip it manually every time is a bit of hindrance, so a little control over that would've been splendid
I also think that IR illuminator is a bit too bright, you can barely see your weapon in pitch black. That's how bright it is
Shi / Kaito  [author] 4 Nov, 2023 @ 3:15am 
Nope lol, easy to add will update.
qie2iqee 3 Nov, 2023 @ 9:45pm 
nice and all. is there a way to take it off?
Shi / Kaito  [author] 1 Nov, 2023 @ 4:54pm 
It's blocked by default, but just so you know it just makes a bright blue hue
Alpharius Omegon 1 Nov, 2023 @ 4:49pm 
What if you enabled both of them?