This article's documentation is for anything that uses the Source engine. Click here for more information.

cycler_blender

From Valve Developer Community
Revision as of 23:19, 6 January 2024 by PeeBot (talk | contribs) (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

cycler_blender is a point entity available in all Source Source games. It is a variant of the cycler entity that cycles through the blends of a blend sequence. The console output the current blend value.

C++ In code, it is represented by theCBlendingCyclerclass, defined in theh_cycler.cppfile.

Keyvalues

Lower Boundary (lowboundary) <integer>
The lowest value the blend value will go to.
Higher Boundary (highboundary) <integer>
The highest value the blend value will go to.
Blending Speed (blendspeed) <integer>
The rate at which the blend value will change (default:5)
Blend Sequence (blendsequence) <string>
The default animation that the cycler will blend with (default is sequence 0)

Template:KV StudioModel

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Parentname:
Parent (parentname) <targetname>
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) <QAngle>
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) <byte choices>
Various somewhat legacy alpha effects. See render effects.

RenderFields:


Render Mode (rendermode) <byte choices>
Set a non-standard rendering mode on this entity.
Render Modes
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.
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.

Flags

  • 1 : Not Solid

Inputs

SetSequence <stringRedirectInput/string>
Sets the cycler's sequence.


Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
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 <stringRedirectInput/string>
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 <integer 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 than 0.
Color <color255RedirectInput/color32>
Sets an RGB color for the entity.

Outputs