Difference between revisions of "Template:KV RenderFields"

From Valve Developer Community
Jump to: navigation, search
m
(I'm sure this is deprecated by Template:KV_BaseAnimating)
 
(29 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{kv renderfxchoices}}
+
<noinclude>
 
+
{{note|'''This template is deprecated. For new entity pages, please use [[Template:KV BaseAnimating]] instead.'''}}
* '''rendermode'''
+
</noinclude>
: <choices> Used to set a non-standard rendering mode on this entity. See also 'FX Amount' and 'FX Color'.
+
{{minititle|RenderFields}}
:* 0 : Normal
+
{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.}}
:* 1 : Color
+
:{{ExpandBox|
:* 2 : Texture
+
:*0: Normal
:* 3 : Glow
+
:*1: Color
:* 4 : Solid
+
:*2: Texture
:* 5 : Additive
+
:*3: Glow
:* 7 : Additive Fractional Frame
+
:*4: Solid/Alphatest
:* 9 : World Space Glow
+
:*5: Additive
:* 10 : Dont Render
+
:*6: Removed, does nothing
 
+
:*7: Additive Fractional Frame
* '''renderamt'''
+
:*8: Alpha Add
: <integer> The FX amount (0 - 255) is used by the selected Render Mode.
+
:*9: World Space Glow
 
+
:*10: Don't Render}}
* '''rendercolor'''
+
{{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.}}
: <[[color255]]> The FX color is used by the selected Render Mode.
+
{{KV|Render Color (R G B)|intn=rendercolor|color255|Color tint.}}
 +
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving shadows on itself.}}
 +
{{KV RenderFXChoices}}<noinclude>[[Category:Keyvalue Templates|RenderFields]]</noinclude>

Latest revision as of 02:57, 11 April 2021

Note.png Note: This template is deprecated. For new entity pages, please use Template:KV BaseAnimating instead.

RenderFields:

Render Mode (rendermode) <choices>
Set a non-standard rendering mode on this entity.



Render FX / Transparency (0 - 255) (renderamt) <integer>
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render Color (R G B) (rendercolor) <color255>
Color tint.
Disable Receiving Shadows (disablereceiveshadows) <boolean>
Prevent the entity from receiving shadows on itself.

RenderFXChoices:

Render FX (renderfx) <choices>
Preset pattern of appearance effects.