Lately i was trying to get an accurate knockback system on my server and i noticed that the ZP 5.0 Knockback system was not working as i wanted it to work so I made a couple adjustments
Old Version Knockback Calculation Method
Case 1:
zp_knockback_damage 1 : Knockback = Damage
(Note that Knockback doesn't get multiplied like the damage does if the victim is hit in the head or chest)
Case 2:
zp_knockback_power 1 : Knockback = Weapon Power Written in Zombieplague.ini
Case 3:
zp_knockback_damage 1 & zp_knockback_power 1 : Knockback = Damage * Weapon Power
Other Multipliers:
zp_knockback_class_obey 1 : Total Knockback * Zombie Class Knockback Multiplier
If Player is Ducking and Value > 0.0
zp_knockback_ducking "x" : Total Knockback * zp_knockback_ducking value
New Options For Knockback Calculation Method
Case 4:
zp_knockback_mixed 1 & zp_knockback_damage 0 & zp_knockback_power 0 : Knockback = Damage + Weapon Power
Case 5:
zp_knockback_mixed 1 & zp_knockback_damage 1 & zp_knockback_power 0 : Knockback = (Damage + Weapon Power) * Damage
Case 6:
zp_knockback_mixed 1 & zp_knockback_damage 1 & zp_knockback_power 1 : Knockback = (Damage + Weapon Power) * Damage * Weapon Power
Other Multipliers:
If Value > 0.0
zp_knockback_multi "x" : Knockback = Total Knockback * zp_knockback_multi Value
If victim is shoot in the head and Value > 0.0
zp_knockback_head "x" : Knockback = Total Knockback * zp_knockback_head Value
If victim is shoot in the chest and Value > 0.0
zp_knockback_chest "x" : Knockback = Total Knockback * zp_knockback_chest Value
_____________________________________________ _____________________________________________ ________________________
For more accurate knockback values I recommend using it along with this plugin which disables normal CS Knockback Engine
https://forums.alliedmods.net/showthread.php?t=149249
Sorry for the messed up aspect of the topic, if anyone wants to edit the topic for a better aspect is welcomed