Prop ragdoll

From Valve Developer Community
Revision as of 00:57, 18 August 2005 by Ts2do (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Entity Description

A prop that physically simulates and can be articulated with internal joints. The joint constraints are part of the physics model.


World Model (model) <string>
The model this entity should appear as. 128-character limit.
Skin (skin) <integer>
Some models have multiple skins. This value selects from the index, starting with 0.
Tip:Hammer's model browser automatically updates this value if you use it to view different skins.
Model Scale (modelscale) <float> (New with Team Fortress 2)
A multiplier for the size of the model.


Disable shadows (disableshadows) <boolean>
Prevent the entity from creating cheap render-to-texture shadows. Does not affect shadow mapping.
Disable ShadowDepth (disableshadowdepth) <boolean> (New with Portal 2)
Used to disable rendering into shadow depth (for projected textures) for this entity.
Projected Texture Cache (shadowdepthnocache) <choices> (New with Portal 2)
Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
  • 0 : Default
  • 1 : No cache - render every frame
  • 2 : Cache it - render only once
Disable flashlight (disableflashlight) <boolean> (New with Portal 2)
Used to disable projected texture lighting and shadows on this entity.
<string> Filled in by the engine via wc_update_entity, do not edit by hand except to clear.
  • fademindist
<float> Distance at which the prop starts to fade (-1 = use fademaxdist)
  • fademaxdist
<float> Max fade distance at which the prop is visible (0 = don't fade out)
  • fadescale
<float> If you specify a fade in the worldspawn, or if the engine is running under dx7, or the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances.


  • 4 : Debris - Don't collide with the player or other debris
  • 8192 : Allow Dissolve


Skin <int>
Changes the model's skin to the specified number.
SetBodyGroup <int>
Set the model's body group.
Control the model's cheap render-to-texture shadow.
AlternativeSorting <bool>
Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
SetModelScale  <float> (New with Team Fortress 2)
Sets the model scaling factor


See Also