Template:KV visiblebrush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (now scrolls and has Template:Shadow.)
No edit summary
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{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. {{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.
</noinclude>{{scrollBox|title=VisibleBrush|noscroll={{{noscroll|<noinclude>1</noinclude>}}}|
{{KV|Minimum Light|intn=_minlight|float|Minimum amount of light to hit this brush. 0 is none, 1 is normal, and 2 is doubled.|nofgd={{{nofgd|}}}}}
{{KV|Damage Filter Name|intn=damagefilter|targetname|When this entity receives damage, it will [[filter]] by this entity.|nofgd={{{nofgd|}}}}}
{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.|nofgd={{{nofgd|}}}}}
:{{ExpandBox|
:*0: Normal
:*1: Color
:*2: Texture
:*3: Glow
:*4: Solid/Alphatest {{obs}}
:*5: Additive
:*6: Removed, does nothing {{obs}}
:*7: Additive Fractional Frame
:*8: Alpha Add
:*9: World Space Glow
:*10: Don't Render}}
{{#if: {{{b4l4d|}}}|{{KV Render FX|l4d=b4}} |{{KV Render FX}}}}
{{KV|Render FX / Transparency (0–255)|intn=renderamt|int|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|Shadow Cast Distance|intn=shadowcastdist|int|Sets how far the entity casts dynamic shadows. 0 means default distance from the {{ent|shadow_control}} entity.|nofgd=1}}
{{KV|Shadows|intn=vrad_brush_cast_shadows|nofgd=1|int|Determines if this entity will cast [[lightmap]] shadows.
:*0: No shadows
:*1: Cast shadows}}
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving shadows on itself.|nofgd={{{nofgd|}}}}}
{{KV|Texture Frame|intn=texframeindex|int|nofgd=1|The frame number for any animated textures on this entity.}}<!--
-->{{#if: {{{b4l4d|}}}||{{KV|Minimum CPU Level|intn=mincpulevel|choices|A user with a CPU level lower than this will not see this object rendered in-game. It's unclear how the CPU level is decided, but most systems are classified as "high".|since=L4D|nofgd={{{nofgd|}}}}}
{{KV|Maximum CPU Level|intn=maxcpulevel|choices|
:*0: Default
:*1: Low
:*2: Medium
:*3: High|since=L4D|nofgd={{{nofgd|}}}}}
{{KV|Minimum GPU Level|intn=mingpulevel|choices|since=L4D|nofgd={{{nofgd|}}}}}
{{KV|Maximum GPU Level|intn=maxgpulevel|choices|:*0: Default
:*1: Very low
:*2: Low
:*3: Medium
:*4: High|since=L4D|nofgd={{{nofgd|}}}}} }}
{{KV Shadow|prep2={{{b4l4d|}}}}}}}

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.