Garry's Mod

Garry's Mod

327 ratings
Classic Light Stool
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool, Effects
File Size
Posted
Updated
0.114 MB
Nov 5, 2012 @ 3:37pm
Dec 19, 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!
< >
88 Comments
Cougarmint  [author] Sep 3, 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] Sep 3, 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] Nov 15, 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 Nov 15, 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?
Boh Jun 19, 2018 @ 2:23pm 
Do you think you could add in a control for lens flare size?
★ LinkaBell ★ Nov 30, 2017 @ 4:03am 
Will do thank you kindly~ ^u^
Cougarmint  [author] Nov 29, 2017 @ 1:24pm 
All you need to do is right click to spawn it without the tether. If that doesn't work let me know.
★ LinkaBell ★ Nov 28, 2017 @ 11:30pm 
I'm sure you may have answered this somewhere, but I can't seem to find the light without the tether attached. It shows it's in my spawn menu but nothing in it.
Vector Sep 24, 2016 @ 6:53pm 
I wish there was a mod to bring back the phone camera
Cougarmint  [author] Jun 2, 2016 @ 5:25pm 
Oh... that's what you were talking about.

Unfortunately there is little that can be done about that. I wish I could, but that would probably involve messing with the duplicator code itself, something a little advanced for me yet