Zh/Env explosion: Difference between revisions
< Zh
Jump to navigation
Jump to search
m (Theki moved page Env explosion:zh-cn to Env explosion/zh) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{langsp}} | ||
[[File:env_explosion.jpg|right|thumb|320px|游戏内的一次爆炸。]] | [[File:env_explosion.jpg|right|thumb|320px|游戏内的一次爆炸。]] | ||
它将在自己的坐标点上产生一次爆炸。 | |||
{{code class|CEnvExplosion|explode.cpp}} | {{code class|CEnvExplosion|explode.cpp}} | ||
Line 24: | Line 24: | ||
== 键值 == | == 键值 == | ||
{{KV | {{KV|Magnitude (iMagnitude)|int|爆炸的伤害数值。}} | ||
{{KV | {{KV|Radius Override (iRadiusOverride)|int|伤害范围。如果指定,基于设置,未指定则范围基于伤害(上面的值)。}} | ||
{{KV | {{KV|Fireball Sprite (fireballsprite)|sprite|火球的图标。}} | ||
{{KV | {{KV|Render Mode (rendermode)|choices|火球的[[Render mode|渲染模式]]。 | ||
:*0: Normal | :*0: Normal | ||
:*4: Solid | :*4: Solid | ||
:*5: Additive}} | :*5: Additive}} | ||
{{KV | {{KV|Ignored Entity (ignoredEntity)|target_destination|不伤害或者影响实体。}} | ||
{{KV | {{KV|Damage Force (DamageForce)|float|nofgd=1|如果指定,会将此值作为物理力的作用大小。}} | ||
{{KV | {{KV|Ignored Class (ignoredClass)|int|不伤害或者影响[[List_of_default_AI_relationships|class]]的NPC }} | ||
{{KV BaseEntity | {{KV BaseEntity|css=1}} | ||
== 输入 == | == 输入 == | ||
{{IO | {{IO|Explode|触发爆炸。}} | ||
{{I BaseEntity | {{I BaseEntity|prel4d=1}} | ||
== 输出 == | == 输出 == | ||
{{O BaseEntity | {{O BaseEntity|l4d=1}} | ||
== 参见 == | == 参见 == | ||
*{{ent|env_physexplosion}} | *{{ent|env_physexplosion}} |
Revision as of 21:30, 13 June 2024
它将在自己的坐标点上产生一次爆炸。
标签
- 1: 不造成伤害
- 2: 可重复 - 爆炸发生之后不删除该实体。否则它会在
Explode
输入后0.3秒删除(此期间可以重新触发)。 - 4: 无火球
8: No Smoke- 没有效果- 16: 无印花 - 在爆炸的中心留下的黑色灰烬效果。
32: No Sparks- 没有效果- 64: 无声
- 128: 随机方向
- 256: 无火球烟 - 只有有火球的情况下才会有火球烟。
- 512: 无粒子
1024: No DLights- 没有效果- 2048: Don't clamp Min - 允许更小的火焰图标。
- 4096: Don't clamp Max - 允许更大的火焰图标。
- 8192: 只伤害水面 - 在水下则不造成伤害(对玩家)。
- 16384: 一般伤害 - 造成
DMG_GENERIC
,区分于DMG_BLAST
。
键值
- Render Mode (rendermode) ([todo internal name (i)]) <choices>
- 火球的渲染模式。
- 0: Normal
- 4: Solid
- 5: Additive
- Ignored Entity (ignoredEntity) ([todo internal name (i)]) <target_destination>
- 不伤害或者影响实体。
输入
- Explode
- 触发爆炸。