Garry's Mod

Garry's Mod

127 ratings
Simplified Damage Push Force
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
2.722 KB
9 Oct, 2024 @ 5:10am
18 Apr @ 1:18am
2 Change Notes ( view )

Subscribe to download
Simplified Damage Push Force

In 1 collection by Coffee Man
Coffee Man's Gameplay-Enhancing Addons
67 items
Description
Effect addon for Garry's Mod. Replaces Source Engine's default push methods for props and ragdolls with simplified variations using LUA. Gameplay effect recreated from our upcoming Unreal Engine 5 game, I liked the effect there, so I backported it to a dinosaur engine from 2004.

Effects aren't very noticeable but they can be used to slightly enhance gunfight effects during certain specific moments.





Features:
  • a_ragdoll_push 1 - Enable Simplified Damage Push Force.

  • a_ragdoll_pushforce 2000 - Default value for pushing ragdolls, change it if you're unhappy with it.

  • a_prop_pushforce 2000 - Default value for pushing props, change it if you're unhappy with it.

  • When the player or a NPC attacks a ragdoll or prop, the push force is now universal for every single weapon. A Handgun, a SMG, a Rifle, whatever, will have the same amount of push force.

  • Combine NPCs are now able to knock down physics objects you hide behind, since the push force is universal for every weapon.

  • Since Shotguns fire multiple traces at once, the push force can be stacked up to 5 times, to keep the punchiness of shotguns, but also to prevent shotguns from making physics objects fly to the orbit with one shot.

  • Unlike how Source does it, the push force applied on a ragdoll is applied only on the limb it's attacked, and nowhere else. This also has the side effect of fixing addons such as mighty foot engaged when you kick a ragdoll and the push force is applied on an incorrect limb.

  • phys_pushscale will NOT affect ragdolls and props anymore. However, it will still affect NPCs when they're killed. You can now tweak phys_pushscale values to control how much you want a NPC to be pushed when they're killed.




Limitations:
  • Originally I also wanted to affect the push force when you kill a NPC, but couldn't manage to make it work in this sh*tass engine. For now, using phys_pushscale to control it is a good alternative.




Credits:


15 Comments
idksomething 17 Apr @ 3:55pm 
love setting the propforce to 9999 and watching soda cans fly
baccabab 14 Oct, 2024 @ 12:12am 
so that shit doesnt working.
baccabab 13 Oct, 2024 @ 10:59am 
that stopped working after i restarted gmod
Poddimas 10 Oct, 2024 @ 2:21pm 
make it for l4d2
Fimpen 9 Oct, 2024 @ 9:10am 
Any chance of a settings menu for it?
Fimpen 9 Oct, 2024 @ 8:44am 
THANK YOU !
76561198167566727 9 Oct, 2024 @ 8:27am 
based on divine revelation amen
76561198167566727 9 Oct, 2024 @ 8:19am 
you're the most based gmod addon dev you know that?
Coffee Man  [author] 9 Oct, 2024 @ 7:42am 
This one affects the impact push force from bullets or other forms of damage. The other ragdoll addons cause the player entity themselves to push ragdolls when close.

Both addons can work at the same time without any issues.