This article's documentation is for anything that uses the Source engine. Click here for more information.

Game gib manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{lang|Game gib manager}}
{{LanguageBar}}
{{this is a|point entity|name=game_gib_manager|since=Half-Life 2: Episode One}} It manages gibs on server and client. {{map_properties}}
{{CD|CGameGibManager|file1=1}}
{{this is a|point entity|name=game_gib_manager|since=Half-Life 2: Episode One}} It manages gibs on server and client.  
{{Map properties note}}


==Keyvalues==
== Keyvalues ==
{{KV Targetname}}
{{KV|Max Gib Count|intn=maxpieces|integer|Sets the max number of gib that can be spawned at a time. (-1{{=}}no limit)}}
{{KV|Max Gib Count|intn=maxpieces|integer|Sets the max number of gib that can be spawned at a time. (-1{{=}}no limit)}}
{{KV|Max Gib Count On DX8|intn=maxpiecesdx8|integer|Sets the max number of gib that can be spawned at a time under DX8. (-1{{=}}use Max Gib Count setting)}}
{{KV|Max Gib Count On DX8|intn=maxpiecesdx8|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|intn=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.}}
{{KV|Allow New Gibs To Spawn|intn=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.}}
{{KV BaseEntity}}


== Inputs ==
== Inputs ==
{{IO|SetMaxPieces|Set the max gib count.|param=integer}}
{{I|SetMaxPieces|Set the max gib count.|param=integer}}
{{IO|SetMaxPiecesDX8|Set the max gib count under DX8.|param=integer}}
{{I|SetMaxPiecesDX8|Set the max gib count under DX8.|param=integer}}
{{I BaseEntity}}
 
== Outputs ==
{{O BaseEntity|l4d=1}}

Revision as of 13:31, 25 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CGameGibManager
CBaseEntity
C++ props_shared.cpp

game_gib_manager is a point entity available in all Source Source games since Half-Life 2: Episode One Half-Life 2: Episode One. It manages gibs on server and client.

Note.pngNote: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>[ 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

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 <integerRedirectInput/integer>
Set the max gib count.
SetMaxPiecesDX8 <integerRedirectInput/integer>
Set the max gib count under DX8.