About:- Creates a flash of light when various explosives detonate.
- Customize the color and brightness of the flashes.
- Customize which explosives can create a flash.
Thanks:- Iizuka07 - For the request.
Cvars:
Saved to
l4d_explosive_flash.cfg.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d_explosive_flash_allow "1"
// The flash color for Explosive Barrels explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_barrel "255 35 0"
// The flash color for Grenade Launcher explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_grenade "255 50 0"
// The flash color Oxygen Tank explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_oxygen "255 50 0"
// The flash color Pipe Bomb explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_pipe "255 50 0"
// The flash color Propane Tank explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d_explosive_flash_color_propane "255 50 0"
// How far does the Explosive Barrels flash illuminate the area.
l4d_explosive_flash_dist_barrel "500.0"
// How far does the Grenade Launcher flash illuminate the area.
l4d_explosive_flash_dist_grenade "500.0"
// How far does the Oxygen Tank flash illuminate the area.
l4d_explosive_flash_dist_oxygen "500.0"
// How far does the Pipe Bomb flash illuminate the area.
l4d_explosive_flash_dist_pipe "500.0"
// How far does the Propane Tank flash illuminate the area.
l4d_explosive_flash_dist_propane "500.0"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_explosive_flash_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_explosive_flash_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_explosive_flash_modes_tog "0"
// Duration of the flash for all types.
l4d_explosive_flash_speed "0.4"
// Which types to allow: 1=Explosive Barrel. 2=Propane Tank. 4=Oxygen Tank. 8=PipeBomb. 16=Grenade Launcher (L4D2) 31=All.
l4d_explosive_flash_types "31"
// Explosive Flash plugin version
l4d_explosive_flash_version
Changes:
Code:
1.1 (22-Nov-2023)
- Fixed property not found errors. Thanks to "Iizuka07" for reporting.
- Removed some unused code.
1.0 (07-Nov-2023)
- Initial release.
Requirements:- Left 4 DHooks Direct plugin version 1.139 or newer.
Installation:DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left 4 DHooks Direct!
- Download the .smx file and put into your servers \addons\sourcemod\plugins folder.