Garry's Mod

Garry's Mod

368 ratings
Classic Light Stool
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool, Effects
File Size
Posted
Updated
119.471 KB
5 Nov, 2012 @ 3:37pm
19 Dec, 2012 @ 10:19pm
2 Change Notes ( view )

Subscribe to download
Classic Light Stool

Description
Don't like the new light stool? Want to go back to a simple bulb/light orb to light up hallways or create special effects in your comics/machinima like the one in Garry's Mod 11? Now you can with the Classic Lightbulb Stool!

It has the fully customizable rope tether, colors, brightness, and radius settings that the GMod 11 Light Stool did. It's also usable as a prop, just like in the old days. As a bonus, it does NOT overwrite the new light stool and has its own cleanup options, so you can use them both in tandem!

Credits: Garry Newman for the Light Stool, of which this code was loosely based off of.

(Updated! There was a model I used that gave the Classic Light nice ball-like physics, but it turned out to be from HL2:EP2 and not HL2 like I thought. Rather than telling everyone to go out and buy ep2, I simply ripped the model and updated my content accordingly. Sorry for the inconvience!)

NOTE: Several friends and fellow Gmodders have tested this mod on their server and confirm it works well. The default maximum spawn limit of the Classic Light is set for 10, however, admins can change this in the console by this command: sbox_maxclassiclight + the limit you want to set. For example, if you wanted the limit to be 100, you would type "sbox_maxclassiclight 100" in the console. Thank you server admins for testing this for me!
92 Comments
Uncle_Gary 23 May, 2023 @ 2:36pm 
Can you make the lights flicker?
I Shaved a Rock 3 May, 2023 @ 9:20am 
that's also pretty creative.
Cougarmint  [author] 2 May, 2023 @ 4:39pm 
That's a very creative use of this mod!

If I need stars, what I do is put the brightness and radius at minimum and attach them to the sky. Results vary, but it usually does the trick!
I Shaved a Rock 1 May, 2023 @ 1:50pm 
wanna know a trick with this?
if you want to make the sun but you can't get the actual env_sun to get into your frame, spawn one of these lightbulb stools and put it really close to a camera you're using.
Cougarmint  [author] 3 Sep, 2021 @ 4:57am 
I still haven't figured out what is causing this bug or how to fix it. If I can ever figure out the fix, or if someone wants to look over my code and see what I may have screwed up on, I'd be more than happy to implement that fix into the addon. I also apologize for the inconvenience, but I hope this workaround helps at least somewhat.
Cougarmint  [author] 3 Sep, 2021 @ 4:57am 
Okay, everyone, I found a workaround for the Classic Lights that get broken/stuck after saves and/or duplications. Unfortunately, this doesn't make them usable again, but it does clear it so that you can redo the light with the proper colors/physics without the eye sore left behind after the classic light breaks.

In the console, type in "ent_remove_all classiclight". This will clear out all the classic lights that are stuck and you'll be able to replace them with new ones. Keep in mind you will need to jot down the original colors of the lights you used when you first spawned them so that you have an idea of what you want (I highly recommend the preset feature for this reason.)
Cougarmint  [author] 15 Nov, 2019 @ 6:59pm 
For some reason, it does not work with saved games very well. I've encountered this bug myself but don't know exactly how to fix it, unfortunately.
Courier_Vice 15 Nov, 2019 @ 6:04am 
Hello Cougarmint, i have some problems with this addon:

[Classic Light Stool] lua/includes/util/color.lua:17: bad argument #1 to 'min' (number expected, got nil)
1. min - [C]:-1
2. Color - lua/includes/util/color.lua:17
3. CreateEntityFromTable - lua/weapons/gmod_tool/stools/classiclight.lua:208
4. unknown - lua/includes/modules/duplicator.lua:723
5. ProtectedCall - [C]:-1
6. Paste - lua/includes/modules/duplicator.lua:723
7. unknown - lua/includes/gmsave.lua:66

What is going on? After load my save spawned light cant be removed, color changed to standart cold white and i cant catch it with whysgun or use delete-tool on it. Can you help?
Bohij 19 Jun, 2018 @ 2:23pm 
Do you think you could add in a control for lens flare size?
★ LinkaBell ★ 30 Nov, 2017 @ 4:03am 
Will do thank you kindly~ ^u^