Zh/Env lightglow: Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
==键值== | ==键值== | ||
{{KV|Color (R G B) (rendercolor)|color255| | {{KV|Color (R G B) (rendercolor)|color255|光圈颜色。}} | ||
{{KV|Vertical Size (VerticalGlowSize)| | {{KV|Vertical Size (VerticalGlowSize)|整数型|垂直方向上光圈的大小,单位是hammer单位。}} | ||
{{KV|Horizontal Size (HorizontalGlowSize)| | {{KV|Horizontal Size (HorizontalGlowSize)|整数型|水平方向上光圈的大小,单位同上。}} | ||
{{KV|Minimum Distance (MinDist)| | {{KV|Minimum Distance (MinDist)|整数型|此距离会达成完全透明.=消失}} | ||
{{KV|Maximum Distance (MaxDist)| | {{KV|Maximum Distance (MaxDist)|整数型|此距离则会达成最大显示强度.=完全显示}} | ||
{{KV|Outer Maximum Distance (OuterMaxDist)| | {{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 07:36, 14 October 2019
env_lightglow是一个存在于所有的 起源 游戏的点实体。给地图增加一些光圈光彩效果, 通常用于光源点和一些自然发光的效果, (隧道洞穴或者黑暗建筑等)。 与 env_sprite最大的区别是可以配置显示距离。
待完善: 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 - 仅正面可见。
键值
- Outer Maximum Distance (OuterMaxDist) ([todo internal name (i)]) <整数>
- 如果大于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)]) <浮点型>
- 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)]) <浮点型>
- Color multiplier for players using HDR.
输入
- Color <color255>
- Change the render color of the glow. A value of 0 0 0 will hide the sprite.