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 …')
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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|intn=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|intn=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|intn=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|intn=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|intn=fadeOutDuration|float|When the entity becomes <code>Disable</code>d, how long the effect takes to fade out.}}
}}<noinclude>
{{KV StartDisabled}}<noinclude>[[Category:Keyvalue Templates|SpatialEntity]]</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).