Template:KV visiblebrush/zh: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (1416006136 moved page Template:KV visiblebrush:zh-cn to Template:KV visiblebrush/zh: take new standard) |
1416006136 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{ | <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 | {{KV|Minimum Light|intn=_minlight|float|击中此画笔的最小光量。 0 表示无,1 表示正常,2 表示加倍。}} | ||
{{KV | {{KV|Damage Filter Name|intn=damagefilter|targetname|当这个实体受到伤害时,它会被这个实体{{L|filter|过滤}}。}} | ||
{{KV | {{KV|{{L|Render Mode}}|intn=rendermode|choices|在该实体上设置非标准渲染模式。}} | ||
:{{ExpandBox | :{{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 | {{KV|Render FX|intn=renderfx|choices|外观效果的预设模式。}} | ||
:{{ExpandBox | :{{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 | :{{todo|18-21, 25}} | ||
{{KV | {{KV|Render FX / Transparency (0 - 255)|intn=renderamt|int|透明度量,需要'''正常'''(Normal)以外的渲染模式。 0 是不可见的,255 是完全可见的。}} | ||
{{KV | {{KV|Render Color (R G B)|intn=rendercolor|color255|色调。}} | ||
{{KV | {{KV|Shadow Cast Distance|intn=shadowcastdist|int|设置实体投射动态阴影的距离。 0 表示与{{ent|shadow_control}}实体相同的默认距离。|nofgd=1}} | ||
{{KV | {{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 | {{KV|Disable Shadows|intn=disableshadows|boolean|防止实体创建廉价的渲染到纹理阴影。不影响{{L|shadow mapping|阴影贴图}}。}} | ||
{{KV | {{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|防止实体接收自身的阴影。}} | ||
{{KV | {{KV|Texture Frame|intn=texframeindex|int|nofgd=1|此实体上任何动画纹理的帧数。}}<!-- | ||
-->{{#if:{{{l4d|}}}|{{KV | -->{{#if:{{{l4d|}}}|{{KV|Minimum CPU Level|intn=mincpulevel|choices|CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。|since=L4D}} | ||
{{KV | {{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 | {{KV|Minimum GPU Level|intn=mingpulevel|choices|since=L4D}} | ||
{{KV | {{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 | :*4: High|since=L4D}}}}<noinclude>{{KV|Minimum CPU Level|intn=mincpulevel|choices|CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。|since=L4D}} | ||
{{KV | {{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 | {{KV|Minimum GPU Level|intn=mingpulevel|choices|since=L4D}} | ||
{{KV | {{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=1
。Visible Brush:
- Minimum Light (_minlight) <浮点型 >
- 击中此画笔的最小光量。 0 表示无,1 表示正常,2 表示加倍。
- Render Mode (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) <整数 >
- 透明度量,需要正常(Normal)以外的渲染模式。 0 是不可见的,255 是完全可见的。
- Render Color (R G B) (rendercolor) <color255 >
- 色调。
- Shadow Cast Distance (shadowcastdist) <整数 > !FGD
- 设置实体投射动态阴影的距离。 0 表示与shadow_control实体相同的默认距离。
- Disable Receiving Shadows (disablereceiveshadows) <布尔值 >
- 防止实体接收自身的阴影。