Game ragdoll manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Add internal names of keyval keys)
m (updated template usage.)
Line 1: Line 1:
{{base point|game_ragdoll_manager}}  
{{lang|{{PAGENAME}}}}
 
{{point ent|game_ragdoll_manager}} It is used to control the number of [[ragdoll]]s in the world, if they are flagged to fade (server-side), for performance reasons.
==Entity description==
It is used to control the number of [[ragdoll]]s, if they are flagged to fade, (server-side in the world, for performance reasons.
 
{{map_properties}}
{{map_properties}}


== Keyvalues ==
== Keyvalues ==
{{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).}}
{{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 (<tt>g_ragdoll_maxcount</tt>).}}
{{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|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|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|intn=SaveImportant|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 BaseEntity}}
 
== Inputs ==
== Inputs ==
{{IO|SetMaxRagdollCount|Set the Max Ragdoll Count.|param=integer}}
{{IO|SetMaxRagdollCount|Set the Max Ragdoll Count.|param=integer}}
{{IO|SetMaxRagdollCountDX8|Set the Max Ragdoll Count on DX8 hardware.|param=integer}}
{{IO|SetMaxRagdollCountDX8|Set the Max Ragdoll Count on DX8 hardware.|param=integer}}
{{I Targetname}}
{{I BaseEntity}}


== Outputs ==
== Outputs ==
{{O Targetname}}
{{O Targetname}}


== See also ==
== See Also ==
* {{ent|game_gib_manager}}
* [[Physics and Ragdolls]]
* [[Physics and Ragdolls]]
* [[Prop Types Overview]].
* [[Prop Types Overview]].

Revision as of 08:52, 7 October 2022

English (en)Translate (Translate)

Template:Point ent It is used to control the number of ragdolls in the world, if they are flagged to fade (server-side), 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?

Inputs

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


Outputs

See Also