Env lightglow

From Valve Developer Community
< Zh
Revision as of 08:36, 14 October 2019 by 求生的兔 (talk | contribs)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
env_lightglow在隧道中的使用,在尽头使用会造成一些错觉。

起源 env_lightglow是一个存在于所有的 起源 游戏的点实体。给地图增加一些光圈光彩效果, 通常用于光源点和一些自然发光的效果, (隧道洞穴或者黑暗建筑等)。 与 env_sprite最大的区别是可以配置显示距离。

Template:注意


待完善: This template is currently using deprecated suf or {{Lang}}-based translations. Please use the main {{Code class}} instead, which uses {{Autolang}}.

在源代码中,它由 class CLightGlow 代表,定义于 lightglow.cpp


标签/Flags

  • 1: Visible only from front - 仅正面可见。

键值

Color (R G B) (rendercolor) ([todo internal name (i)]) <color255(en)>
光圈颜色。
Vertical Size (VerticalGlowSize) ([todo internal name (i)]) <整数(en)>
垂直方向上光圈的大小,单位是hammer单位。
Horizontal Size (HorizontalGlowSize) ([todo internal name (i)]) <整数(en)>
水平方向上光圈的大小,单位同上。
Minimum Distance (MinDist) ([todo internal name (i)]) <整数(en)>
Maximum Distance (MaxDist) ([todo internal name (i)]) <整数(en)>
Outer Maximum Distance (OuterMaxDist) ([todo internal name (i)]) <整数(en)>
如果大于Maximum Distance , this is the length at which the glow will fade completely out, between the span of the maximum distance and this length.
Glow Proxy Geometry Size (0-64) (GlowProxySize) ([todo internal name (i)]) <浮点型(en)>
Size of the glow to be rendered for visibility testing. Any time a sphere of this radius would be visible (poking through any nearby geometry), the glow will be rendered.
HDR color scale (HDRColorScale) ([todo internal name (i)]) <浮点型(en)>
Color multiplier for players using HDR.


输入

Color <color255(en)>
Change the render color of the glow. A value of 0 0 0 will hide the sprite.


输出