Garry's Mod

Garry's Mod

368 Bewertungen
Classic Light Stool
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Content Type: Addon
Addon Type: Tool, Effects
Dateigröße
Veröffentlicht
Aktualisiert
119.471 KB
5. Nov. 2012 um 15:37
19. Dez. 2012 um 22:19
2 Änderungshinweise (anzeigen)

Abonnieren zum Herunterladen
Classic Light Stool

Beschreibung
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 Kommentare
Uncle_Gary 23. Mai 2023 um 14:36 
Can you make the lights flicker?
I Shaved a Rock 3. Mai 2023 um 9:20 
that's also pretty creative.
Cougarmint  [Autor] 2. Mai 2023 um 16:39 
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. Mai 2023 um 13:50 
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  [Autor] 3. Sep. 2021 um 4:57 
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  [Autor] 3. Sep. 2021 um 4:57 
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  [Autor] 15. Nov. 2019 um 18:59 
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 um 6:04 
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. Juni 2018 um 14:23 
Do you think you could add in a control for lens flare size?
★ LinkaBell ★ 30. Nov. 2017 um 4:03 
Will do thank you kindly~ ^u^