Template:KV GibshooterBase: Difference between revisions
Jump to navigation
Jump to search
(gib ents) |
(intn for Source keyvalue templates) |
||
Line 1: | Line 1: | ||
{{minititle|GibShooter}} | {{minititle|GibShooter}} | ||
{{KV|Number of Gibs | {{KV|Number of Gibs|intn=m_iGibs|integer|Total number of <code>gibs</code> to shoot each time the entity should shoot.}} | ||
{{KV|Delay between shots | {{KV|Delay between shots|intn=delay|string|Delay (in seconds) between shooting each <code>gib</code>. If 0, all <code>gibs</code> shoot at once.}} | ||
{{KV|Gib Angles (Pitch Yaw Roll) | {{KV|Gib Angles (Pitch Yaw Roll)|intn=gibangles|string|The orientation of the spawned <code>gibs</code>.}} | ||
{{KV|Max angular velocity | {{KV|Max angular velocity|intn=gibanglevelocity|string|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|Gib Velocity | {{KV|Gib Velocity|intn=m_flVelocity|integer|Speed of the fired <code>gibs</code>.}} | ||
{{KV|Course Variance | {{KV|Course Variance|intn=m_flVariance|string|How much variance in the direction <code>gibs</code> are fired.}} | ||
{{KV|Gib Life | {{KV|Gib Life|intn=m_flGibLife|string|Time in seconds for <code>gibs</code> to live +/- 5%.}} | ||
{{KV|Lighting Origin | {{KV|Lighting Origin|intn=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|Physics | {{KV|Physics|intn=simulation|choices|How the <code>gibs</code> will be physically simulated. | ||
:*0: Point (very cheap) ({{ent|gib}}) | :*0: Point (very cheap) ({{ent|gib}}) | ||
:*1: [[VPhysics|Physics]] ({{ent|gib}}) | :*1: [[VPhysics|Physics]] ({{ent|gib}}) | ||
:*2: Ragdoll ({{ent|raggib}})}} | :*2: Ragdoll ({{ent|raggib}})}} | ||
{{KV|Disable Shadows | {{KV|Disable Shadows|intn=nogibshadows|bool|Set to 1 to disable [[render target]] shadows on <code>gibs</code>.}}<noinclude>[[Category:Keyvalue Templates|GibshooterBase]]</noinclude> |
Revision as of 13:05, 9 July 2024
GibShooter:
- Number of Gibs (m_iGibs) <integer>
- Total number of
gibs
to shoot each time the entity should shoot.
- Delay between shots (delay) <string>
- Delay (in seconds) between shooting each
gib
. If 0, allgibs
shoot at once.
- Gib Angles (Pitch Yaw Roll) (gibangles) <string>
- The orientation of the spawned
gibs
.
- Max angular velocity (gibanglevelocity) <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) <integer>
- Speed of the fired
gibs
.
- Course Variance (m_flVariance) <string>
- How much variance in the direction
gibs
are fired.
- Gib Life (m_flGibLife) <string>
- Time in seconds for
gibs
to live +/- 5%.
- Lighting Origin (lightingorigin) <targetname>
- Select an info_lighting to specify a location to sample lighting from for all
gib
s spawned by this shooter, instead of their own origins.
- Physics (simulation) <choices>
- How the
gibs
will be physically simulated.
- Disable Shadows (nogibshadows) <boolean>
- Set to 1 to disable render target shadows on
gibs
.