Template:KV visiblebrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Replaced content with "{{lang|Template:KV visiblebrush}} {{Doc}} <onlyinclude>{{KV visiblebrush/strings}}</onlyinclude>")
Tag: Replaced
Line 1: Line 1:
{{lang|Template:KV visiblebrush}}
{{lang|Template:KV visiblebrush}}
Holder for a grab bag of keyvalues useful for visible brushes. Include {{para|brush|1}} on KV BaseEntity when using this.
{{Doc}}
[[Category:Keyvalue Templates|v]]
<onlyinclude>{{KV visiblebrush/strings}}</onlyinclude>
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>

Revision as of 17:19, 13 August 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:KV visiblebrush/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Template:KV visiblebrush/doc