Template:KV EnvShooter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(unused)
Tag: Blanking
 
Line 1: Line 1:
{{minititle|EnvShooter}}
 
{{KV|Model|intn=shootmodel|studio|Thing to shoot out. Can be an [[MDL]] or a [[VMT]].}}
{{KV|Material Sound|intn=shootsounds|choices|What sounds play when the gibs are interacted with (shooting, walking on, etc). See {{ent|$surfaceprop}}.}}
:{| class=standard-table
! Value || Description
|-
| <code>-1</code> || None
|-
| <code>0</code> || Glass
|-
| <code>1</code> || Wood
|-
| <code>2</code> || Metal
|-
| <code>3</code> || Flesh
|-
| <code>4</code> || Concrete
|}
{{KV|[[Skin]]|intn=skin|int|Some models have multiple skins. This value selects from the index, starting with 0.}}
{{KV|Model Scale|intn=scale|float|Multiplies the size of the <code>gib</code> models. Physics will not be scaled up.}}
{{KV|Gib Gravity Scale|intn=gibgravityscale|float|Scale gravity so that gibs fall faster, slower, or not at all. Only for point gibs.}}
{{KV|Mass|intn=massoverride|float|since=episodic|Force gibs to be a certain mass. Default mass is 200.{{confirm}}}}
{{KV|Blood Color|intn=massoverride|choices|only={{bms}}|Blood color for gibs. Appears when a gib touches world geometry. Only for point gibs.
*-1: None
*0: Red (Human)
*1: Yellow (Alien)
*2: Green (Alien)
*3: Grey (Mech)
{{note|No difference between last three. {{ModernConfirm|Can this be fixed ?}}
}}
{{note|This feature doesn't work with all models.}}
}}
{{KV|Explode on Impact|intn=touchkill|choices|only={{bms}}|If set to <code>Yes</code> - gib will explode when it touches world geometry. Only for point gibs.
*0: No
*1: Yes
}}
{{KV|Explode Damage|intn=gibdamage|float|only={{bms}}|The amount of damage the gib will do when exploding.}}
{{KV|Explode Sound|intn=gibsound|sound|only={{bms}}|Sound to play when gib exploding.}}
<noinclude>[[Category:Keyvalue Templates|EnvShooter]]</noinclude>

Latest revision as of 18:13, 30 July 2024