Template:KV visiblebrush:zh-cn

From Valve Developer Community
Jump to: navigation, search
English (en)русский (ru)中文 (zh)
... Icon-Important.png

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


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

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

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



Render FX (renderfx) <choices>
外观效果的预设模式。


Warning icon.png
This template has been marked as a candidate for speedy deletion because it has been deprecated.
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.
Render FX / Transparency (0 - 255) (renderamt) <integer> | 整数
透明度量,需要正常(Normal)以外的渲染模式。 0 是不可见的,255 是完全可见的。
Render Color (R G B) (rendercolor) <color255简体中文>
色调。
Shadow Cast Distance (shadowcastdist) <integer> | 整数 不存在于FGD!
设置实体投射动态阴影的距离。 0 表示与shadow_control实体相同的默认距离。
Shadows (vrad_brush_cast_shadows) <integer> | 整数 不存在于FGD!
确定该实体是否会投射光照贴图阴影。
  • 0: No shadows
  • 1: Cast shadows
Disable Shadows (disableshadows) <boolean> | 布尔值
防止实体创建廉价的渲染到纹理阴影。不影响阴影贴图
Disable Receiving Shadows (disablereceiveshadows) <boolean> | 布尔值
防止实体接收自身的阴影。
Texture Frame (texframeindex) <integer> | 整数 不存在于FGD!
此实体上任何动画纹理的帧数。
Minimum CPU Level (mincpulevel) <choices> (in all games since Left 4 Dead)
CPU 级别低于此值的用户将无法在游戏中看到此对象。目前还不清楚 CPU 级别是如何决定的,但大多数系统都被归类为“高”。
Maximum CPU Level (maxcpulevel) <choices> (in all games since Left 4 Dead)
  • 0: Default(默认)
  • 1: Low(低)
  • 2: Medium(中)
  • 3: High(高)
Minimum GPU Level (mingpulevel) <choices> (in all games since Left 4 Dead)
Maximum GPU Level (maxgpulevel) <choices> (in all games since Left 4 Dead)
  • 0: Default
  • 1: Very low(非常低)
  • 2: Low
  • 3: Medium
  • 4: High