Trigger serverragdoll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added tip about this entity's usage.)
(-added class hierarchy)
Line 1: Line 1:
{{base brush ep1|trigger_serverragdoll}} It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.
{{CD|CServerRagdollTrigger|file1=triggers.cpp}}
 
{{base brush|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.}}
{{bug|In {{l4d2}} ragdolls will still be client side}}


{{optim_brush}}
{{optim_brush}}


== Keyvalues ==
== See Also ==
{{KV Targetname}}
* [[prop_ragdoll]]
 
== Inputs ==
{{I Targetname}}
 
== Outputs ==
{{O Targetname}}
 
<!-- // Either the current EP1 FGD is full of bugs or these properties are a typo ...
==Keyvalues==
* {{kv triggeronce} }
==Flags==
* {{fl triggeronce ep1} }
 
==Inputs==
* {{i triggeronce} }
==Outputs==
* {{o triggeronce} }
-->

Revision as of 04:42, 6 November 2022

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

Template:Base brush 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 2 ragdolls will still be client side  [todo tested in ?]

See Also