env_fire
< Zh
Jump to navigation
Jump to search
Template:Otherlang2 Template:Translate:zh-cn
Entity description

It handles a single flame at its origin. The flame causes heat 'damage' to other env_fire entities around it, and will eventually ignite non-flaming env_fire entities nearby, causing the fire to spread.






Keyvalues
- Type ([todo internal name (i)]) <choices>
- Either Natural or Plasma. Natural is a general all purpose flame, like a wood fire.
- 0 : Natural
- 1 : Plasma
- Ignition Point ([todo internal name (i)]) <浮点型 >
- Amount of heat 'damage' to take before this flame should ignite.
- Name (目标名称) <target_source>[ Edit ]
- 这个名称是其他实体通过 输入/输出 或其他 关键值 (如
parentname
或target
) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告 中。参见: 所有实体均可使用的 通用键值、输入与输出
Parentname:
- Parent (parentname) <目标名 >
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- Start Disabled (StartDisabled) <布尔值 >
- 保持休眠状态,直到被唤醒。(利用
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

Inputs
- StartFire
- Start the fire.
- Extinguish <浮点型 >
- Puts out the fire permanently in the number of seconds specified.
- ExtinguishTemporary <浮点型 >
- Puts out the fire temporarily in the number of seconds specified.
Parentname:
- SetParent <字符串 >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <字符串 >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <字符串 >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnIgnited
- Fires when the fire is first ignited.
- OnExtinguished
- Fires when the fire is fully extinguished.