Game ragdoll manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 11: Line 11:
==Keyvalues==
==Keyvalues==


* {{kv targetname}}
* {{KV Targetname}}


* '''MaxRagdollCount'''
* '''MaxRagdollCount'''

Revision as of 19:55, 19 January 2009

Template:Wrongtitle Template:Base point

Entity Description

An entity to control the number of ragdolls, if they are flagged to fade, (server-side in the world, for performance reasons.

Template:Map properties

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • MaxRagdollCount
<integer> Sets the max number of ragdolls that can be in the world at a time (if they are flagged to fade).
Set to -1 if you want to use the default value (g_ragdoll_maxcount).
  • SaveImportant (in all games since Half-Life 2: Episode One)
<boolean> If set, the ragdoll manager will not clean up ally ragdolls

Inputs

  • SetMaxRagdollCount <integer>
Set the Max Ragdoll Count.

Outputs