Garry's Mod

Garry's Mod

388 ratings
Impact point dynamic light
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Movie
File Size
Posted
2.306 KB
4 Oct, 2023 @ 10:25pm
1 Change Note ( view )

Subscribe to download
Impact point dynamic light

Description
Just simple impact dynamic light

default CVars:
dynamic_light_color 255 165 0
dynamic_light_brightness 2
dynamic_light_distance 300
74 Comments
mobias 19 Feb @ 1:10pm 
It would be cool if there was a version of this that only works for metal (besides Zippy's mod which lags the game a lot)
Real_gman 21 Dec, 2023 @ 10:57am 
pls fix error on server it's making me lag
Пригожин 8 Dec, 2023 @ 3:29am 
It`s make Error on server -

[Impact point dynamic light] lua/autorun/createdynamiclightonbulletfire.lua:7: attempt to call field 'Create' (a nil value)
1. CreateDynamicLight - lua/autorun/createdynamiclightonbulletfire.lua:7
2. v - lua/autorun/createdynamiclightonbulletfire.lua:35
3. unknown - lua/includes/modules/hook.lua:96
Rizelu 5 Nov, 2023 @ 10:38am 
can you fix mw melee create impact light
Boxmask 27 Oct, 2023 @ 11:59pm 
Ammmm. There's have active key? because it doesn't work on my computer. So I can't see your great art
Engineer_ZY 25 Oct, 2023 @ 8:31am 
[Impact point dynamic light] lua/autorun/createdynamiclightonbulletfire.lua:7: attempt to call field 'Create' (a nil value)
1. CreateDynamicLight - lua/autorun/createdynamiclightonbulletfire.lua:7
2. fn - lua/autorun/createdynamiclightonbulletfire.lua:35
3. unknown - lua/ulib/shared/hook.lua:109
4. FireBullets - [C]:-1
5. Impact - lua/tfa/ballistics/bullet.lua:234
6. _moveSafe - lua/tfa/ballistics/bullet.lua:199
7. Update - lua/tfa/ballistics/bullet.lua:53
8. Update - lua/tfa/modules/tfa_ballistics.lua:151
9. fn - lua/tfa/modules/tfa_ballistics.lua:395
10. unknown - lua/ulib/shared/hook.lua:109 (x5)
EntranceJew 15 Oct, 2023 @ 9:56am 
You should move this script to "autorun/server", or guard the hook "if ent:IsPlayer() then" => if SERVER and ent:IsPlayer() then", otherwise it throws errors on clients and in multiplayer.
the true fallout 13 Oct, 2023 @ 4:46am 
WARNING! Carry on reading you have nice day:headcrab:
VB485☕  [author] 11 Oct, 2023 @ 2:06pm 
WARNING! Carry on reading! Thank you all very much, for the requirements, I can't complete it 99% of the time, because I am just a beginner in lua, and I just want to do what I like. terribly sorry:SBpenguin:
VB485☕  [author] 11 Oct, 2023 @ 1:57pm 
0.002 MB and I am using MWB:steamhappy:
For brightness and distance, the console CVars
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
dynamic_light_brightness
dynamic_light_distance