This article's documentation is for anything that uses the Source engine. Click here for more information.

Game ragdoll manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎See also: clean up, replaced: See Also → See also)
Line 17: Line 17:
{{O Targetname}}
{{O Targetname}}


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

Revision as of 02:30, 6 January 2024

English (en)Translate (Translate)

game_ragdoll_manager is an e0 available in all Source Source games. 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