game_gib_manager

From Source Entities
Jump to navigation Jump to search
Obsolete.png

This entity is obsolete. Using this is discouraged.

Code classes:

game_gib_manager is a point entity present in all Source games. Pointlessly excessive optimization technique. It limits how many gibs there can be on the map. Gibs almost always clean themselves up after a certain amount of time.

Keyvalues[edit | edit source]

Max Gib Count (maxpieces) <integer>
How many gibs there can be in the map at once. -1 means no limit.
Max Gib Count On DX8 (maxpiecesdx8) <integer>
How many gibs there can be in the map at once, for DirectX 8 users. -1 means use Max Gib Count.
DirectX 8 has been obsolete for approximately 15 years. This setting is worthless.
Allow New Gibs To Spawn (allownewgibs) <boolean>
If true, when the max gib count is reached, oldest gibs are removed as new gibs spawn. If false, new gibs will not be spawned once the gib limit is reached.

Inputs[edit | edit source]

SetMaxPieces <integer>
Sets Max Gib Count.
SetMaxPiecesDX8 <integer>
Sets Max Gib Count On DX8.

See Also[edit | edit source]