Zh/Env fire: Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|en=Env_fire | |en=Env_fire | ||
}} | }} | ||
{{translate | {{translate}} | ||
[[File:env_fire.jpg|thumb|250px|right| | [[File:env_fire.jpg|thumb|250px|right|env_fire实例。]] | ||
{{ | {{point_ent:zh|env_fire}} | ||
== | ==实体描述== | ||
[[File:env_fire.png|left|link=]] | [[File:env_fire.png|left|link=]] | ||
简单的在实体[[origin|坐标]]上产生火焰的实体。火焰导热 '伤害' 给其他 周围'''env_fire'''实体。 并且会点燃附近不燃烧的env_fire实体。引发大火蔓延。 | |||
{{clr-left}} | {{clr-left}} | ||
{{ | {{注意|不会提供照明效果。}} | ||
{{ | {{注意|实体可能会“掉出”世界,你需要提高一点就像玩家出生点那样。}} | ||
{{bug| | {{bug|[[Portal]]中无效。参加[[Portal:Env_Fire_fix]]来获取信息。}} | ||
{{bug| | {{bug|虽然它可用,但是不会再[[Team Fortress 2]]中产生粒子效果。参加 [[TF2/Creating_fire|This method]]来获取信息。}} | ||
{{bug| | {{bug|除非你build(/rebuild)项目,否则不会用于source2007的mod。}} | ||
{{bug| | {{bug|等离子火(Plasma fire)不可见。}} | ||
== | ==键值== | ||
{{KV|Duration| | {{KV:zh-cn|Duration|整数型|火焰燃烧的持续时间。}} | ||
{{KV|Size| | {{KV:zh-cn|Size|整数型|火焰高度 (以世界单位) 。}} | ||
{{KV|Attack| | {{KV:zh-cn|Attack|整数型|多长时间这团火焰会燃烧到最高高度。}} | ||
{{KV|Type|choices| | {{KV:zh-cn|Type|choices|火焰效果,等离子或者自然火}} | ||
:* 0 : Natural | :* 0 : Natural/自然火 | ||
:* 1 : Plasma | :* 1 : Plasma/等离子火(不可见) | ||
{{KV|Ignition Point| | {{KV:zh-cn|Ignition Point|浮点型|需要对其导热多少'伤害'才能点燃。}} | ||
{{KV|Damage Scale| | {{KV:zh-cn|Damage Scale|浮点型|燃烧伤害X此倍数。}} | ||
{{KV Targetname}} | {{KV Targetname:zh}} | ||
{{KV Parentname}} | {{KV Parentname:zh}} | ||
{{KV EnableDisable}} | {{KV EnableDisable:zh}} | ||
==Flags== | ==标签/Flags== | ||
* 1 : Infinite Duration | * 1 : Infinite Duration - 永远燃烧 | ||
* 2 : Smokeless | * 2 : Smokeless - 无烟的 | ||
* 4 : Start On | * 4 : Start On - 自启动 | ||
* 8 : Start Full | * 8 : Start Full - 直接烧至最大高度 | ||
* 16 : Don't drop | * 16 : Don't drop - 不会掉落 | ||
* 32 : No glow | * 32 : No glow - 无光圈 | ||
* 128 : Delete when out | * 128 : Delete when out - 当它烧尽就删除。 | ||
* 256 : Visible from above | * 256 : Visible from above - 从上方可见。 | ||
{{ | {{注意| 在 Alien Swarm, env_fire 除非设置"Infinite Duration"否则无法被熄灭。}} | ||
== | ==输入== | ||
{{IO|StartFire| | {{IO:zh|StartFire|开始燃烧。}} | ||
{{IO|Extinguish| | {{IO:zh|Extinguish|指定秒数内永久扑灭火焰。|param=浮点型}} | ||
{{IO|ExtinguishTemporary| | {{IO:zh|ExtinguishTemporary|指定秒数内暂时扑灭火焰。|param=浮点型}} | ||
{{I Targetname}} | {{I Targetname:zh}} | ||
{{I Parentname}} | {{I Parentname:zh}} | ||
{{I EnableDisable}} | {{I EnableDisable:zh}} | ||
== | ==输出== | ||
{{IO|OnIgnited| | {{IO:zh|OnIgnited|当火焰被点燃时触发输出。}} | ||
{{IO|OnExtinguished| | {{IO:zh|OnExtinguished|当火焰完全扑灭时触发输出。}} | ||
{{O Targetname}} | {{O Targetname:zh}} | ||
[[Category:Special effects:zh-cn]] | [[Category:Special effects:zh-cn]] |
Revision as of 03:08, 13 October 2019

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.
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.
实体描述

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




键值
- Duration <整数 >
- 火焰燃烧的持续时间。
- Size <整数 >
- 火焰高度 (以世界单位) 。
- Attack <整数 >
- 多长时间这团火焰会燃烧到最高高度。
- Type <choices>
- 火焰效果,等离子或者自然火
- 0 : Natural/自然火
- 1 : Plasma/等离子火(不可见)
- Ignition Point <浮点型 >
- 需要对其导热多少'伤害'才能点燃。
- Damage Scale <浮点型 >
- 燃烧伤害X此倍数。
Parentname:
EnableDisable/启动禁用:
- 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 - 从上方可见。
输入
- StartFire
- 开始燃烧。
- Extinguish <浮点型 >
- 指定秒数内永久扑灭火焰。
- ExtinguishTemporary <浮点型 >
- 指定秒数内暂时扑灭火焰。
Parentname:
- SetParent <字符串 >
- 设置父级实体。详见Entity Hierarchy (parenting).
- SetParentAttachmentMaintainOffset <字符串 >
- 同上,但不传送。实体接受到此输出后保留与父级的相对位置。
- ClearParent
- 取消绑定父实体,以至于此实体可以自由行动。
EnableDisable/启动禁用:
- Enable
- Disable
- 启动/禁用此实体所具备的效果。同样会使实体消失。
输出
- OnIgnited
- 当火焰被点燃时触发输出。
- OnExtinguished
- 当火焰完全扑灭时触发输出。
实体目标名:
- OnUser1 to OnUser4
- 这些输出将分别响应于
FireUser1
到FireUser4
输入。 详见 User Inputs and Outputs。