Game ragdoll manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Add internal names of keyval keys)
Line 7: Line 7:


== Keyvalues ==
== Keyvalues ==
{{KV|Max Ragdoll Count|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).}}
{{KV|Max Ragdoll Count|intn=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).}}
{{warning|Accepted values range from -32 to 31. Anything over 31 resets back to -32.}}
{{warning|Accepted values range from -32 to 31. Anything over 31 resets back to -32.}}
{{KV|Max Ragdoll Count DX8|integer|Sets the max number of ragdolls that can be in the world at a time on DX8 hardware (if they are flagged to fade). Set to -1 if you want to use the 'Max Ragdoll Count' value.}}
{{KV|Max Ragdoll Count DX8|intn=MaxRagdollCountDX8|integer|Sets the max number of ragdolls that can be in the world at a time on DX8 hardware (if they are flagged to fade). Set to -1 if you want to use the 'Max Ragdoll Count' value.}}
{{KV|Save Important Ragdolls|boolean|Should the ragdoll manager make sure ally ragdolls aren't deleted?}}
{{KV|Save Important Ragdolls|intn=SaveImportant|boolean|Should the ragdoll manager make sure ally ragdolls aren't deleted?}}
{{KV Targetname}}
{{KV Targetname}}



Revision as of 11:29, 17 March 2021

Template:Base point

Entity description

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

Template:Map properties

Keyvalues

Max Ragdoll Count (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).
Warning.pngWarning:Accepted values range from -32 to 31. Anything over 31 resets back to -32.
Max Ragdoll Count DX8 (MaxRagdollCountDX8) <integer>
Sets the max number of ragdolls that can be in the world at a time on DX8 hardware (if they are flagged to fade). Set to -1 if you want to use the 'Max Ragdoll Count' value.
Save Important Ragdolls (SaveImportant) <boolean>
Should the ragdoll manager make sure ally ragdolls aren't deleted?
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

Inputs

SetMaxRagdollCount <integerRedirectInput/integer>
Set the Max Ragdoll Count.
SetMaxRagdollCountDX8 <integerRedirectInput/integer>
Set the Max Ragdoll Count on DX8 hardware.


Outputs

See also