Template:KV Gibshooterbase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated link)
(Redirected page to Template:KV GibshooterBase)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{kv targetname}}
#REDIRECT [[Template:KV GibshooterBase]]
*{{kv parentname}}
*'''angles'''
:<[[angles]]> Gib Direction (Pitch Yaw Roll) - The direction the gibs will fly.
*'''m_iGibs'''
:<integer> Number of Gibs - Total number of gibs to shoot each time it's activated.
*'''delay'''
:<float> Delay between shots - Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
*'''gibangles'''
:<[[angles]]> Gib Angles (Pitch Yaw Roll) - The orientation of the spawned gibs.
*'''m_flVelocity'''
:<float> Gib Velocity - Speed of the fired gibs.
*'''m_flVariance'''
:<float> Course Variance - How much variance in the direction gibs are fired.
*'''m_flGibLife'''
:<float> Gib Life - Time in seconds for gibs to live +/- 5%.
* '''lightingorigin'''
: <target_destination> Select an [[info_lighting]] to specify a location to sample lighting from for all gibs spawned by this shooter, instead of their own origins.
* {{kv renderfields}}
*'''disablereceiveshadows'''
: {{boolean}} Disable Receiving Shadows
*'''shootmodel'''
:<studio> Model - Thing to shoot out. Can be a .mdl (model) or a .vmt (material/sprite).
*'''shootsounds'''
:<choices> Material Sound
:{|
! Literal value || Description
|-
| -1 || None
|-
| 0 || Glass
|-
| 1 || Wood
|-
| 2 || Metal
|-
| 3 || Flesh
|-
| 4 || Concrete
|}
*'''simulation'''
:<choices> Simulate
:{|
! Literal value || Description
|-
| 0 || Point
|-
| 1 || Physics
|-
| 2 || Ragdoll
|}
*'''skin'''
:<integer> Gib Skin - Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin on all gibs produced by this shooter.
 
*'''{{ep1 add|gibanglevelocity}}'''
: <angle> Max angular velocity
: How fast (degrees/sec) the gib pieces should spin. They will spin on x and y axis at between 10% and 100% of this speed.
* '''{{ep1 add|lightingorigin}}'''
: <target_destination> Select an info_lighting to specify a location to sample lighting from for all gibs spawned by this shooter, instead of their own origins.

Latest revision as of 06:46, 24 July 2011