game_gib_manager
Class hierarchy |
---|
CGameGibManager |
props_shared.cpp
|
game_gib_manager
is a point entity available in all Source games since Half-Life 2: Episode One. It manages gibs on server and client.
Note:The properties of this entity apply to the whole map. Multiple instances of this entity within a map may cause errors.
Keyvalues
- Name
(targetname)
<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Max Gib Count
(maxpieces)
<integer> - Sets the max number of gib that can be spawned at a time. (-1=no limit)
- Max Gib Count On DX8
(maxpiecesdx8)
<integer> - Sets the max number of gib that can be spawned at a time under DX8. (-1=use Max Gib Count setting)
- 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
SetMaxPieces
<integer>- Set the max gib count.
SetMaxPiecesDX8
<integer>- Set the max gib count under DX8.