Hello, it's my fire plug-in I made for Left 4 Dead 2. It adds public command fa (also fireattack) for chargers and hunters. After they use that command, they become immortal (except headshots), particle effect is attached to them (the effect is called env_fire_large) so they look like burning and their fov is changed to value that can be controled by convar (with values 120 > 130 their screen look demonic). The hunter is able to jump with much higher velocity and do much more damage to survivor it pounce. The charger is not faster, but he do much more damage to survivors that he impact with. Fire Attack can be customized. User can set interval of fire attack, reload time of ability, fov value, velocity scale and enable or disable ability for specifed infected.
ConVars:
Code:
fire_charge_enabled
fire_pounce_enabled
fire_charge_interval
fire_pounce_interval
fire_charge_reload_time
fire_pounce_reload_time
fire_charge_fov
fire_pounce_fov
fire_charge_impact_damage
fire_pounce_impact_damage
fire_charge_velocity_scale_x
fire_pounce_velocity_scale_x
fire_charge_velocity_scale_y
fire_pounce_velocity_scale_y
fire_charge_velocity_scale_z
fire_pounce_velocity_scale_z
I tested my plug-in many times and I hope I removed all bugs.
I will be happy for any advises and for critics too.
PS. Sorry if I made any mistakes in my text