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
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
{{entity|trigger_serverragdoll|type=e2}} It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.
{{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.


{{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 13:37, 4 January 2024

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

trigger_serverragdoll is an e2 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 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