Template:KV Gibshooterbase: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 1: | Line 1: | ||
{{kv targetname}} | {{kv targetname}} | ||
*{{ | *{{KV Parentname}} | ||
*'''angles''' | *'''angles''' | ||
:<[[angles]]> Gib Direction (Pitch Yaw Roll) - The direction the gibs will fly. | :<[[angles]]> Gib Direction (Pitch Yaw Roll) - The direction the gibs will fly. |
Revision as of 22:35, 19 January 2009
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- 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.
- Template: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.
- gibanglevelocity (in all games since
)
- <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.
- lightingorigin (in all games since
)
- <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.