Garry's Mod

Garry's Mod

194 ratings
Universal Npcs Knockback System
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Comic, Fun
File Size
Posted
Updated
3.210 KB
19 Jan, 2024 @ 7:37pm
21 Jan, 2024 @ 7:39am
4 Change Notes ( view )

Subscribe to download
Universal Npcs Knockback System

Description
What this addon does is basically make that npcs doesn't need to have an exterior implementation for them to have knockback, for example the Tank Snpc from Left 4 Dead, when he hits a npc it flies away, but other npcs and nextbots maybe doesn't have the knockback inside of its coding, so this addon make that any damage that the npc receives make for it to have a knockback, depending on the damage amount, the larger the damage is, more far the npc fly.

To enable/disable
npc_knockback_system 1/0

To add and remove npcs from the knockback list, that should not receive knockback, strider and sniper disabled by default.
npc_knockback_list_add <npc>
npc_knockback_list_remove <npc>
14 Comments
aombi 7 Jul @ 9:42pm 
i think using the TF2 rocket launcher for the demonstration GIF is an excellent move
Oabobaro  [author] 28 May @ 8:26am 
@Aziel probably using some different weapon that bug with the hitbox, flamethrower of pyro work like this
Aster 28 May @ 1:16am 
is the mod supposed to knock the npc in just one direction? because no matter where i hit the npc, it always knock them in one direction only
mr freeman 15 Sep, 2024 @ 3:55pm 
y no work
Creep112 17 Feb, 2024 @ 10:12am 
@majordickiejohnson "in the in the in the in the in the in the in the"
shelleyclenmurphy 27 Jan, 2024 @ 2:49am 
time for some shananigans :floweyevil:
[MLG] Gabe Newelll 26 Jan, 2024 @ 3:35pm 
air shot massa mano:steamhappy:
Cluna 26 Jan, 2024 @ 6:09am 
+fireworks
Gujarat's Top Goon 23 Jan, 2024 @ 12:04pm 
nice airshot bro
shock23 22 Jan, 2024 @ 3:12am 
NICE AIRSHOT DUDE