Game gib manager

From Valve Developer Community
Revision as of 11:25, 17 March 2021 by Rhiono (talk | contribs) (Add internal names of keyval keys)
Jump to navigation Jump to search

Template:Base point ep1 It manages gibs on server and client. Template:Map properties

Keyvalues

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.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

SetMaxPieces <integerRedirectInput/integer>
Set the max gib count.
SetMaxPiecesDX8 <integerRedirectInput/integer>
Set the max gib count under DX8.


Outputs