This article's documentation is for the "GoldSrc" engine. Click here for more information.

Gibshooter (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{tabs|gibshooter|goldsrc=1|source=1|main=source}} {{This is a|name=gibshooter|e0|engine=1}} It shoots out giblets. Style of body part depends on language type. ==Key Values=...")
 
(-added class hierarchy)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{tabs|gibshooter|goldsrc=1|source=1|main=source}}
{{tabs|gibshooter|goldsrc=1|source=1|main=source}}
{{This is a|name=gibshooter|e0|engine=1}} It shoots out giblets. Style of body part depends on language type.
{{CD|CGibShooter|goldsrc=1}}
{{this is a|point entity|name=gibshooter|engine=GoldSrc}} It shoots out giblets. Style of body part depends on language type.


==Key Values==
==Key Values==

Latest revision as of 18:18, 30 July 2024

C++ Class hierarchy
CGibShooter
CBaseDelay
CBaseEntity
C++ effects.cpp

gibshooter is a point entity available in all GoldSrc GoldSrc games. It shoots out giblets. Style of body part depends on language type.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Number of Gibs (m_iGibs) <integer>
Total number of gibs to shoot each time the entity should shoot.
Delay between shots (delay) <string>
Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
Gib Velocity (m_flVelocity) <integer>
Speed of the fired gibs.
Course Variance (m_flVariance) <string>
How much variance in the direction gibs are fired.
Gib Life (m_flGibLife) <string>
Time in seconds for gibs to live +/- 5%.

Flags

Repeatable : [1]