Garry's Mod

Garry's Mod

Not enough ratings
NPC Ragdoll / Corpse Sub-Material Fix
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Realism
File Size
Posted
1.410 KB
30 Jul @ 12:30pm
1 Change Note ( view )

Subscribe to download
NPC Ragdoll / Corpse Sub-Material Fix

Description
Fixes NPCs not transferring any sub-material changes to their ragdoll / corpse when killed.

Made in response to GitHub issue #2504[github.com] and its duplicate #2824[github.com].

Apparently fixing this bug with visual continuity may break networking compatibility. I couldn't find any issues when I tested this, so use at your own risk.

Should only be needed on the server-side, since the relevant client-side code is sent to the client and run when connecting.