Func conveyor

From Valve Developer Community
Revision as of 19:51, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base brush Template:In code

Entity Description

A brush entity that functions as a conveyor belt, with a moving surface. Template:Brushmodel

Availability

This Brush-based Entity is available in all Source Games. In code it is represented by class CFuncConveyor, defined in bmodels.cpp.

Keyvalues

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.
<angle> The direction conveyor moves.
  • speed
<string> Conveyor Speed.
  • _minlight
<string> The minimum level of ambient light that hits this brush.

Flags

  • 1 : No Push
  • 2 : Not Solid

Inputs

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.
  • Shadow:
DisableShadow
Turn dynamic shadows off for this entity. Identical to applying  EF_NOSHADOW.
EnableShadow
Turn dynamic shadows on for this entity.
DisableReceivingFlashlight  (in all games since Portal 2)
This object will not receive light or shadows from projected textures.
EnableReceivingFlashlight  (in all games since Portal 2)
This object may receive light or shadows from projected textures.
  • ToggleDirection
ToggleDirection
  • SetSpeed
SetSpeed

Outputs