Zh/Env lightglow: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==键值==
==键值==
{{KV|Color (R G B) (rendercolor)|color255|Glow color.}}
{{KV|Color (R G B) (rendercolor)|color255|光圈颜色。}}
{{KV|Vertical Size (VerticalGlowSize)|integer|Vertical glow size in units.}}
{{KV|Vertical Size (VerticalGlowSize)|整数型|垂直方向上光圈的大小,单位是hammer单位。}}
{{KV|Horizontal Size (HorizontalGlowSize)|integer|Horizontal glow size in units.}}
{{KV|Horizontal Size (HorizontalGlowSize)|整数型|水平方向上光圈的大小,单位同上。}}
{{KV|Minimum Distance (MinDist)|integer|The distance at which this effect will be fully translucent.}}
{{KV|Minimum Distance (MinDist)|整数型|此距离会达成完全透明.=消失}}
{{KV|Maximum Distance (MaxDist)|integer|The distance at which this effect will be at full intensity.}}
{{KV|Maximum Distance (MaxDist)|整数型|此距离则会达成最大显示强度.=完全显示}}
{{KV|Outer Maximum Distance (OuterMaxDist)|integer|If larger than the maximum distance, this is the length at which the glow will fade completely out, between the span of the maximum distance and this length.}}
{{KV|Outer Maximum Distance (OuterMaxDist)|整数型|如果大于Maximum Distance , this is the length at which the glow will fade completely out, between the span of the maximum distance and this length.}}
{{KV|Glow Proxy Geometry Size (0-64) (GlowProxySize)|float|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.}}
{{KV|Glow Proxy Geometry Size (0-64) (GlowProxySize)|float|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.}}
{{KV|HDR color scale (HDRColorScale)|float|Color multiplier for players using HDR.}}
{{KV|HDR color scale (HDRColorScale)|float|Color multiplier for players using HDR.}}

Revision as of 08:36, 14 October 2019

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.


输出