Daemon666 / CSB Zombie Knockback Öffentlich

Shoves zombies back along the bullet direction, scaled by damage, weapon and air state. The feel-plugin every zombie server needs.

v1.0.0 148 Downloads GPL-3.0 Zuletzt aktualisiert Aug 22, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Sep 3, 2025 1 Versionen
csb_zombie_knockback.sma main f6a4b57 3.8 KB
README.md

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.
Änderungsprotokoll — v1.0.0
1.0.0 - Initial release.
Versionen →
Bewertung

No ratings yet.

Info
Download v1.0.0
Compiled live from the source below — nothing pre-built.
.sma herunterladen
Anforderungen
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optional
ReAPI Optional
Metamod Metamod / Metamod-r
Module fakemeta hamsandwich
Bekannte Konflikte Do not run alongside a zombie mod that already applies its own knockback - the pushes will stack.
Mitwirkende
Zurück zu den Plugins