Garry's Mod

Garry's Mod

368 个评价
Classic Light Stool
   
奖励
收藏
已收藏
取消收藏
Content Type: Addon
Addon Type: Tool, Effects
文件大小
发表于
更新日期
119.471 KB
2012 年 11 月 5 日 下午 3:37
2012 年 12 月 19 日 下午 10:19
2 项改动说明 ( 查看 )

订阅以下载
Classic Light Stool

描述
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 条留言
Uncle_Gary 2023 年 5 月 23 日 下午 2:36 
Can you make the lights flicker?
I Shaved a Rock 2023 年 5 月 3 日 上午 9:20 
that's also pretty creative.
Cougarmint  [作者] 2023 年 5 月 2 日 下午 4: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 2023 年 5 月 1 日 下午 1: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  [作者] 2021 年 9 月 3 日 上午 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  [作者] 2021 年 9 月 3 日 上午 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  [作者] 2019 年 11 月 15 日 下午 6: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 2019 年 11 月 15 日 上午 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 2018 年 6 月 19 日 下午 2:23 
Do you think you could add in a control for lens flare size?
★ LinkaBell ★ 2017 年 11 月 30 日 上午 4:03 
Will do thank you kindly~ ^u^