Related Plugins:
About:- Creates a dynamic light where Spitter Acid goo appears.
- The light flickers and fades in and out.
- Maximum of 8 lights simultaneously. Recompile changing "define MAX_LIGHTS" value if you want more.
Thanks:- Iizuka07 - For the idea and request.
- Lux - Updating with smooth transitions.
Cvars:
Saved to
l4d2_spit_glow.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d2_spit_glow_allow "1"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_spit_glow_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_spit_glow_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_spit_glow_modes_tog "0"
// How far does the dynamic light illuminate the area.
l4d2_spit_glow_distance "250.0"
// The light color for Spitter Acid explosions. Three values between 0-255 separated by spaces. RGB Color255 - Red Green Blue.
l4d2_spit_glow_color "0 255 0"
// Spitter Acid Glow plugin version.
l4d2_spit_glow_version
Changes:
Code:
1.3 (20-Jan-2024)
- Fixed the light fadeout not working. Thanks to "S.A.S" for reporting.
1.2 (10-Apr-2022)
- Changed the method for fading lights in and out hopefully preventing random server crash.
1.1 (26-Feb-2021)
- Fixed and renamed cvar "l4d2_spit_glow_spit" to "l4d2_spit_glow_color". Thanks to "swiftswing1" for reporting.
1.0 (23-Feb-2021)
- Initial release.
Installation:- Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.