Allows you turn damage on/off for infected and friendly fire. Should be useful if you are trying to make a "gamemode" or "mod."
l4d_damage_head_only
1: Head damage only, this will override the other damage settings related to infected.
l4d_damage_shove
Damage done to players for shove.
l4d_damage_melee
0: Melee does no damage.
l4d_damage_chest, l4d_damage_stomach, l4d_damage_arm, l4d_damage_leg
0: Remove damage to X.
l4d_damage_ff
-10.0 to 10.0 dmg factor for victim.
-1 heals 100% of the damage and 1 leaves 100% of the damage.
l4d_damage_ffa
-10.0 to 10.0 dmg factor for attacker.
Fire and blast damage will still work on the infected no matter where they are hit. Also when the headshot only mode is on it will tell players to aim for the head in a hint. It does it when people connect or on the cvar changed to 1. Pic below if the in-game hint.
Fire and blast damage is not reversed in friendly fire because dumb people will find a way to catch your pipe bombs and jump into walls of fire.
Change Log:
0.9.1
- Added AutoExecConfig
0.9.2
- It works on the M4 and Hunting Rifle now
0.9.5
- Added player shove damage
0.9.6
- Fixed shove damage (will still hurt people if ff is set to normal)
- Fixed ff burning dmg bug
- Fixed ff mirror dmg bug involing being in black and white
0.9.7
- Fixed array out of bounds error
1.0
- tested on l4d2 sourcemod 1.3.2
- ff redone
- burn/blast dmg checks more accurate
- down count works
- known issue: You can sometimes decapitate infected without them dying, good luck.