Every bullet physically pushes the victim along the shot direction, scaled by damage. Perfect for shotgun and fun servers.
Daemon666
1.0.0 - Initial release.
| csb_knockback_shots.sma main | dcb2c54 | 2.4 KB |
README.md
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_powerandcsb_kb_verticaltune horizontal and upward push.- Only player-vs-player hits push; self-damage and world damage are ignored.
Installation
- Enable the
fakemetaandhamsandwichmodules inmodules.ini. - Compile
csb_knockback_shots.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - 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
| CVAR | Default | Description |
|---|---|---|
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 →
Note
No ratings yet.
Download v1.0.0
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. |
Contributeurs









