CSB Knockback Shots

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

Every bullet physically pushes the victim along the shot direction, scaled by damage. Perfect for shotgun and fun servers.

CSB Knockback Shots gives every hit real weight. In a Ham_TakeDamage hook the victim's velocity is shoved along the line from the attacker to the target, scaled by the damage that landed and a tunable power multiplier, with a small upward component so people get lifted a little on big hits. It turns shotguns into cannons and makes fun servers feel punchy without changing damage values.

Features

  • Push direction is the real attacker-to-victim vector, so it always feels right.
  • Force scales with the damage of the shot — a shotgun blast throws harder than a pistol tap.
  • csb_kb_power and csb_kb_vertical tune horizontal and upward push.
  • Only player-vs-player hits push; self-damage and world damage are ignored.

Installation

  1. Enable the fakemeta and hamsandwich modules in modules.ini.
  2. Compile csb_knockback_shots.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

Installation

1. Enable the fakemeta and hamsandwich modules in addons/amxmodx/configs/modules.ini
2. Put csb_knockback_shots.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvars

CVARDefaultDescription
csb_kb_enabled 1 Enable or disable knockback.
csb_kb_power 8.0 Horizontal push multiplier per point of damage.
csb_kb_vertical 0.35 Fraction of the push applied upward.

Journal des modifications — v1.0.0

1.0.0 - Initial release.
Versions →
Contributeurs: Daemon666 ✦
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_knockback_shots.sma main 2.4 KB

Prérequis

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules fakemeta hamsandwich
Conflits connus Other plugins that overwrite pev_velocity on damage can fight this one.
Retour aux Plugins