Garry's Mod

Garry's Mod

284 ratings
Dynamic Light Controller
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
14.663 KB
4 Mar, 2024 @ 5:13pm
21 May, 2024 @ 7:42am
14 Change Notes ( view )

Subscribe to download
Dynamic Light Controller

In 1 collection by Unknown Developer
Jailbreak: Test Server
34 items
Description
Description
Addon adds an entity to flexibly control dynamic lighting. Necessary for other my addons that use dynamich light. Screenshots are just a demonstration of what can be created, by default this addon does nothing.
Basic Features Addon

ConVars
  • dlight_controllers ( def. 1 ) <0/1> - Enables light emission from dynamic sources. (SERVER)
  • dlight_controllers_update ( def. 5 ) <0-100> - Dynamic light update speed. (CLIENT)
  • dlight_controllers_distance ( def. 2048 ) <16-4096> - Maximum distance to calculate dynamic lights. (CLIENT)

Source Code: GitHub[github.com]
15 Comments
prother64 22 Feb @ 6:23am 
just realised i need other mods
prother64 22 Feb @ 6:21am 
doesnt work :C
longwang233 15 Jun, 2024 @ 10:25am 
No, I don't, the error list no longer shows this bug, the problem has been solved
Unknown Developer  [author] 8 Jun, 2024 @ 12:24pm 
@longwang233 this really strange error, have you tried disabling other installed addons?
longwang233 5 Jun, 2024 @ 2:51pm 
lua/entities/dlight controller/cl init,lua:148: attempt to compare table with number
1.unknown -lua/entities/dlight controller/cl init,lua:148
Заморил деда 12 Mar, 2024 @ 8:01am 
makes sense
Unknown Developer  [author] 12 Mar, 2024 @ 6:18am 
@Bob Thanks for the bug report, I fixed it, now there should be no problem.
wgat 11 Mar, 2024 @ 8:00pm 
[Dynamic Light Controller] lua/entities/dlight_controller/cl_init.lua:190: attempt to index local 'data' (a nil value)
1. unknown - lua/entities/dlight_controller/cl_init.lua:190

Timer Failed! [Dynamic Light Controller][@lua/entities/dlight_controller/cl_init.lua (line 116)]
Unknown Developer  [author] 11 Mar, 2024 @ 4:27pm 
Personally I find it more convenient and faster to write
Заморил деда 11 Mar, 2024 @ 4:00pm 
cool, but why :D