Template:KV SpatialEntity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{ScrollBox|title=SpatialEntity| {{KV|Lookup Falloff Start Distance|float|This is the distance to the start of the falloff region (-1 {{=}} everywhere)}} {{KV|Lookup Falloff End …')
 
(updates)
Line 1: Line 1:
{{ScrollBox|title=SpatialEntity|
{{minititle|SpatialEntity}}
{{KV|Lookup Falloff Start Distance|float|This is the distance to the start of the falloff region (-1 {{=}} everywhere)}}
{{KV|Lookup Falloff Start Distance (minfalloff)|float|Within this range to the entity, the effect will be at full strength. If this is larger than the '''End Distance''', the effect will apply to the ''entire map''.}}
{{KV|Lookup Falloff End Distance|float|This is the distance to the end of the falloff region (-1 {{=}} everywhere)}}
{{KV|Lookup Falloff End Distance (maxfalloff)|float|Maximum distance from the entity that the effect is applied. At this distance, the effect is barely apparent but will strengthen as the viewer approaches the '''Start Distance'''.}}
{{KV|Maximum Weight|float|This is the maximum weight for this lookup}}
{{KV|Maximum Weight (maxweight)|float|This is the maximum weight for this lookup.{{clarify}}}}
{{KV|Lookup Fade In Duration|float|Duration of fade in on when enabled.}}
{{KV|Lookup Fade In Duration (fadeInDuration)|float|When the entity becomes <code>Enable</code>d, how long the effect takes to fade in.}}
{{KV|Lookup Fade out Duration|float|Dration of fade out on when disabled.}}
{{KV|Lookup Fade out Duration (fadeOutDuration)|float|When the entity becomes <code>Disable</code>d, how long the effect takes to fade out.}}
}}<noinclude>
{{KV EnableDisable}}<noinclude>[[Category:Keyvalue Templates|SpatialEntity]]</noinclude>
[[Category:Keyvalue Templates|SpatialEntity]]
</noinclude>

Revision as of 05:41, 22 September 2018

SpatialEntity:

Lookup Falloff Start Distance (minfalloff) ([todo internal name (i)]) <float>
Within this range to the entity, the effect will be at full strength. If this is larger than the End Distance, the effect will apply to the entire map.
Lookup Falloff End Distance (maxfalloff) ([todo internal name (i)]) <float>
Maximum distance from the entity that the effect is applied. At this distance, the effect is barely apparent but will strengthen as the viewer approaches the Start Distance.
Maximum Weight (maxweight) ([todo internal name (i)]) <float>
This is the maximum weight for this lookup.[Clarify]
Lookup Fade In Duration (fadeInDuration) ([todo internal name (i)]) <float>
When the entity becomes Enabled, how long the effect takes to fade in.
Lookup Fade out Duration (fadeOutDuration) ([todo internal name (i)]) <float>
When the entity becomes Disabled, how long the effect takes to fade out.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).