Game gib manager: Difference between revisions
Jump to navigation
Jump to search

Note:The properties of this entity apply to the whole map. Multiple instances of this entity within a map may cause errors.
(-added class hierarchy, cleanup) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{CD|CGameGibManager|file1=1}} | {{CD|CGameGibManager|file1=1}} | ||
{{this is a| | {{this is a|logical entity|name=game_gib_manager|since=Half-Life 2: Episode One}} It manages gibs on server and client. | ||
{{Map properties note}} | {{Map properties note}} | ||
Revision as of 04:17, 29 April 2025
| CGameGibManager |
game_gib_manager is a logical entity available in all
Source games since
Half-Life 2: Episode One. It manages gibs on server and client.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
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.