Template:KV visiblebrush/zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (1416006136 moved page Template:KV visiblebrush:zh-cn to Template:KV visiblebrush/zh: take new standard)
No edit summary
 
Line 1: Line 1:
<noinclude>{{lang|Template:KV visiblebrush}} [[Category:Keyvalue Templates:zh-cn]]
<noinclude>{{ACategory|Keyvalue Templates}}
本模板由[[User:1416006136|大康]]翻译。部分内容由机器翻译。
本模板由[[User:1416006136|大康]]翻译。部分内容由机器翻译。
----</noinclude>
----</noinclude>
Line 5: Line 5:


为该游戏(求生之路)添加的键值添加<code>l4d=1</code>。</noinclude>{{minititle|Visible Brush}}
为该游戏(求生之路)添加的键值添加<code>l4d=1</code>。</noinclude>{{minititle|Visible Brush}}
{{KV:zh-cn|Minimum Light|intn=_minlight|float|击中此画笔的最小光量。 0 表示无,1 表示正常,2 表示加倍。}}
{{KV|Minimum Light|intn=_minlight|float|击中此画笔的最小光量。 0 表示无,1 表示正常,2 表示加倍。}}
{{KV:zh-cn|Damage Filter Name|intn=damagefilter|targetname|当这个实体受到伤害时,它会被这个实体[[filter|过滤]]。}}
{{KV|Damage Filter Name|intn=damagefilter|targetname|当这个实体受到伤害时,它会被这个实体{{L|filter|过滤}}。}}
{{KV:zh-cn|[[Render Mode]]|intn=rendermode|choices|在该实体上设置非标准渲染模式。}}
{{KV|{{L|Render Mode}}|intn=rendermode|choices|在该实体上设置非标准渲染模式。}}
:{{ExpandBox:zh-cn|
:{{ExpandBox|
:*0: Normal
:*0: Normal
:*1: Color
:*1: Color
Line 20: Line 20:
:*9: World Space Glow
:*9: World Space Glow
:*10: Don't Render}}
:*10: Don't Render}}
{{KV:zh-cn|Render FX|intn=renderfx|choices|外观效果的预设模式。}}
{{KV|Render FX|intn=renderfx|choices|外观效果的预设模式。}}
:{{ExpandBox:zh-cn|
:{{ExpandBox|
:*'''0:''' None
:*'''0:''' None
:*'''1:''' Slow Pulse
:*'''1:''' Slow Pulse
Line 44: Line 44:
:*'''24:''' Fade Wider Pulse
:*'''24:''' Fade Wider Pulse
:*'''26:''' Fade Near}}
:*'''26:''' Fade Near}}
:{{todo:zh-cn|18-21, 25}}
:{{todo|18-21, 25}}
{{KV:zh-cn|Render FX / Transparency (0 - 255)|intn=renderamt|int|透明度量,需要'''正常'''(Normal)以外的渲染模式。 0 是不可见的,255 是完全可见的。}}
{{KV|Render FX / Transparency (0 - 255)|intn=renderamt|int|透明度量,需要'''正常'''(Normal)以外的渲染模式。 0 是不可见的,255 是完全可见的。}}
{{KV:zh-cn|Render Color (R G B)|intn=rendercolor|color255|色调。}}
{{KV|Render Color (R G B)|intn=rendercolor|color255|色调。}}
{{KV:zh-cn|Shadow Cast Distance|intn=shadowcastdist|int|设置实体投射动态阴影的距离。 0 表示与{{ent|shadow_control}}实体相同的默认距离。|nofgd=1}}
{{KV|Shadow Cast Distance|intn=shadowcastdist|int|设置实体投射动态阴影的距离。 0 表示与{{ent|shadow_control}}实体相同的默认距离。|nofgd=1}}
{{KV:zh-cn|Shadows|intn=vrad_brush_cast_shadows|nofgd=1|int|确定该实体是否会投射[[lightmap|光照贴图]]阴影。
{{KV|Shadows|intn=vrad_brush_cast_shadows|nofgd=1|int|确定该实体是否会投射{{L|lightmap|光照贴图}}阴影。
:*0: No shadows
:*0: No shadows
:*1: Cast shadows}}
:*1: Cast shadows}}
{{KV:zh-cn|Disable Shadows|intn=disableshadows|boolean|防止实体创建廉价的渲染到纹理阴影。不影响[[shadow mapping|阴影贴图]]。}}
{{KV|Disable Shadows|intn=disableshadows|boolean|防止实体创建廉价的渲染到纹理阴影。不影响{{L|shadow mapping|阴影贴图}}。}}
{{KV:zh-cn|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|防止实体接收自身的阴影。}}
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|防止实体接收自身的阴影。}}
{{KV:zh-cn|Texture Frame|intn=texframeindex|int|nofgd=1|此实体上任何动画纹理的帧数。}}<!--
{{KV|Texture Frame|intn=texframeindex|int|nofgd=1|此实体上任何动画纹理的帧数。}}<!--
-->{{#if:{{{l4d|}}}|{{KV:zh-cn|Minimum CPU Level|intn=mincpulevel|choices|CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。|since=L4D}}
-->{{#if:{{{l4d|}}}|{{KV|Minimum CPU Level|intn=mincpulevel|choices|CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。|since=L4D}}
{{KV:zh-cn|Maximum CPU Level|intn=maxcpulevel|choices|
{{KV|Maximum CPU Level|intn=maxcpulevel|choices|
:*0: Default(默认)
:*0: Default(默认)
:*1: Low(低)
:*1: Low(低)
:*2: Medium(中)
:*2: Medium(中)
:*3: High(高)|since=L4D}}
:*3: High(高)|since=L4D}}
{{KV:zh-cn|Minimum GPU Level|intn=mingpulevel|choices|since=L4D}}
{{KV|Minimum GPU Level|intn=mingpulevel|choices|since=L4D}}
{{KV:zh-cn|Maximum GPU Level|intn=maxgpulevel|choices|:*0: Default
{{KV|Maximum GPU Level|intn=maxgpulevel|choices|:*0: Default
:*1: Very low(非常低)
:*1: Very low(非常低)
:*2: Low
:*2: Low
:*3: Medium
:*3: Medium
:*4: High|since=L4D}}}}<noinclude>{{KV:zh-cn|Minimum CPU Level|intn=mincpulevel|choices|CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。|since=L4D}}
:*4: High|since=L4D}}}}<noinclude>{{KV|Minimum CPU Level|intn=mincpulevel|choices|CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。|since=L4D}}
{{KV:zh-cn|Maximum CPU Level|intn=maxcpulevel|choices|
{{KV|Maximum CPU Level|intn=maxcpulevel|choices|
:*0: Default(默认)
:*0: Default(默认)
:*1: Low(低)
:*1: Low(低)
:*2: Medium(中)
:*2: Medium(中)
:*3: High(高)|since=L4D}}
:*3: High(高)|since=L4D}}
{{KV:zh-cn|Minimum GPU Level|intn=mingpulevel|choices|since=L4D}}
{{KV|Minimum GPU Level|intn=mingpulevel|choices|since=L4D}}
{{KV:zh-cn|Maximum GPU Level|intn=maxgpulevel|choices|:*0: Default
{{KV|Maximum GPU Level|intn=maxgpulevel|choices|:*0: Default
:*1: Very low(非常低)
:*1: Very low(非常低)
:*2: Low
:*2: Low
:*3: Medium
:*3: Medium
:*4: High|since=L4D}}</noinclude>
:*4: High|since=L4D}}</noinclude>

Latest revision as of 17:15, 13 August 2024

本模板由大康翻译。部分内容由机器翻译。


用于存放可用于可见笔刷的键值的支架。使用时在 KV BaseEntity 上包含brush=1

为该游戏(求生之路)添加的键值添加l4d=1Visible Brush:

Minimum Light (_minlight) <浮点型(en)>
击中此画笔的最小光量。 0 表示无,1 表示正常,2 表示加倍。
Damage Filter Name (damagefilter) <目标名(en)>
当这个实体受到伤害时,它会被这个实体过滤(en)
Render Mode(en) (rendermode) <choices>
在该实体上设置非标准渲染模式。

  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest
  • 5: Additive
  • 6: Removed, does nothing
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <choices>
外观效果的预设模式。

  • 0: None
  • 1: Slow Pulse
  • 2: Fast Pulse
  • 3: Slow Wide Pulse
  • 4: Fast Wide Pulse
  • 5: Slow Fade Away
  • 6: Fast Fade Away
  • 7: Slow Become Solid
  • 8: Fast Become Solid
  • 9: Slow Strobe
  • 10: Fast Strobe
  • 11: Faster Strobe
  • 12: Slow Flicker
  • 13: Fast Flicker
  • 14: Constant Glow
  • 15: Distort
  • 16: Hologram (Distort + fade)
  • 17: Scale Up
  • 22: Spotlight FX
  • 23: Cull By Distance
  • 24: Fade Wider Pulse
  • 26: Fade Near
Todo: 18-21, 25
Render FX / Transparency (0 - 255) (renderamt) <整数(en)>
透明度量,需要正常(Normal)以外的渲染模式。 0 是不可见的,255 是完全可见的。
Render Color (R G B) (rendercolor) <color255(en)>
色调。
Shadow Cast Distance (shadowcastdist) <整数(en)> !FGD
设置实体投射动态阴影的距离。 0 表示与shadow_control实体相同的默认距离。
Shadows (vrad_brush_cast_shadows) <整数(en)> !FGD
确定该实体是否会投射光照贴图(en)阴影。
  • 0: No shadows
  • 1: Cast shadows
Disable Shadows (disableshadows) <布尔值(en)>
防止实体创建廉价的渲染到纹理阴影。不影响阴影贴图(en)
Disable Receiving Shadows (disablereceiveshadows) <布尔值(en)>
防止实体接收自身的阴影。
Texture Frame (texframeindex) <整数(en)> !FGD
此实体上任何动画纹理的帧数。
Minimum CPU Level (mincpulevel) <choices> (存在于自 Left 4 Dead)
CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。
Maximum CPU Level (maxcpulevel) <choices> (存在于自 Left 4 Dead)
  • 0: Default(默认)
  • 1: Low(低)
  • 2: Medium(中)
  • 3: High(高)
Minimum GPU Level (mingpulevel) <choices> (存在于自 Left 4 Dead)
Maximum GPU Level (maxgpulevel) <choices> (存在于自 Left 4 Dead)
  • 0: Default
  • 1: Very low(非常低)
  • 2: Low
  • 3: Medium
  • 4: High