CRagdollProp
(Redirected from Prop ragdoll)
Jump to navigation
Jump to search
Code classes:
CRagdollProp
CBaseAnimating
(models)CBaseEntity
(all ents)
CRagdollProp
is a code class in all Source games.
Warning: This entity creates server-side ragdolls, which can create a lot of network traffic. Use them carefully in multiplayer games.
Classnames:
prop_ragdoll
- An entity capable of physically simulating jointed objects, such as a body. Unlike ragdolls created by players or NPCs dying, these have full collision.(Not in FGD) - Older classname. No reason to use it.physics_prop_ragdoll
Bug: Setting Model Scale to anything other than 1 will cause the game to crash upon loading the map.
Note: Will not go through portals. They may rarely be tricked into going partway though, and then disappear.
Flags[edit | edit source]
- 4: Debris - Don't collide with the player or other debris.
- 4096: Use LRU Retirement (Not in FGD) - To do: Uncertain. Probably refers to the Least Recently Used algorithm? No effect seen.
- 8192: Allow Dissolve - Allows the ragdoll to be dissolved by
prop_combine_ball
s.env_entity_dissolver
andtrigger_physics_trap
are always allowed to dissolve. Fizzlers are never allowed.
- 16384: Motion Disabled - Ragdoll starts with motion disabled.
- 32768: Allow stretch - To do: Description.
- 65536: Start Asleep - Don't move until a force acts on the ragdoll.
Keyvalues[edit | edit source]
- Override Animation
(angleOverride)
<string>
- Makes each joint on the ragdoll spawn in a particular position. This is automatically filled in by
hammer_update_entity
. Don't edit manually except for clearing it out. - Start Disabled
(StartDisabled)
<boolean>
- Makes the model start invisible (but still solid).
Minimum DX Level(mindxlevel)
to Maximum DX Level(maxdxlevel)
<choices>
(only available in games before Left 4 Dead)- Very outdated settings. Their functionality seems to no longer be fully intact. Nearly all players will be at the highest setting anyway because DirectX 8 has been obsolete since 2002. This is still in the FGD for Alien Swarm, but it doesn't use it.
- Minimum CPU Level
(mincpulevel)
to Maximum CPU Level(maxcpulevel)
<choices>
(available in all games since ) - A user with the "effect detail" setting not in this specific range will not see this object.
- 0: Default
- 1: Low
- 2: Medium
- 3: High
- Minimum GPU Level
(mingpulevel)
to Maximum GPU Level(maxgpulevel)
<choices>
(available in all games since ) - A user with the "shader detail" setting not in this specific range will not see this object. Settings are named differently in different games.
- 0: Default
- 1: Very low or Low
- 2: Low or Medium
- 3: Medium or High
- 4: High or Very High
Inputs[edit | edit source]
- StartRagdollBoogie
- Makes the ragdoll shake as if it was shocked. Does not take a parameter, unlike what the FGD says.
- EnableMotion
- Allows the ragdoll to move.
- DisableMotion
- Prevents the ragdoll from moving.
- Enable
- Makes the ragdoll visible.
- Disable
- Makes the ragdoll invisible.
- FadeAndRemove
<float>
- Fades the ragdoll out over the specified number of seconds, then removes it.