Trigger serverragdoll: Difference between revisions
Jump to navigation
Jump to search
Important:Only non-player CBaseCombatCharacter entities affected by this entity.
Placement 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 
Left 4 Dead series ragdolls will still be client side.
Note:In
Black Mesa, server side ragdoll created by NPC will not gib if created in this way, because this entity doesn't change m_bForceServerGibs to 1.
mNo edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
(22 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{CD|CServerRagdollTrigger|file1=triggers.cpp}} | ||
{{ | {{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. | ||
{{important|Only non-player [[CBaseCombatCharacter]] entities affected by this entity.}} | |||
{{PlacementTip|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 {{ent|func_breakable}} or {{ent|func_physbox}}. Simply surround the area in question with one of these triggers.}} | |||
{{bug|In {{l4ds|4}} ragdolls will still be client side.|hidetested=1}} | |||
{{note|In {{Bms|4}}, server side ragdoll created by NPC will not gib if created in this way, because this entity doesn't change ''m_bForceServerGibs'' to '''1'''.|hidetested=1}} | |||
{{optim_brush}} | |||
== | == See also == | ||
* {{ | * {{ent|prop_ragdoll}} | ||
Latest revision as of 10:20, 2 August 2025
![]() |
---|
CServerRagdollTrigger |
![]() |
trigger_serverragdoll
is a brush entity available in all Source games. It is a volume that forces any NPC inside it to create a server side ragdoll instead of a client one.






