Info timescale controller: Difference between revisions
Jump to navigation
Jump to search

Warning:This command doesn't affects sound. Sound playback speed will not be sped up or slowed down.
Bug*:The value saves after a death, level transition or level change via console.
Confirm:Is it used in the
Black Mesa campaign ?
MyGamepedia (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{This is a|point entity|name=info_timescale_controller|game=Black Mesa|sprite=Info_target.png}} This is {{code|host_timescale}} controller entity. {{code|host_timescale}} is one of the console commands that controlls time, with this you can slow down or speed up time. | {{This is a|point entity|name=info_timescale_controller|game=Black Mesa|sprite=Info_target.png}} This is {{code|host_timescale}} controller entity. {{code|host_timescale}} is one of the console commands that controlls time, with this you can slow down or speed up time. | ||
{{warning|This command doesn't affects sound. Sound playback speed will not be sped up or slowed down.}} | {{warning|This command doesn't affects sound. Sound playback speed will not be sped up or slowed down.}} | ||
{{bug|The value saves after a death, level transition or level change via console.}} | {{bug*|The value saves after a death, level transition or level change via console.}} | ||
{{confirm|Is it used in the {{bms|4}} campaign ?}} | {{confirm|Is it used in the {{bms|4}} campaign ?}} | ||
{{back |Black Mesa Level Creation}} | {{back |Black Mesa Level Creation}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV | {{KV Targetname}} | ||
== Inputs == | == Inputs == | ||
{{ | {{I|SetTimescale|param=float|Sets the value of {{code|host_timescale}}.}} | ||
{{ | {{I|RestoreTimescale|param=void|Restores the value of {{code|host_timescale}} back to what it was previously. For example, if value was 10 and current value is 100 - this input will set 10.}} | ||
Revision as of 01:42, 26 September 2024

info_timescale_controller
is a point entity available in Black Mesa. This is host_timescale controller entity. host_timescale is one of the console commands that controlls time, with this you can slow down or speed up time.




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
Inputs
- SetTimescale <float >
- Sets the value of host_timescale.
- RestoreTimescale <void>
- Restores the value of host_timescale back to what it was previously. For example, if value was 10 and current value is 100 - this input will set 10.