Garry's Mod

Garry's Mod

Disable Lighting Tool
34 Comments
Wolƒe Strider 2 May, 2024 @ 11:55am 
Check your GitHub issues please
Iced Coffee  [author] 10 Feb, 2024 @ 6:39pm 
should be fixed now :steamhappy:
Electricstar 10 Feb, 2024 @ 2:18pm 
It seems the latest update is causing errors, every time I load up a map it gives me that warning. It didn't have this issue after the second-to-last update however, just the latest one sent out late last night.
AOUwUOA 7 Jul, 2023 @ 4:16am 
r_fullbright 1
take me high 20 Sep, 2022 @ 6:43am 
Could you make one that can set by spawnmenu?
Classy 16 Jun, 2022 @ 9:05pm 
This makes props turn white if you change the texture and use the flashlight
Almighty Laxz 17 Apr, 2022 @ 6:42am 
hthank u i rated 5 star and favorited the adon . tnhank u for the coperation
Iced Coffee  [author] 17 Apr, 2022 @ 6:40am 
ok fixed
Almighty Laxz 17 Apr, 2022 @ 6:26am 
iced coffee fix the light tool immediate now it is broken of the broken variety., i will formal request u fix this immediate.. i click prop and it disableds the light .... it is not work where is the light ?? :box: fix fix fix befo i play the jame again of i will request the ermoval of iur broke adon on the shop. do now. thank u :steamthumbsup:
12180818alex 16 Apr, 2021 @ 12:58am 
Yup, it's fixed. Thank you!
Iced Coffee  [author] 16 Apr, 2021 @ 12:33am 
pushed an update that should fix that. let me know how it goes
12180818alex 15 Apr, 2021 @ 3:14pm 
Hello, I was using this tool very effectively until the last update. Since the last update, I can't disable light of handfull of ragdolls (hl2, tf2 etc) and even some props such as ammo container from half life 2. Is this an error? If it is, can you fix it please?
Iced Coffee  [author] 18 May, 2020 @ 11:43pm 
updated with effect support
Okxa 14 May, 2020 @ 4:00am 
Effects (The green ringed things) do have lighting, they are just model without a physical hitbox model.

If there is a effect which is unlit by default, it probably uses a material which ignores lights: https://developer.valvesoftware.com/wiki/Glowing_Textures

When I used this tool (the old version atleast) on effects, it only changed the effect ring to a unlit watermelon.
Iced Coffee  [author] 14 May, 2020 @ 1:44am 
i've updated it with dupe/save support and changed how it works a little behind the scenes. let me know if it works how you would expect it.
also i dont think effects have any lighting by default. you could make them darker by just changing their color with color tool.
Okxa 13 May, 2020 @ 9:33am 
Pretty good, however, save and load do not work. (Similiar lua error as alicornnighmare had, but I only used this tool on the props)

Also this cannot be used for effects. Would be cool if you figured a way to disable lighting on them too.
Kaleidø.vtf 1 Apr, 2019 @ 1:58pm 
name: DISABLE LIGHT TOOL THING
what it does: IT GIVES LIGHT
me: *claps*
missbe 25 Dec, 2017 @ 2:25pm 
oh good idea.
Iced Coffee  [author] 25 Dec, 2017 @ 1:29pm 
just set the color of it to dark gray or something
missbe 25 Dec, 2017 @ 10:36am 
PLS
missbe 25 Dec, 2017 @ 10:34am 
can you do that I can set on less light? Cus this is too light!
AlicornNightmare 23 Nov, 2017 @ 11:30pm 
Yes, that did it! The error's now fixed, saving me having to rebuild a complex scenebuild from scratch. Thank you so much!
Iced Coffee  [author] 22 Nov, 2017 @ 5:18am 
I was unable to reproduce the error but I've attempted to fix the error again, let me know how it goes.
AlicornNightmare 21 Nov, 2017 @ 10:54pm 
I'm afraid the error is still present:

"[Disable Lighting Tool] lua/entities/prop_physics_nolighting.lua:17: Tried to use a NULL entity!
1. GetColor - [C]:-1
2. Draw - lua/entities/prop_physics_nolighting.lua:17
3. unknown - gamemodes/base/entities/entities/base_anim.lua:50"

Some more info:

*Map is gm_black_v3 with a reflective surface
*Map has numerous props that the disable lighting tool was used on
*Said props have been set to move with the stop motion tool
*There is one spawned lamp and two lights
*The error vanishes when I use the admin-clean up option.
Iced Coffee  [author] 21 Nov, 2017 @ 6:49pm 
I've updated the addon to fix this error, let me know if you still have any issues
AlicornNightmare 20 Nov, 2017 @ 9:08pm 
I'm having problems when using this tool in conjunction with the stop motion animation helper: whenever I save a scene and come back to it, I get an error message that reads:

"[Disable Lighting Tool] lua/entities/prop_physics_nolighting.lua:16: Tried to use a NULL entity!
1. GetColor - [C]:-1
2. unknown - lua/entities/prop_physics_nolighting.lua:16"

Does anyone know how to fix this?
bill 28 Oct, 2017 @ 4:10am 
oh alright,now i dont have to lag with lamps faced at props when it doesnt do jack shit,thanks.
Iced Coffee  [author] 28 Oct, 2017 @ 2:50am 
this is for individual props, not the whole map
bill 28 Oct, 2017 @ 2:49am 
nibba i think its easy as typing mat_fullbright 1 into console
Nephrite Harmony 27 Oct, 2017 @ 9:57pm 
better known as uh

i forget what it's called, when you have it spawned in just a dev room
Almighty Laxz 25 Oct, 2017 @ 12:35am 
wow now thats a very nise license u have there im going 2 have 2 commend this
Gunman007 24 Oct, 2017 @ 3:15pm 
w0w this will really help for MoonmanRP
Thanks fam
MotherSoren 24 Oct, 2017 @ 7:31am 
thanks
Suspeccct 24 Oct, 2017 @ 2:59am 
Very good tool helped me build my awesome store in MemeRP.