Template:KV visiblebrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lang|Template:KV visiblebrush}}
{{TDeprecated|Brush rendering note}}
Holder for a grab bag of keyvalues useful for visible brushes. Include {{para|brush|1}} on KV BaseEntity when using this.
{{APH}}
[[Category:Keyvalue Templates|v]]
Add {{para|b4l4d|1}} to hide keyvalues added since that game, or {{para|b4l4d|onlyafter}} to hide DXLevelChoice. {{param|noscroll}}, {{param|prep2}}, and {{param|nofgd}} will be passed to the appropriate templates. (The following preview has this disabled, but it works when transcluded.)
 
 
<onlyinclude>{{minititle|Internal keyvalues used by [[VRAD]]}}
{{KV|Minimum Light Level|intn=_minlight|normal|Minimum amount of light to hit this brush (monochromatic). Values over 1 are overbright, and will bloom in [[HDR]] mode.}}
{{KV|Cast Lightmap Shadows|intn=vrad_brush_cast_shadows|boolean|Determines if this entity will cast [[lightmap]] shadows.
|since={{src07}} }}
{{minititle|VisibleBrush}}
{{KV Rendermode}}
{{#if: {{{b4l4d|}}}|{{KV Render FX|l4d=b4}} |{{#if: {{{postl4d|}}} | {{KV Render FX|l4d=onlyafter}} | {{KV Render FX}} }}}}
{{KV|Render FX / Transparency (0–255)|intn=renderamt|int 0-255|Transparency amount; requires a Render Mode other than '''Normal'''. 0 is invisible, 255 is fully visible.|nofgd={{{nofgd|}}}}}
{{KV|Render Color (R G B)|intn=rendercolor|color255|Color tint.|nofgd={{{nofgd|}}}}}
{{KV|Texture Frame|intn=texframeindex|int|nofgd=1|The frame number for any animated textures on this entity.}}
{{KV Shadow|prep2={{{prep2|}}}}}
{{#switch: {{{b4l4d|}}}
|1={{KV DXLevelChoice}}
|onlyafter={{KV SystemLevelChoice}}
|{{KV SystemLevelChoice}}
{{KV DXLevelChoice}}
}}</onlyinclude>

Latest revision as of 03:37, 3 September 2024

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.