Cs ragdoll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (The -lv launch option was probably made useless in CS:GO after Germany finally gave the OK to allow depiction of blood in games.)
Line 2: Line 2:
{{Ent not in fgd}}
{{Ent not in fgd}}
{{CD|CCSRagdoll}}
{{CD|CCSRagdoll}}
{{this is a|point entity|name=cs_ragdoll|game=Counter-Strike series|game1=Left 4 Dead series}} It is akin to [[prop_ragdoll]], being spawned on a player's death (albeit only if the ConVar <code>cl_ragdoll_physics_enable</code> is enabled). Unlike the clientside ragdolls normally spawned in other games, these can be shot, and are presumably used by <code>cs_bot</code> to determine dangerous areas due to ally deaths.
{{this is a|point entity|name=cs_ragdoll|game=Counter-Strike series|game1=Left 4 Dead series}} It is akin to [[prop_ragdoll]], being spawned on a player's death (albeit only if the ConVar <code>cl_ragdoll_physics_enable</code> is enabled). Unlike the clientside ragdolls normally spawned in other games, these can be shot, and are presumably used by <code>[[Bot|cs_bot]]</code>s to determine dangerous areas due to ally deaths.


If "low violence" mode is engaged on a session start, <code>cs_ragdoll</code> doesn't use VPhysics nor can they be shot, but they will play a special surrender animation.
If "low violence" mode is engaged on a session start, <code>cs_ragdoll</code> doesn't use VPhysics nor can they be shot, but they will play a special surrender animation.
Line 8: Line 8:
==Behavior==
==Behavior==
===Counter-Strike series===
===Counter-Strike series===
In {{css|4}} and much older versions of {{csgo|4}}, if "low violence" mode is engaged on a session start, <code>cs_ragdoll</code> doesn't use VPhysics nor can they be shot, but they will play a special surrender animation.
In {{css|4}} with "low violence" mode enabled on a session start, or the <code>-lv</code> [[Command line options|launch option]] on much older versions of {{csgo|4}}, <code>cs_ragdoll</code> is affected by [[QPhysics]] and plays a special surrender animation.
===Left 4 Dead series===
===Left 4 Dead series===
<code>cs_ragdoll</code> is spawned upon a Survivor's death. In {{l4d2|4}} these are substituted by [[survivor_death_model]] unless the Surivor dies after dropping from a ledge, or during L4D1 mutations.
<code>cs_ragdoll</code> is spawned upon a Survivor's death. In {{l4d2|4}} these are substituted by [[survivor_death_model]] unless the Surivor dies after dropping from a ledge, or during L4D1 mutations.

Revision as of 06:50, 11 September 2024

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_bots 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.

Behavior

Counter-Strike series

In Counter-Strike: Source Counter-Strike: Source with "low violence" mode enabled on a session start, or the -lv launch option on much older versions of Counter-Strike: Global Offensive Counter-Strike: Global Offensive, cs_ragdoll is affected by QPhysics and plays a special surrender animation.

Left 4 Dead series

cs_ragdoll is spawned upon a Survivor's death. In Left 4 Dead 2 Left 4 Dead 2 these are substituted by survivor_death_model unless the Surivor dies after dropping from a ledge, or during L4D1 mutations.