Garry's Mod

Garry's Mod

744 ratings
NPC (Ragdoll) Falling
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
2.157 KB
Nov 2, 2023 @ 2:03am
Nov 27, 2023 @ 1:12am
4 Change Notes ( view )

Subscribe to download
NPC (Ragdoll) Falling

Description
"npc_fall_damage [number]" to set custom damage applied for falls, or to 0 to effectively turn it off. Default 1000.
"npc_fall_height [number]" to set fall height until damage is applied. Should be a negative number. Default -400.
"npc_falling_blacklist_toggle" to toggle the built in blacklist so headcrabs, fast zombies, and antlions stop dying from jumps.

This is a modified version of https://steamcommunity.com/sharedfiles/filedetails/?id=3017782178 which is a modified version of another addon, so credit to all who deserve it.

This version of the addon just kills (applies the damage amount) the NPC after they fall 10 feet or so, so instead of NPCs falling standing up, they just fall as a ragdoll, which looks much better (but leaves no chance for survival, and may cause issues or slapstick funnies with NPCs trying to make long jumps, like with fast zombies and headcrabs.)

Unfortunately, I don't know how to code in LUA, only in MWScript (lol) so I can't add a blacklist. If anyone knows how to make such a blacklist, I'd be very happy if you'd teach me (did it for me) so I (you) could do it myself (yourself).
Popular Discussions View All (4)
10
1
Nov 10, 2023 @ 6:11pm
Exclude headcrabs, antlions, and fast zombies from the main function
󠀡𝅵󠀡𝅷
2
Nov 6, 2023 @ 4:24pm
zxcvbnm,
schemssyasdfghjkl;'
1
Nov 27, 2024 @ 9:51am
Best mod for this.
mariogamerepic74
107 Comments
bonda nostalgia Feb 11 @ 11:40am 
ok
havin a melty?  [author] Feb 8 @ 9:26pm 
Reagdoll has falling screams with Reasfx installed
bonda nostalgia Feb 8 @ 1:04pm 
add screaming
HyperActiveStudios Feb 2 @ 3:52pm 
yea its ur mods
IceyW3ndigo Jan 20 @ 4:13pm 
probably my mods but when they fall they instantly die and bleed so much everywhere during the fall like fuckin blood everywhere n shit
Fellᵀᴹ Jan 9 @ 12:16pm 
i need this but for players tbh im tryna make gta
YourLocalExoplanet Oct 13, 2024 @ 4:29pm 
@.. you act like that one patrick episode "Once there was a barnacle he was so ugly everyone died the end
Unami Fox Aug 9, 2024 @ 11:29am 
Copypastas and chain comments are annoying.
Jul 22, 2024 @ 5:52pm 
WARNING! Stop reading! Or uhh... Whatever. Don't copy paste this. The End.
havin a melty?  [author] Jul 10, 2024 @ 6:47pm 
If I could do cool stuff like that I would, but I just don't know jack about code. This addon's just a modification of another addon, I didn't make anything in it myself.