Zh/Cycler: Difference between revisions
< Zh
Jump to navigation
Jump to search
(Created page with "{{lang|Cycler}} {{Entity also in GoldSrc:zh}} {{point_ent:zh|cycler}} ==实体描述== 用于显示模型,进行测试的实体。射击它会循环播放模型动画。 {...") |
No edit summary |
||
Line 4: | Line 4: | ||
==实体描述== | ==实体描述== | ||
用于显示模型,进行测试的实体。它会循环播放模型动画。 | |||
{{bug|似乎不作用于求生之路2}} | {{bug|似乎不作用于求生之路2}} | ||
Revision as of 20:16, 12 October 2019

这个实体同样适用于金源引擎中的 Zh/Cycler (GoldSource Engine)。
实体描述
用于显示模型,进行测试的实体。它会循环播放模型动画。

键值
Parentname:
角度:
- Pitch Yaw Roll (Y Z X) <angle >
- 这个实体在世界的方向。Pitch是围绕Y轴旋转,Yaw是围绕Z轴的旋转,Roll是围绕X轴的旋转。
RenderFXChoices:
- Render FX
(renderfx)
<choices> - 指定一种渲染绘制方式。
RenderFields:

- Render Mode
(rendermode)
<choices> - 在该实体上设置非标准渲染模式。
- Render FX / Transparency (0 - 255)
(renderamt)
<整数 > - 透明的,0是不可见,255为完全可见。
- Render Color (R G B)
(rendercolor)
<color255 > - 着色器。
- Disable Receiving Shadows
(disablereceiveshadows)
<布尔值 > - 是否防止实体接收自身阴影。
RenderFXChoices:
- Render FX
(renderfx)
<choices> - 指定一种渲染绘制方式。
标签/Flags
- 1 : Not Solid/可穿透,不具备碰撞。
输入
- SetSequence <字符串 >
- 设置这个cycler实体的动作。
Parentname:
- SetParent <字符串 >
- 设置父级实体。详见Entity Hierarchy (parenting).
- SetParentAttachmentMaintainOffset <字符串 >
- 同上,但不传送。实体接受到此输出后保留与父级的相对位置。
- ClearParent
- 取消绑定父实体,以至于此实体可以自由行动。
RenderFields:
- Alpha <整数 >
- 设置实体的透明度0~255,0为不可见,255为完全可见。要求Render Mode (渲染模式) 设置为非
0
。
- Color <color255 >
- 设置实体颜色(RGB)。
输出
实体目标名:
- OnUser1 to OnUser4
- 这些输出将分别响应于
FireUser1
到FireUser4
输入。 详见 User Inputs and Outputs。
参见
- cycler_actor - NPC专用。