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

From Valve Developer Community
Jump to navigation Jump to search
(Removed (Moved) documentation away this page; ParserFunctions now consistent with KV_BaseEntity; Corrected 'Glow Backface' to show it only exists in L4D2; Moved "Render Mode" to below "Render FX"; and other things that can't be crammed in this text box)
(Replaced <h4> and <h3> with {{style}})
Line 20: Line 20:
   ++ Animating ++
   ++ Animating ++
-->
-->
<h4>Animating</h4>
{{style|color:white;font-size:14px;padding-bottom:5px|<b>Animating</b>}}
{{KV|Sequence|intn=sequence|int|Default animation sequence for the model to be playing after spawning.|nofgd=1}}
{{KV|Sequence|intn=sequence|int|Default animation sequence for the model to be playing after spawning.|nofgd=1}}
{{KV|Playback Rate|intn=playbackrate|float|A multiplier of the [[framerate]] at which animations are played, negative values are accepted. Default is 1.0|nofgd=1}}
{{KV|Playback Rate|intn=playbackrate|float|A multiplier of the [[framerate]] at which animations are played, negative values are accepted. Default is 1.0|nofgd=1}}
Line 29: Line 29:
   ++ Effects - Render ++
   ++ Effects - Render ++
-->
-->
<h3>Effects - Render</h3>{{style|border-bottom:1px solid #3A3937;display:block|}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|<b>Effects - Render</b>}}
{{KV|Start Fade Distance|intn=fademindist|float|Distance at which the entity starts fading. If 0 or less, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a [[3D Skybox]].}}
{{KV|Start Fade Distance|intn=fademindist|float|Distance at which the entity starts fading. If 0 or less, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a [[3D Skybox]].}}
{{KV|End Fade Distance|intn=fademaxdist|float|Distance at which the entity ends fading. If 0 or less, the entity won't disappear at all. The value will scale appropriately if the entity is in a [[3D Skybox]].}}
{{KV|End Fade Distance|intn=fademaxdist|float|Distance at which the entity ends fading. If 0 or less, the entity won't disappear at all. The value will scale appropriately if the entity is in a [[3D Skybox]].}}
Line 72: Line 72:
:*'''9''': World Space Glow
:*'''9''': World Space Glow
:*'''10''': Don't Render}}
:*'''10''': Don't Render}}
<h3>Effects - Environment</h3>{{style|border-bottom:1px solid #3A3937;display:block|}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|<b>Effects - Environment</b>}}
{{KV|Disable Shadows|intn=disableshadows|boolean|Prevent the entity from creating cheap render-to-texture shadows. Does not affect [[shadow mapping]].}}
{{KV|Disable Shadows|intn=disableshadows|boolean|Prevent the entity from creating cheap render-to-texture shadows. Does not affect [[shadow mapping]].}}
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving shadows on itself.}}
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving shadows on itself.}}
Line 83: Line 83:
-->
-->
<!-- IF: L4D -->{{#if:{{{l4d|}}}|
<!-- IF: L4D -->{{#if:{{{l4d|}}}|
<h3>Miscellaneous</h3>{{style|border-bottom:1px solid #3A3937;display:block|}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|<b>Miscellaneous</b>}}
{{KV SystemLevelChoice}}
{{KV SystemLevelChoice}}
| <!-- ELSE IF: L4D2 -->{{#if:{{{l4d2|}}}|
| <!-- ELSE IF: L4D2 -->{{#if:{{{l4d2|}}}|
<h3>Miscellaneous</h3>{{style|border-bottom:1px solid #3A3937;display:block|}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|<b>Miscellaneous</b>}}
{{KV|Glow Backface Multiple|intn=glowbackfacemult|float|nofgd=1|If this object has a glow effect, multiply the effect by this much on the sides of the object that are facing away from the viewer.|only={{l4d2}}}}
{{KV|Glow Backface Multiple|intn=glowbackfacemult|float|nofgd=1|If this object has a glow effect, multiply the effect by this much on the sides of the object that are facing away from the viewer.|only={{l4d2}}}}
{{KV SystemLevelChoice}}
{{KV SystemLevelChoice}}
| <!-- ELSE IF: AS -->{{#if:{{{as|}}}|
| <!-- ELSE IF: AS -->{{#if:{{{as|}}}|
<h3>Miscellaneous</h3>{{style|border-bottom:1px solid #3A3937;display:block|}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|<b>Miscellaneous</b>}}
{{KV|Move Type|intn=MoveType|choices|Sets a movetype for this entity, which changes its movement behavior.
{{KV|Move Type|intn=MoveType|choices|Sets a movetype for this entity, which changes its movement behavior.
{{ExpandBox|
{{ExpandBox|
Line 137: Line 137:
:*2: Cache it - render only once
:*2: Cache it - render only once
|since=P2}}
|since=P2}}
<h3>Miscellaneous</h3>{{style|border-bottom:1px solid #3A3937;display:block|}}
{{style|border-bottom:1px solid #3A3937;display:block;  color:white;font-size:16px;padding-bottom:6px|<b>Miscellaneous</b>}}
{{KV|Move Type|intn=MoveType|choices|Sets a movetype for this entity, which changes its movement behavior.
{{KV|Move Type|intn=MoveType|choices|Sets a movetype for this entity, which changes its movement behavior.
{{ExpandBox|
{{ExpandBox|

Revision as of 05:21, 6 June 2021


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