Model entity/Generic Keyvalues, Inputs and Outputs/Keyvalues: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (KV "Collisions" has been given an expand box and bolded numbers)
(edited the Render FX box to explain more.)
Line 45: Line 45:
{{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.}}
{{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.}}
{{KV|Render Color (R G B)|intn=rendercolor|color255|Color tint.}}
{{KV|Render Color (R G B)|intn=rendercolor|color255|Color tint.}}
{{KV|Render FX|intn=renderfx|choices|Preset pattern of appearance effects.}}<!-- BREAK -->{{ExpandBox|
{{KV|Render FX (renderfx)|choices|Various somewhat legacy alpha effects.}}
:{{ExpandBox|
:*'''0:''' None
:*'''0:''' None
:*'''1:''' Slow Pulse
:*'''1:''' Slow Pulse (varies alpha by ±16 over a period of 1.5 s)
:*'''2:''' Fast Pulse
:*'''2:''' Fast Pulse (varies alpha by ±16 over a period of 0.4 s)
:*'''3:''' Slow Wide Pulse
:*'''3:''' Slow Wide Pulse (varies alpha by ±64 over a period of 1.5 s)
:*'''4:''' Fast Wide Pulse
:*'''4:''' Fast Wide Pulse (varies alpha by ±64 over a period of 0.4 s)
:*'''5:''' Slow Fade Away
:*'''5:''' Slow Fade Away (decreases alpha by -1 per frame/{{since|{{l4d}}}} Fades out over 4 s)
:*'''6:''' Fast Fade Away
:*'''6:''' Fast Fade Away (decreases alpha by -4 per frame/{{since|{{l4d}}}} Fades out over 1 s)
:*'''7:''' Slow Become Solid
:*'''7:''' Slow Become Solid (increases alpha by +1 per frame/{{since|{{l4d}}}} Fades in over 4 s)
:*'''8:''' Fast Become Solid
:*'''8:''' Fast Become Solid (increases alpha by +4 per frame/{{since|{{l4d}}}} Fades in over 1 s)
:*'''9:''' Slow Strobe
:*'''9:''' Slow Strobe (transparent 0.8 s, visible 0.8 s, repeat)
:*'''10:''' Fast Strobe
:*'''10:''' Fast Strobe (transparent 0.2 s, visible 0.2 s, repeat)
:*'''11:''' Faster Strobe
:*'''11:''' Faster Strobe (transparent 0.09 s, visible 0.09 s, repeat)
:*'''12:''' Slow Flicker
:*'''12:''' Slow Flicker (transparent 0.18 s, visible 1.5 s, repeat)
:*'''13:''' Fast Flicker
:*'''13:''' Fast Flicker (transparent 0.14 s, visible 0.2 s, repeat)
:*'''14:''' Constant Glow
:*'''14:''' Constant Glow ("NoDissipation;" purpose uncertain—for sprites?)
:*'''15:''' Distort
:*'''15:''' Distort (causes unnatural flickering and position shifting)/{{since|{{l4d}}}} Fade Out (instant; not very useful outside of code)
:*'''16:''' Hologram (Distort + fade)
:*'''16:''' Hologram (Distort + "distance fade")/{{since|{{l4d}}}} Fade In (instant; not very useful outside of code)
:*'''17:''' Scale Up
:*'''17:''' Scale Up ("Explode"/"scale up really big!" causes wild stretching of model parts) {{in|{{src13}}}}/Fade Wider Pulse (varies alpha by ±255 over a period over a period of 0.26 s) {{since|{{l4d}}}} {{confirm|which branches/games is it available in, and where does it do what?}}
:*'''22:''' Spotlight FX
:*'''18:''' Glow Shell (purpose unclear) {{since|{{src13}}}} {{confirm|what does this do? and which games is it in?}}
:*'''23:''' Cull By Distance
:*'''19:''' Clamp Minimum Scale ("keep this sprite from getting very small (SPRITES only!)")
:*'''24:''' Fade Wider Pulse
:*'''20:''' Environmental Rain ("for [[Render modes#Environmental|environmental rendermode]], make rain") {{in|{{src13}}}} {{confirm|which games? may be nonfunctional.}}
:*'''26:''' Fade Near
:*'''21:''' Environmental Snow ("for [[Render modes#Environmental|environmental rendermode]], make snow") {{in|{{src13}}}} {{confirm|which games? may be nonfunctional.}}
:{{todo|18-21, 25}}}}{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.}}<!-- BREAK -->{{ExpandBox|
:*'''22:''' Spotlight FX ("TEST CODE for experimental spotlight") {{in|{{src13}}}}
:*'''23:''' Ragdoll ("HACKHACK: TEST CODE for signalling death of a ragdoll character;" ragdolls an entity but doesn't kill it) {{in|{{src13}}}} {{confirm|which games? may be nonfunctional?}}
:*'''24:''' Fade Wider Pulse (varies alpha by ±255 over a period over a period of 0.26 s) {{in|{{src13}}}}
:*'''25:''' <code>kRenderFXMax</code>/Fade Near {{removed|{{l4d}}}} {{todo|what does this do? may be nonfunctional}}}}
{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.}}<!-- BREAK -->{{ExpandBox|
:*'''0''': Normal
:*'''0''': Normal
:*'''1''': Color
:*'''1''': Color

Revision as of 10:45, 7 April 2022

English (en)Translate (Translate)


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)
Icon-translate.png Available doc translations
Info.png
The Model entity/Generic Keyvalues, Inputs and Outputs/Keyvalues/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.
Model entity/Generic Keyvalues, Inputs and Outputs/Keyvalues/doc