Gibshooter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=gibshooter}}
[[File:gibshooter.png|left|link=]]
{{base_point}}


==Entity Description==
{{base point|gibshooter}} It shoots out giblets. Style of body part depends on language type.{{clr}}
[[Image:{{PAGENAME}}.png|left]]An entity that shoots out [[Wikipedia:gibs|gibs]]. Style of body part depends on language type.{{clr}}


==Keyvalues==
== Keyvalues ==
*{{KV Targetname}}
{{KV gibshooterbase}}
*{{KV Parentname}}
*'''angles'''
:<[[angles]]> The direction the gibs will fly.
*'''m_iGibs'''
:<integer> Total number of gibs to shoot each time it's activated.
*'''delay'''
:<float> Delay, in seconds, between shooting each gib. If 0, all gibs shoot at once.
*'''gibangles'''
:<[[angles]]> The angular orientation of the spawned gibs.
*'''m_flVelocity'''
:<float> Speed of the fired gibs
*'''m_flVariance'''
:<float> How much variance in the direction gibs are fired.
*'''m_flGibLife'''
:<float> Time in seconds for gibs to live, +/- 5%


==Flags==
== Flags ==
*1 : Repeatable
{{Fl gibshooterbase}}


==Inputs==
== Inputs ==
*{{I Targetname}}
{{I gibshooterbase}}
*{{I Parentname}}
*'''Shoot'''
:Force the gibshooter to create and shoot a gib.
 
==Outputs==
*{{O Targetname}}

Revision as of 07:30, 26 July 2011

Gibshooter.png

Template:Base point It shoots out giblets. Style of body part depends on language type.

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.

Flags

Template:Fl gibshooterbase

Inputs

GibShooter:

Shoot
Force the gibshooter to create and shoot a gib.