cycler
< Zh
Jump to navigation
Jump to search
实体描述
用于显示模型,进行测试的实体。它会循环播放模型动画。

键值
参见: Generic Keyvalues, Inputs and Outputs available to all entities
- Name (targetname) <target_source>
- 其他实体引用该实体的目标名称。
Parentname:
- Parent (parentname) <目标名 >
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- Pitch Yaw Roll (Y Z X) (angles) <angle >
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Render FX (renderfx) <choices>
- 各种有点遗留的阿尔法效果。请参见渲染效果
RenderFields:
- 渲染模式 (rendermode) <choices>
- 在此实体上设置非标准渲染模式。
Render Modes Expand
- Render FX (renderfx) <choices>
- 各种有点遗留的阿尔法效果。请参见渲染效果
- Render Amount / Transparency (renderamt) <byte >
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <color255 >
- Color tint.
- Disable Receiving Shadows (disablereceiveshadows) <布尔值 >
- Prevent the entity from receiving shadows on itself.
标签/Flags
- 1 : Not Solid/可穿透,不具备碰撞。
输入
- SetSequence <字符串 >
- 设置这个cycler实体的动作。
Parentname:
- SetParent <字符串 >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <字符串 >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <字符串 >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
RenderFields:
- Alpha <整数 0-255 >
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its
rendermode
set to a number other than0
.
- Color <color255 >
- Sets an RGB color for the entity.
输出
参见
- cycler_actor - NPC专用。