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
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy)
 
Line 1: Line 1:
{{tabs|gibshooter|goldsrc=1|source=1|main=source}}
{{tabs|gibshooter|goldsrc=1|source=1|main=source}}
{{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.
{{this is a|point entity|name=gibshooter|engine=GoldSrc}} It shoots out giblets. Style of body part depends on language type.



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]