Template:KV GibshooterBase: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{ScrollBox|title=GibshooterBase| {{KV|Gib Direction (Pitch Yaw Roll)|string|The direction the gibs will fly.}} {{KV|Number of Gibs|integer|Total number of gibs to shoot each tim…')
 
(updates)
Line 1: Line 1:
{{ScrollBox|title=GibshooterBase|
{{minititle|Gibshooter}}
{{KV|Gib Direction (Pitch Yaw Roll)|string|The direction the gibs will fly.}}
{{KV|Number of Gibs (m_iGibs)|integer|Total number of <code>gib</code>s to shoot each time the entity should shoot.}}
{{KV|Number of Gibs|integer|Total number of gibs to shoot each time it's activated.}}
{{KV|Delay between shots (delay)|string|Delay (in seconds) between shooting each <code>gib</code>. If 0, all <code>gib</code>s shoot at once.}}
{{KV|Delay between shots|string|Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.}}
{{KV|Gib Angles (Pitch Yaw Roll) (gibangles)|string|The orientation of the spawned <code>gib</code>s.}}
{{KV|Gib Angles (Pitch Yaw Roll)|string|The orientation of the spawned gibs.}}
{{KV|Max angular velocity (gibanglevelocity)|string|How fast (degrees/sec) the <code>gib</code>s should spin. They will spin on the x and y axes between 10% and 100% of this speed.}}
{{KV|Max angular velocity|string|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.}}
{{KV|Gib Velocity (m_flVelocity)|integer|Speed of the fired <code>gib</code>s.}}
{{KV|Gib Velocity|integer|Speed of the fired gibs}}
{{KV|Course Variance (m_flVariance)|string|How much variance in the direction <code>gib</code>s are fired.}}
{{KV|Course Variance|string|How much variance in the direction gibs are fired.}}
{{KV|Gib Life (m_flGibLife)|string|Time in seconds for <code>gib</code>s to live +/- 5%.}}
{{KV|Gib Life|string|Time in seconds for gibs to live +/- 5%}}
{{KV|Lighting Origin (lightingorigin)|target_destination|Select an {{ent|info_lighting}} to specify a location to sample lighting from for all <code>gib</code>s spawned by this shooter, instead of their own origins.}}
{{KV|Lighting Origin|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|Physics (Simulation)|choices|nofgd=1|How the <code>gib</code>s will be physically simulated.
{{KV Targetname}}
:*0: Point (very cheap)
{{KV Parentname}}
:*1: [[VPhysics|Physics]]
}}<noinclude>
:*2: Ragdoll ({{ent|raggib}})}}
[[Category:Keyvalue Templates|GibshooterBase]]
{{KV|Disable Shadows (nogibshadows)|bool|nofgd=1|Set to 1 to disable [[render target]] shadows on <code>gib</code>s.}}<noinclude>[[Category:Keyvalue Templates|GibshooterBase]]</noinclude>
</noinclude>

Revision as of 17:59, 29 September 2018

Gibshooter:

Number of Gibs (m_iGibs) ([todo internal name (i)]) <integer>
Total number of gibs to shoot each time the entity should shoot.
Delay between shots (delay) ([todo internal name (i)]) <string>
Delay (in seconds) between shooting each gib. If 0, all gibs shoot at once.
Gib Angles (Pitch Yaw Roll) (gibangles) ([todo internal name (i)]) <string>
The orientation of the spawned gibs.
Max angular velocity (gibanglevelocity) ([todo internal name (i)]) <string>
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) ([todo internal name (i)]) <integer>
Speed of the fired gibs.
Course Variance (m_flVariance) ([todo internal name (i)]) <string>
How much variance in the direction gibs are fired.
Gib Life (m_flGibLife) ([todo internal name (i)]) <string>
Time in seconds for gibs to live +/- 5%.
Lighting Origin (lightingorigin) ([todo internal name (i)]) <targetname>
Select an info_lighting to specify a location to sample lighting from for all gibs spawned by this shooter, instead of their own origins.
Physics (Simulation) ([todo internal name (i)]) <choices> !FGD
How the gibs will be physically simulated.
Disable Shadows (nogibshadows) ([todo internal name (i)]) <boolean> !FGD
Set to 1 to disable render target shadows on gibs.