game_ragdoll_manager

From Source Entities
Jump to navigation Jump to search

Code classes:

game_ragdoll_manager is a point entity present in all Source games. It sets a limit on how many ragdolls (dynamically created, e.g. NPC corpses) can be in the map at once, for CPU performance reasons. Not worth using unless the amount being made is MASSIVE.

Keyvalues[edit | edit source]

Max Ragdoll Count (MaxRagdollCount) <integer>
How many ragdolls there can be in the map at once. -1 means use the value set by the g_ragdoll_maxcount convar.
Max Ragdoll Count DX8 (MaxRagdollCountDX8) <integer> (only available in Hl2.pngP1.pngDods.pngTf2.pngCss.png)
How many ragdolls there can be in the map at once, for DirectX 8 users. -1 means use Max Ragdoll Count.
DirectX 8 has been obsolete for approximately 15 years. This setting is worthless.
Save Important Ragdolls (SaveImportant) <boolean> (only available in Hl2.png)
Makes the manager always save ragdoll corpses from non-passive citizens, G-Man, Kleiner, Mossman, Eli, the fisherman, Alyx, Barney, Grigori, and Dog. Confirm: Untested. Confirm if it works.

Inputs[edit | edit source]

SetMaxRagdollCount <integer>
Sets Max Ragdoll Count.
SetMaxRagdollCountDX8 <integer> (only available in Hl2.pngP1.pngDods.pngTf2.pngCss.png)
Sets Max Ragdoll Count DX8.

See Also[edit | edit source]