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

Func conveyor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fixed in jb3)
 
Line 4: Line 4:


{{bug|hidetested=1|{{l4d2}} Does not affect Common infected and witches}}
{{bug|hidetested=1|{{l4d2}} Does not affect Common infected and witches}}
{{bug|Doesn't affect [[VPhysics]] objects; only QPhysics objects (players, walking NPCs, etc.) interact with func_conveyor as as expected. [[VPhysics]] objects just stand like on normal surfaces. Fixed in {{portalrev|4}}, it is also fixed in {{Bms|4}} for {{ent|func_conveyor_bms}}.|tested={{p2ce}}{{hls}}}}
{{bug|Doesn't affect [[VPhysics]] objects; only QPhysics objects (players, walking NPCs, etc.) interact with func_conveyor as as expected. [[VPhysics]] objects just stand like on normal surfaces. {{fixed|{{portalrev}}{{jb3}}}} For {{Bms|4}}, use {{ent|func_conveyor_bms}}.|tested={{p2ce}}{{hls}}}}





Latest revision as of 22:51, 27 November 2025

C++ Class hierarchy
CFuncConveyor
CFuncWall
CBaseEntity
C++ bmodels.cpp

func_conveyor is a brush entity available in all Source Source games. It functions as a conveyor belt, with a moving surface. The surface material should have a ConveyorScroll Material Proxy, to synchronize the material movement and push effect.

Icon-Bug.pngBug:Left 4 Dead 2 Does not affect Common infected and witches
Icon-Bug.pngBug:Doesn't affect VPhysics objects; only QPhysics objects (players, walking NPCs, etc.) interact with func_conveyor as as expected. VPhysics objects just stand like on normal surfaces. (fixed in Portal: RevolutionJabroni Brawl: Episode 3) For Black Mesa Black Mesa, use func_conveyor_bms.  (tested in: Portal 2: Community EditionHalf-Life: Source)


Keyvalues

Note.pngNote:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs


Name (targetname) <string>
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
Move Direction (Pitch Yaw Roll) (movedir) <angle>
The direction conveyor moves.
Conveyor Speed (speed) <string>
Linear speed of moving surface.

Flags

No Push : [1]
Not Solid : [2]

Inputs

ToggleDirection
Change direction of conveyor.
SetSpeed <integerRedirectInput/integer>
Sets Conveyor Speed.
Use  !FGD Obsolete
Deprecated.
Effectively identical to ToggleDirection.