env_fire

From Valve Developer Community
< Zh
Revision as of 03:08, 13 October 2019 by 求生的兔 (talk | contribs)
Jump to navigation Jump to search

Template:Otherlang2

Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
env_fire实例。

起源 env_fire是一个存在于所有的 起源 游戏的点实体

实体描述

Env fire.png

简单的在实体坐标上产生火焰的实体。火焰导热 '伤害' 给其他 周围env_fire实体。 并且会点燃附近不燃烧的env_fire实体。引发大火蔓延。

Template:注意 Template:注意

Icon-Bug.png错误:Portal中无效。参加Portal:Env_Fire_fix来获取信息。  [todo tested in ?]
Icon-Bug.png错误:虽然它可用,但是不会再Team Fortress 2中产生粒子效果。参加 This method来获取信息。  [todo tested in ?]
Icon-Bug.png错误:除非你build(/rebuild)项目,否则不会用于source2007的mod。  [todo tested in ?]
Icon-Bug.png错误:等离子火(Plasma fire)不可见。  [todo tested in ?]


键值

Duration <整数(en)>
火焰燃烧的持续时间。
Size <整数(en)>
火焰高度 (以世界单位) 。
Attack <整数(en)>
多长时间这团火焰会燃烧到最高高度。
Type <choices>
火焰效果,等离子或者自然火
  • 0 : Natural/自然火
  • 1 : Plasma/等离子火(不可见)
Ignition Point <浮点型(en)>
需要对其导热多少'伤害'才能点燃。
Damage Scale <浮点型(en)>
燃烧伤害X此倍数。

Template:KV Targetname:zh

Parentname:
Parent (parentname) <目标名(en)>
指定一个实体作为父实体(跟随移动)。实体的父级实体,该实体可以与父实体保持移动偏移。名称后面可以添加一个附属点,以逗号隔开。

EnableDisable/启动禁用:

Start Disabled (StartDisabled) <布尔值(en)>
保持休眠状态,直到被唤醒。(利用Enable输入)。

标签/Flags

  • 1 : Infinite Duration - 永远燃烧
  • 2 : Smokeless - 无烟的
  • 4 : Start On - 自启动
  • 8 : Start Full - 直接烧至最大高度
  • 16 : Don't drop - 不会掉落
  • 32 : No glow - 无光圈
  • 128 : Delete when out - 当它烧尽就删除。
  • 256 : Visible from above - 从上方可见。

Template:注意

输入

StartFire
开始燃烧。
Extinguish <浮点型(en)>
指定秒数内永久扑灭火焰。
ExtinguishTemporary <浮点型(en)>
指定秒数内暂时扑灭火焰。

Template:I Targetname:zh

Parentname:
SetParent <字符串(en)>
设置父级实体。详见Entity Hierarchy (parenting).
SetParentAttachment <字符串(en)>
修改此实体到父实体的特定附属点。实体会传送,以至于其骨骼方位与附属匹配。在使用此输入前必须设置好实体的父实体。
SetParentAttachmentMaintainOffset <字符串(en)>
同上,但不传送。实体接受到此输出后保留与父级的相对位置。
ClearParent
取消绑定父实体,以至于此实体可以自由行动。

EnableDisable/启动禁用:

Enable
Disable
启动/禁用此实体所具备的效果。同样会使实体消失。

输出

OnIgnited
当火焰被点燃时触发输出。
OnExtinguished
当火焰完全扑灭时触发输出。

实体目标名:

OnUser1 to OnUser4
这些输出将分别响应于FireUser1FireUser4 输入。 详见 User Inputs and Outputs
OnKilled  (存在于 求生之路系列求生之路系列 之中)
当实体被删除时触发此输出。