Creates a lightning chain that hurts surrounding players. Change the color of it, the damage, whether or not it unifies the damage spread across all targets, and whether or not effects on critical shots.
sm_clight_distance - (Default: 300) - Distance the lightning can hit
sm_clight_targets - (Default: 3) - How many targets it can hit at once
sm_clight_damage - (Default: 0.25) - How much damage to do to targets in respect to original damage. (If you shot player A with 100 damage, the targets that the lightning strike hits will do 25 damage.)
sm_clight_unify - (Default: 1) - Unify all damage across target and original victim with respect to sm_clight_damage. (If sm_clight_damage is 0.25 and sm_clight_unify is 1, assume you do 100 damage then all targets INCLUDING the original victim you shot will take 25 damage. If sm_clight_unify is 0 then ONLY the targets will be hit with 25 and the original victim will be hit with the original damage of 100)
sm_clight_crits - (Default: 0) - Only enable this effect on critical hits
Commands:
Quote:
sm_clight - Enables/Disables chain lightning
sm_clightcolor - Opens a menu to change the color of lightning
Installation:
Quote:
Place chainlightning.smx to addons/sourcemod/plugins/
Place chainlightning.cfg to cfg/sourcemod/ and edit your convars to fit your needs
List of colors:
Quote:
Lightning can be changed to these colors:
team
black
green
yellow
orange
red
navy
blue
purple
teal
pink
aquamarine
peachpuff
white
Version Log:
Quote:
1.0 - Release
Credit:
Quote:
Hipster - Admin Smite Plugin - Taken the lightning material