Dynamic Light
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