Promoveaza serverul

CSB Knockback Shots v1.0.0

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-uri3
CVARDefaultDescription
csb_kb_enabled1Enable or disable knockback.
csb_kb_power8.0Horizontal push multiplier per point of damage.
csb_kb_vertical0.35Fraction of the push applied upward.
Evaluare
Încă nu are evaluări