Template:KV visiblebrush/zh

From Valve Developer Community
Jump to navigation Jump to search

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

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

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



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


Template:Todo:zh-cn
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!
确定该实体是否会投射光照贴图阴影。
  • 0: No shadows
  • 1: Cast shadows
Disable Shadows (disableshadows) <布尔值(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