Template:KV Gibshooterbase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (remove first bullet)
(Inserted all the common values between env_shooter and env_rotorshooter, and also added SmartEdit values for all things.)
Line 2: Line 2:
*{{kv parentname}}
*{{kv parentname}}
*'''angles'''
*'''angles'''
:<[[angles]]> The direction the gibs will fly.
:<[[angles]]> Gib Direction (Pitch Yaw Roll) - The direction the gibs will fly.
*'''m_iGibs'''
*'''m_iGibs'''
:<integer> Total number of gibs to shoot each time it's activated.
:<integer> Number of Gibs - Total number of gibs to shoot each time it's activated.
*'''delay'''
*'''delay'''
:<float> Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
:<float> Delay between shots - Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
*'''gibangles'''
*'''gibangles'''
:<[[angles]]> The orientation of the spawned gibs.
:<[[angles]]> Gib Angles (Pitch Yaw Roll) - The orientation of the spawned gibs.
*'''m_flVelocity'''
*'''m_flVelocity'''
:<float> Speed of the fired gibs
:<float> Gib Velocity - Speed of the fired gibs.
*'''m_flVariance'''
*'''m_flVariance'''
:<float> How much variance in the direction gibs are fired.
:<float> Course Variance - How much variance in the direction gibs are fired.
*'''m_flGibLife'''
*'''m_flGibLife'''
:<float> Time in seconds for gibs to live +/- 5%
:<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.

Revision as of 00:51, 4 April 2006

Template:Kv targetname

<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.
<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.