Shoves zombies back along the bullet direction, scaled by damage, weapon and air state. The feel-plugin every zombie server needs.
CSB Zombie Knockback is the single plugin that makes a zombie server feel right: shoot a zombie and it gets pushed backwards. On Ham_TakeDamage the plugin builds a velocity vector along the attacker's aim, scales it by the damage dealt and a per-weapon multiplier, and adds it to the zombie's velocity — with a little extra shove while they are airborne and a hard speed cap so a full magazine cannot fling them off the map.
It has no hard dependency on a specific zombie mod: a "zombie" is simply any player on the team set by csb_kb_zombie_team (1 = Terrorists, 2 = CTs). Point it at whichever team your mod uses for the infected.
Inspired by the knockback in the classic Zombie Plague mod. Independent GPL re-implementation; no original code is reused.
Features
- Direction from the attacker's aim, so knives and grenades shove correctly too.
- Per-weapon multipliers (knife and snipers push hard, shotguns and the M249 push soft).
- Global power cvar, an air multiplier and a speed cap.
- A small vertical lift so hits do not just glue zombies to the floor.
Installation
- Make sure the
fakemetaandhamsandwichmodules are enabled inmodules.ini(they are by default). - Compile, copy
csb_zombie_knockback.amxxintoaddons/amxmodx/plugins/and add it toplugins.ini. - Set
csb_kb_zombie_teamto the team your mod uses for zombies, then change the map.









