env_physexplosion
< Zh
Jump to navigation
Jump to search

env_physexplosion
是一个点实体 ,可在所有的 起源 游戏中使用。
它适用于给物理对象施加一个物理力(取决于设置的半径),并取决于大小造成一次轻度到大的爆炸。爆炸不可见,如果你想要爆炸是可见的,请用env_explosion.

标签/Flags
- 1: No Damage - 只有力的作用,类似于冲击波(无论是否勾选都不会伤害玩家,只会是物体)
- 2: Push players - 推开玩家
- 4: Push radially - 非球体爆炸,不会产生向上或者向下的力。
- 8: Test LOS before pushing - 在推前测试LOS
- 16: Disorient player if pushed - 玩家被推动会迷失方向。
键值
参见: Generic Keyvalues, Inputs and Outputs available to all entities
- Name (targetname) <target_source>
- 其他实体引用该实体的目标名称。
- Magnitude (magnitude) ([todo internal name (i)]) <字符串 >
- 爆炸冲击波力的大小。

- Clamp Radius (0 = auto) (radius) ([todo internal name (i)]) <字符串 >
- 受力的半径,如果指定,则爆炸取决于此。没有,则取决于Magnitude的大小。
- Limit to Entity (targetentityname) ([todo internal name (i)]) <target_destination>
- 如果指定,爆炸只会影响匹配的实体。
- Inner radius (inner_radius) ([todo internal name (i)]) <浮点型 >
- If not zero, the LOS is calculated from a point intersecting this sphere.
输入
- Explode
- 开始一次爆炸。
输出
- OnPushedPlayer
- 当玩家被爆炸推动的时候触发。