CSB Zombie Knockback

v1.0.0 1 téléchargements Daemon666 Dernière mise à jour: Jul 14, 2026

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

  1. Make sure the fakemeta and hamsandwich modules are enabled in modules.ini (they are by default).
  2. Compile, copy csb_zombie_knockback.amxx into addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Set csb_kb_zombie_team to the team your mod uses for zombies, then change the map.

Installation

1. fakemeta + hamsandwich must be enabled in modules.ini (default)
2. Put csb_zombie_knockback.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Set csb_kb_zombie_team for your mod, change map

Cvars

CVARDefaultDescription
csb_kb_enabled 1 Enable or disable knockback.
csb_kb_power 6.0 Global knockback multiplier applied to damage.
csb_kb_zombie_team 1 Team treated as zombies (1 = T, 2 = CT).
csb_kb_air_mul 1.4 Extra knockback multiplier while the zombie is airborne.
csb_kb_max_speed 1200.0 Velocity is clamped to this after knockback.

Journal des modifications — v1.0.0

1.0.0 - Initial release.
Versions →
Contributeurs: Daemon666 ✦
Auteur original: Zombie Plague (knockback) Licence: GPL-3.0

Note

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Télécharger .sma
Fichiers:
csb_zombie_knockback.sma main 3.8 KB

Prérequis

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules fakemeta hamsandwich
Conflits connus Do not run alongside a zombie mod that already applies its own knockback - the pushes will stack.
Retour aux Plugins