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

func_conveyor

From Valve Developer Community
Revision as of 07:56, 8 January 2024 by MyGamepedia (talk | contribs)
Jump to navigation Jump to search

func_conveyor is an e2 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.

C++ In code, it is represented by theCFuncConveyorclass, defined in thebmodels.cppfile.
Icon-Bug.pngBug:Left 4 Dead 2 Does not affect Common infected and witches  [todo tested in ?]
Icon-Bug.pngBug:Doesn't effect VPhysics objects, that means that only QPhysics objects (players, walking NPCs, etc.) interact with func_conveyor as as expected. VPhysics objects just stand like on normal surfaces. Fixed in Black Mesa Black Mesa for func_conveyor_bms.  [todo tested in ?]

Keyvalues

Move Direction (Pitch Yaw Roll) (movedir) <angle>
The direction conveyor moves.
Conveyor Speed (speed) <string>
Linear speed of moving surface.
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.


Flags

  • 1: No Push
  • 2: Not Solid

Inputs

ToggleDirection
Change direction of conveyor.
SetSpeed <integerRedirectInput/integer>
Sets Conveyor Speed.
SetDamageFilter <targetnameRedirectInput/string>
Sets a filter for this entity for when it receives damage.
EnableDamageForces
Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
DisableDamageForces
Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place


Outputs