Template:KV Gibshooterbase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Inserted all the common values between env_shooter and env_rotorshooter, and also added SmartEdit values for all things.)
(Redirected page to Template:KV GibshooterBase)
 
(8 intermediate revisions by 2 users 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'''
: <[[Wikipedia:boolean_datatype|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.

Latest revision as of 06:46, 24 July 2011