Promotiraj s'rv'r

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.