cs_ragdoll

From Valve Developer Community
Revision as of 02:29, 11 September 2024 by Nescius (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CCSRagdoll
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

cs_ragdoll is a point entity available in Counter-Strike seriesCounter-Strike series Counter-Strike series and Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series. It is akin to prop_ragdoll, being spawned on a player's death (albeit only if the ConVar cl_ragdoll_physics_enable is enabled). Unlike the clientside ragdolls normally spawned in other games, these can be shot, and are presumably used by cs_bot to determine dangerous areas due to ally deaths.

If "low violence" mode is engaged on a session start, cs_ragdoll doesn't use VPhysics nor can they be shot, but they will play a special surrender animation.