This article relates to the game "Left 4 Dead 2". Click here for more information.

Func timescale: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Replaced content with "{{L4d2 topicon}} {{entity|type=e0|func_timescale}} {{Multipage}}")
Tag: Replaced
Line 1: Line 1:
{{lang|title=func_timescale}}
{{L4d2 topicon}}
{{entity|type=e0|func_timescale}}
{{entity|type=e0|func_timescale}}
 
{{Multipage}}
== Entity description ==
Adjust the time scale of the server and client.
 
== Keyvalues ==
{{KV|Desired timescale|intn=desiredTimescale|float|Time scale to blend towards, this is a multiplicative value where 1.0 is normal time, 0.5 is half speed, 2.0 is double speed.}}
{{KV|Acceleration per second|intn=acceleration|float|How quickly the change per second goes up to the max.}}
{{KV|Minimum blend per second|intn=minBlendRate|float|Minimum change per second when blending from the current timescale to the desired.}}
{{KV|Perframe delta multiplier|intn=blendDeltaMultiplier|float|The per frame delta between desired and current is multiplied by this to get the maximum change per second.}}
{{KV Targetname}}
{{KV Angles}}
 
== Inputs ==
{{IO|Start|Start blending to the desired timescale.}}
{{IO|Stop|Stop and blend back to the default timescale (1.0f).}}
{{IO|Reset|Reset immediately to normal timescale (1.0f).}}
{{I Targetname}}
 
== Outputs ==
{{O Targetname}}
 
==See also==
* {{portal2}} [[logic_timescale]]
* {{as}} [[env_slomo]]

Revision as of 07:42, 17 July 2023