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…')
 
(remove nogibshadows since it's not in baseclass and doesn't work on gibshooter)
 
(7 intermediate revisions by 4 users not shown)
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|intn=m_iGibs|integer|Total number of <code>gibs</code> 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|intn=delay|float|Delay (in seconds) between shooting each <code>gib</code>. If 0, all <code>gibs</code> 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)|intn=gibangles|vec3|The orientation of the spawned <code>gibs</code>.}}
{{KV|Gib Angles (Pitch Yaw Roll)|string|The orientation of the spawned gibs.}}
{{KV|Max angular velocity|intn=gibanglevelocity|float|How fast (degrees/sec) the <code>gibs</code> 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|intn=m_flVelocity|float|Speed of the fired <code>gibs</code>.}}
{{KV|Gib Velocity|integer|Speed of the fired gibs}}
{{KV|Course Variance|intn=m_flVariance|float|How much variance in the direction <code>gibs</code> are fired.}}
{{KV|Course Variance|string|How much variance in the direction gibs are fired.}}
{{KV|Gib Life|intn=m_flGibLife|float|Time in seconds for <code>gibs</code> to live +/- 5%.}}
{{KV|Gib Life|string|Time in seconds for gibs to live +/- 5%}}
{{KV|Lighting Origin|intn=lightingorigin|target_destination|Select an entity (not {{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|intn=simulation|choices|How the <code>gibs</code> will be physically simulated.
{{KV Targetname}}
:*0: Point (very cheap) ({{ent|gib}})
{{KV Parentname}}
:*1: [[VPhysics|Physics]] ({{ent|gib}})
}}<noinclude>
:*2: Ragdoll ({{ent|raggib}})}}<noinclude>[[Category:Keyvalue Templates|GibshooterBase]]</noinclude>
[[Category:Keyvalue Templates|GibshooterBase]]
</noinclude>

Latest revision as of 04:58, 17 November 2024

GibShooter:

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