Game gib manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=game_gib_manager}}
{{base point ep1|game_gib_manager}} It manages gibs on server and client. {{map_properties}}
{{base_point_ep1}}


==Entity Description==
== Keyvalues ==
Manages gibs on server and client,
{{KV|Max Gib Count|integer|Sets the max number of gib that can be spawned at a time. (-1{{=}}no limit)}}
{{KV|Max Gib Count On DX8|integer|Sets the max number of gib that can be spawned at a time under DX8. (-1{{=}}use Max Gib Count setting)}}
{{KV|Allow New Gibs To Spawn|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.}}
{{KV Targetname}}


{{map_properties}}
== Inputs ==
{{IO|SetMaxPieces|Set the max gib count.|param=integer}}
{{IO|SetMaxPiecesDX8|Set the max gib count under DX8.|param=integer}}
{{I Targetname}}


==Keyvalues==
== Outputs ==
* {{KV Targetname}}
{{O Targetname}}
* '''maxpieces'''
: <integer> Sets the max number of gib that can be spawned at a time. Set to -1 if you want to use the default value (func_break_max_pieces).
 
==Inputs==
* {{I Targetname}}
* '''SetMaxPieces <integer>'''
: Set maxpieces
==Outputs==
* {{O Targetname}}

Revision as of 06:23, 26 July 2011

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

Keyvalues

Max Gib Count ([todo internal name (i)]) <integer>
Sets the max number of gib that can be spawned at a time. (-1=no limit)
Max Gib Count On DX8 ([todo internal name (i)]) <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 ([todo internal name (i)]) <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