Template:KV EnvShooter:zh-cn

From Valve Developer Community
Jump to: navigation, search

EnvShooter:

Model (shootmodel) ([todo internal name (i)]) <model path>
发射的东西,可以是 MDL 或者 VMT.
Material Sound (shootsounds) ([todo internal name (i)]) <choices>
当物体与这些作用时发出的声音 (shooting, walking on, etc). See $surfaceprop.
Value Description
-1 None - 无
0 Glass - 玻璃
1 Wood - 木
2 Metal - 金属
3 Flesh - 血肉
4 Concrete - 水泥
Skin (skin) ([todo internal name (i)]) <整数型>
部分模型有不同皮肤,设置皮肤,默认是0.
Model Scale (scale) ([todo internal name (i)]) <浮点型>
投射的模型缩放比例,不会影响碰撞体积。
Gib Gravity Scale (gibgravityscale) ([todo internal name (i)]) <浮点型>
物理的力调整,会影响其下落速度。快,慢或者其他。
Mass (massoverride) ([todo internal name (i)]) <浮点型> (in all games since Half-Life 2: Episode One Half-Life 2: Episode Two)
强制投射物达到一定质量,默认200[confirm]