CSB Knockback Shots

v1.0.0 10 descărcări Daemon666 Ultima actualizare: Jul 16, 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.

Instalare

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

Cvar-uri

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.

Jurnal de modificări — v1.0.0

1.0.0 - Initial release.
Versiuni →
Contribuitori: Daemon666 ✦
Licență: GPL-3.0

Evaluare

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Descarcă .sma
Fișiere:
csb_knockback_shots.sma main 2.4 KB

Cerințe

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Opțional
ReAPI Opțional
Metamod Metamod / Metamod-r
Module fakemeta hamsandwich
Conflicte cunoscute Other plugins that overwrite pev_velocity on damage can fight this one.
Înapoi la Pluginuri