Left 4 Dead 2

Left 4 Dead 2

65 ratings
Melee weapon increased ragdoll knockback
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
Game Modes: Co-op
Weapons: Melee
File Size
Posted
53.530 KB
15 May, 2024 @ 2:56am
1 Change Note ( view )

Subscribe to download
Melee weapon increased ragdoll knockback

Description
Makes every melee weapon (except the chainsaw) deal massive knockback to the infected when you kill them, which sends ragdolls flying! The knockback effect also applies to special infected (though not the tank or witch), as well as certain map props.

How it works: every melee weapon script (except the chainsaw) contains code for each swing in the melees swing pattern. The variable "force_dir" controls how much knockback is dealt to infected ragdolls. increasing the first and last integers of the force_dir variable makes the ragdolls fly away from the player and up into the air. Finally, each melees damage flag must be changed to 4; this gives it the dismemberment property and allows it to cut off limbs, but more importantly it won't trigger a stumbling animation for the infected.
44 Comments
corpse part 17 Oct, 2024 @ 11:17pm 
As I understand it, if the value is made even smaller, then the changes will not be almost visible? Although in general, what you said is also very good :D
Geebanger0  [author] 17 Oct, 2024 @ 11:12pm 
ive got it at 15% of what the original is. Theyll still fly back a decent distance but its nowhere near as fast or as far, sort of comedic without being ridiculous.
corpse part 17 Oct, 2024 @ 11:06pm 
thank you very much!
Geebanger0  [author] 17 Oct, 2024 @ 10:59pm 
already finished it. i'll test it now and upload it if it seems alright
Geebanger0  [author] 17 Oct, 2024 @ 10:47pm 
i can make another version of my mod to do that, sure
corpse part 17 Oct, 2024 @ 10:46pm 
Yes, you can say so, in vanilla it is realistic, then correction: a near-realistic version, so that they simply do not fly so fast and do not so far, so that it looks moderately impressive, so that it does not look too wild, it looks more or less natural, but in general I am already experimenting with these values, Maybe I'll do it myself\
Geebanger0  [author] 17 Oct, 2024 @ 10:38pm 
a realistic version would be how it is in vanilla L4D2
corpse part 17 Oct, 2024 @ 10:22pm 
Can you make a realistic version of this mod? pls <3 🥺
Geebanger0  [author] 7 Oct, 2024 @ 4:59pm 
:BL3Thumbsup:
.50Æ Ghost 7 Oct, 2024 @ 3:51pm 
Most based!!!!!!!!!!! never change this it must stay 4ever