This article's documentation is for anything that uses the Source engine. Click here for more information.

Trigger serverragdoll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
{{this is a|e2|name=trigger_serverragdoll}} It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.
{{this is a|brush entity|name=trigger_serverragdoll}} It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.


{{tip|These triggers can be used to fix undesirable cases where the ragdoll of a dead enemy falls ''through'' the ground, such as when combat occurs on top of a [[func_breakable]] or [[func_physbox]].  Simply surround the area in question with one of these triggers.}}
{{tip|These triggers can be used to fix undesirable cases where the ragdoll of a dead enemy falls ''through'' the ground, such as when combat occurs on top of a [[func_breakable]] or [[func_physbox]].  Simply surround the area in question with one of these triggers.}}

Revision as of 17:21, 17 May 2024

C++ Class hierarchy
CServerRagdollTrigger
CBaseTrigger
CBaseToggle
CBaseEntity
C++ triggers.cpp

trigger_serverragdoll is a brush entity available in all Source Source games. It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.

Tip.pngTip:These triggers can be used to fix undesirable cases where the ragdoll of a dead enemy falls through the ground, such as when combat occurs on top of a func_breakable or func_physbox. Simply surround the area in question with one of these triggers.
Icon-Bug.pngBug:In Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series ragdolls will still be client side  [todo tested in ?]
Icon-Bug.pngBug:In Black Mesa Black Mesa server side ragdolls never gib before loading save.  [todo tested in ?]

See also