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
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (→‎top: clean up, replaced: {{ModernBug → {{bug)
Line 2: Line 2:


{{code class|CFuncConveyor|bmodels.cpp}}
{{code class|CFuncConveyor|bmodels.cpp}}
{{ModernBug|{{l4d2}} Does not affect Common infected and witches}}
{{bug|{{l4d2}} Does not affect Common infected and witches}}


==Keyvalues==
==Keyvalues==

Revision as of 11:45, 6 January 2024

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 ?]

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