Zh/Func timescale: Difference between revisions
< Zh
Jump to navigation
Jump to search
m (Equalizer5118 moved page Func timescale:zh-cn to Func timescale/zh) |
m (Multipage removal) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{:User:1416006136/Signature|time= | {{L4d2 topicon}} | ||
{{CD|CFuncTimescale}} | |||
{{this is a|point entity|name=func_timescale|game=Left 4 Dead 2}} | |||
{{:User:1416006136/Signature|time=Jan 6, 2023}} | |||
== 实体描述 == | == 实体描述 == | ||
调整服务器和客户端的时间刻度。 | 调整服务器和客户端的时间刻度。 | ||
Line 22: | Line 26: | ||
==另见== | ==另见== | ||
* {{portal2|suf=:zh-cn}} | * {{portal2|suf=:zh-cn}} {{L|logic_timescale}} | ||
* {{as}} | * {{as}} {{L|env_slomo}} |
Latest revision as of 17:18, 12 July 2024
![]() |
---|
CFuncTimescale |
func_timescale
是一个点实体 ,可在 求生之路2中使用。
This page was translated by DaKang233 on January 6, 2023 (UTC+8). Anyone is welcome to add new content or fix errors.
实体描述
调整服务器和客户端的时间刻度。
键值
- Desired timescale
(desiredTimescale)
<浮点型 > - 要混合到的时间尺度,这是一个乘数,其中 1.0 是正常时间,0.5 是当前时间刻度的一半,2.0 是当前时间刻度的 2 倍。
- Acceleration per second
(acceleration)
<浮点型 > - 每秒变化达到最大值的速度。
- Minimum blend per second
(minBlendRate)
<浮点型 > - 从当前时间刻度混合到所需时间刻度时每秒的最小变化。
- Perframe delta multiplier
(blendDeltaMultiplier)
<浮点型 > - 将所需时间刻度和当前时间刻度之间的每帧增加速度的量乘以此得到每秒的最大变化。
- Name (目标名称) <target_source>[ Edit ]
- 这个名称是其他实体通过 输入/输出 或其他 关键值 (如
parentname
或target
) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告 中。参见: 所有实体均可使用的 通用键值、输入与输出
角度:
- Pitch Yaw Roll (Y Z X) <angle >
- 这个实体在世界的方向。Pitch是围绕Y轴旋转,Yaw是围绕Z轴的旋转,Roll是围绕X轴的旋转。
输入
- Start
- 开始混合到所需的时间刻度。
- Stop
- 停止并混合回默认时间刻度 (1.0f)。
- Reset
- 立即重置为正常时间刻度 (1.0f)。
输出
实体目标名:
- OnUser1 to OnUser4
- 这些输出将分别响应于
FireUser1
到FireUser4
输入。 详见 User Inputs and Outputs。