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

Gibshooter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added note)
mNo edit summary
Line 1: Line 1:
{{lang|Gibshooter}}
{{lang|Gibshooter}}
{{base point|gibshooter|sprite=1}} It shoots out giblets. Style of body part depends on language type.{{clarify}}<!--Is this referring to HL1's German censorship???-->
{{this is a|e0|name=gibshooter|sprite=1}} It shoots out giblets. Style of body part depends on language type.{{clarify}}<!--Is this referring to HL1's German censorship???-->
{{note| this entity is fairly outdated. New games use [[Env_shooter]] instead.}}
{{note| this entity is fairly outdated. New games use [[Env_shooter]] instead.}}



Revision as of 09:24, 3 October 2023

English (en)Translate (Translate)
Gibshooter.png

gibshooter is an e0 available in all Source Source games. It shoots out giblets. Style of body part depends on language type.[Clarify]

Note.pngNote: this entity is fairly outdated. New games use Env_shooter instead.
C++ In code, it is represented by theCGibShooterclass, defined in theeffects.cppfile.

Flags

Repeatable : [1]

Keyvalues

GibShooter:

Number of Gibs (m_iGibs) <integer>
Total number of gibs to shoot each time the entity should shoot.
Delay between shots (delay) <float>
Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
Gib Angles (Pitch Yaw Roll) (gibangles) <vector3>
The orientation of the spawned gibs.
Max angular velocity (gibanglevelocity) <float>
How fast (degrees/sec) the gibs should spin. They will spin on the x and y axes between 10% and 100% of this speed.
Gib Velocity (m_flVelocity) <float>
Speed of the fired gibs.
Course Variance (m_flVariance) <float>
How much variance in the direction gibs are fired.
Gib Life (m_flGibLife) <float>
Time in seconds for gibs to live +/- 5%.
Lighting Origin (lightingorigin) <targetname>
Select an entity (not info_lighting!) to specify a location to sample lighting from for all gibs spawned by this shooter, instead of their own origins.
Physics (simulation) <choices>
How the gibs will be physically simulated.


Inputs

GibShooter:

Shoot
Force the gibshooter to create and shoot a gib.


Outputs