Left 4 Dead 2

Left 4 Dead 2

4,877 ratings
Dynamic Light
2
5
2
15
10
5
5
2
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
28.097 KB
18 Oct, 2020 @ 3:46am
20 Jun, 2022 @ 9:13am
20 Change Notes ( view )

Subscribe to download
Dynamic Light

Description
READ THE DESCRIPTION

Dynamic Light
This is a server-side add-on (for YOUR Listen / Dedicated server)

Creates dynamic light on molotovs, pipe bombs, spit, burning infected (SI and Tank) and muzzle flash

Chat Commands
!dl_reset - reset settings to default !dl_reload - reload settings

Customization / Configuration file
After your first playing with this add-on, in the folder Left 4 Dead 2/left4dead2/ems/dynamic_light will appear settings.txt file, it includes these parameters by default:
Allow = true // Enable dynamic light: true or false Limit = 16 // Limit of dynamic lights GlowPipe = true GlowPipeProjectile = true PipeBlinkInterval = 0.25 PipeRadius = 160.0 PipeFuseRadius = 32.0 PipeProjectileRadius = 200.0 PipeProjectileFuseRadius = 16.0 PipeBlinkColor = "255 0 0" // RGB color, format: "R G B" PipeFuseColor = "128 28 0" PipeProjectileBlinkColor = "200 0 0" PipeProjectileFuseColor = "255 55 0" GlowMolotov = true GlowMolotovProjectile = true MolotovRadius = 200.0 MolotovProjectileRadius = 200.0 GlowInferno = true InfernoRadius = 250.0 FlameColor = "255 50 0" GlowSpit = true GlowSpitProjectile = true SpitRadius = 250.0 SpitProjectileRadius = 150.0 SpitColor = "0 192 0" GlowFirecrackerBlast = true FirecrackerBlastRadius = 250.0 FirecrackerBlastColor = "255 100 0" GlowBurningInfected = true BurningInfectedRadius = 150.0 GlowMuzzleFlash = true SemiAutomaticWeaponMinRadius = 100.0 // Random radius betweeen min and max when you fire your weapon SemiAutomaticWeaponMaxRadius = 255.0 AutomaticWeaponFlickerRadius = 65.0 // Short light to make the muzzle flash more realistic AutomaticWeaponMinRadius = 155.0 AutomaticWeaponMaxRadius = 255.0 MuzzleFlashColor = "250 150 30"

Remove configuration file to reset settings, the script will create a new one.
Also the script loads file after every round restart, or you can just use command !dl_reload

Known Issues
  • Dynamic light may not appear when you're holding molotov or pipe bomb. It's caused by custom survivor models that lack default attachment points, authors of such models may have removed or renamed attachments that are used by the addon.
  • The game is crashing. Mostly, it's caused by addons that burden your game, in this case, decrease the value of parameter Limit in the file ../Left 4 Dead 2/left4dead2/ems/dynamic_light/settings.txt, it will set the limit of the dynamic lights that the addon shall use.

Full Compatibility
Popular Discussions View All (6)
6
22 Oct @ 9:08pm
Game Crash
No tengo skillch
4
26 May, 2023 @ 11:55pm
#ERROR
ZHOLAZx
1
8 Dec, 2023 @ 1:11am
Dynamic light solution for molotovs
XARK
464 Comments
AGONER 29 Sep @ 5:56pm 
item glows in gta 4: l4d2 edition
Miracle man 24 Sep @ 1:28pm 
Trunten you don’t need to file a whole ass dmca takedown you can’t copyright a mod like this
caat 24 Sep @ 4:42am 
@Trunten are you being funny? if so, let us know.
Zeus 4 Sep @ 12:19am 
pp
TakenWyatt 30 Aug @ 11:58pm 
this doesn't work
Trunten 25 Aug @ 8:44am 
just so you're aware, you mod was stolen
you'll have to file a DMCA complaint for removal
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3316491012
PEACEandLOVE 14 Aug @ 3:12pm 
Hi this mod is awesome! Could you add a supplementary mod for the vomitjar to produce a green glow? There's a really nice green glowing vomitjar skin that would be perfect if you added a glow to it.
HELL RAGE 7 Aug @ 4:23am 
@Scout Oh what the fuck. So that's what was making my game lag to unplayability upon starting a game or moving through chapters. Thanks for the tip!
Casual Femboy 6 Aug @ 4:32pm 
@Gadoga it’s already fixed, just go to video settings in options and turn paged pooling to low
x SoulCat x 6 Aug @ 10:26am 
(2024)Warning: This mod causes (MAJOR) "micro stutters" in framerate when playing i have disabled all other mods and it still has lag spikes when using this mod.