Template:KV SpatialEntity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(intn for Source/ASW keyvalues)
No edit summary
 
Line 5: Line 5:
{{KV|Lookup Fade In Duration|intn=fadeInDuration|float|When the entity becomes <code>Enable</code>d, how long the effect takes to fade in.}}
{{KV|Lookup Fade In Duration|intn=fadeInDuration|float|When the entity becomes <code>Enable</code>d, how long the effect takes to fade in.}}
{{KV|Lookup Fade out Duration|intn=fadeOutDuration|float|When the entity becomes <code>Disable</code>d, how long the effect takes to fade out.}}
{{KV|Lookup Fade out Duration|intn=fadeOutDuration|float|When the entity becomes <code>Disable</code>d, how long the effect takes to fade out.}}
{{KV EnableDisable}}<noinclude>[[Category:Keyvalue Templates|SpatialEntity]]</noinclude>
{{KV StartDisabled}}<noinclude>[[Category:Keyvalue Templates|SpatialEntity]]</noinclude>

Latest revision as of 07:49, 4 June 2025

SpatialEntity:

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.
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.
Maximum Weight (maxweight) <float>
This is the maximum weight for this lookup.[Clarify]
Lookup Fade In Duration (fadeInDuration) <float>
When the entity becomes Enabled, how long the effect takes to fade in.
Lookup Fade out Duration (fadeOutDuration) <float>
When the entity becomes Disabled, how long the effect takes to fade out.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).