Model entity/Generic Keyvalues, Inputs and Outputs/Keyvalues: Difference between revisions
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 ++ | ||
--> | --> | ||
< | {{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 ++ | ||
--> | --> | ||
{{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}} | ||
{{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|}}}| | ||
{{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|}}}| | ||
{{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|}}}| | ||
{{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}} | ||
{{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| |