Func timescale: Difference between revisions
Jump to navigation
Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(badly moved multipage) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
{{L4d2 topicon}} | {{L4d2 topicon}} | ||
{{CD|CFuncTimescale}} | {{CD|CFuncTimescale}} | ||
{{this is a|point entity|name=func_timescale|game=Left 4 Dead 2}} | {{this is a|point entity|name=func_timescale|game=Left 4 Dead 2}} | ||
{{ | Adjust the time scale of the server and client. | ||
== Keyvalues == | |||
{{KV Targetname}} | |||
{{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.}} | |||
== 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).}} | |||
==See also== | |||
* {{portal2}} [[logic_timescale]] | |||
* {{as}} [[env_slomo]] |
Revision as of 11:44, 13 July 2024
![]() |
---|
CFuncTimescale |
func_timescale
is a point entity available in Left 4 Dead 2.
Adjust the time scale of the server and client.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Desired timescale (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.
- Acceleration per second (acceleration) <float>
- How quickly the change per second goes up to the max.
- Minimum blend per second (minBlendRate) <float>
- Minimum change per second when blending from the current timescale to the desired.
- Perframe delta multiplier (blendDeltaMultiplier) <float>
- The per frame delta between desired and current is multiplied by this to get the maximum change per second.
Inputs
- Start
- Start blending to the desired timescale.
- Stop
- Stop and blend back to the default timescale (1.0f).
- Reset
- Reset immediately to normal timescale (1.0f).