Difference between revisions of "Template:KV EnvShooter"

From Valve Developer Community
Jump to: navigation, search
(Created page with "{{minititle|EnvShooter}} {{KV|Skin (skin)|int|Some models have multiple skins. This value selects from the index, starting with 0.}} {{KV|Model Scale (scale)|float|Multipl...")
 
(added 2 more)
Line 1: Line 1:
 
{{minititle|EnvShooter}}
 
{{minititle|EnvShooter}}
 +
{{KV|Model (shootmodel)|studio|Thing to shoot out. Can be an [[MDL]] or a [[VMT]].}}
 +
{{KV|Material Sound (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]] (skin)|int|Some models have multiple skins. This value selects from the index, starting with 0.}}
 
{{KV|[[Skin]] (skin)|int|Some models have multiple skins. This value selects from the index, starting with 0.}}
 
{{KV|Model Scale (scale)|float|Multiplies the size of the <code>gib</code> models. Physics will not be scaled up.}}
 
{{KV|Model Scale (scale)|float|Multiplies the size of the <code>gib</code> models. Physics will not be scaled up.}}
 
{{KV|Gib Gravity Scale (gibgravityscale)|float|Scale gravity so that gibs fall faster, slower, or not at all.}}
 
{{KV|Gib Gravity Scale (gibgravityscale)|float|Scale gravity so that gibs fall faster, slower, or not at all.}}
 
{{KV|Mass (massoverride)|float|since=episodic|Force gibs to be a certain mass. Default mass is 200.{{confirm}}}}
 
{{KV|Mass (massoverride)|float|since=episodic|Force gibs to be a certain mass. Default mass is 200.{{confirm}}}}

Revision as of 19:17, 29 September 2018

EnvShooter:

Model (shootmodel) <model path>
Thing to shoot out. Can be an MDL or a VMT.
Material Sound (shootsounds) <choices>
What sounds play when the gibs are interacted with (shooting, walking on, etc). See $surfaceprop.
Value Description
-1 None
0 Glass
1 Wood
2 Metal
3 Flesh
4 Concrete
Skin (skin) <integer>
Some models have multiple skins. This value selects from the index, starting with 0.
Model Scale (scale) <float>
Multiplies the size of the gib models. Physics will not be scaled up.
Gib Gravity Scale (gibgravityscale) <float>
Scale gravity so that gibs fall faster, slower, or not at all.
Mass (massoverride) <float> (only in <Half-Life 2: Episode One><Half-Life 2: Episode One><Half-Life 2: Episode Two>)
Force gibs to be a certain mass. Default mass is 200.[confirm]