Func conveyor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(added bugnote about it not affecting CI and witches)
Line 2: Line 2:


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


==Keyvalues==
==Keyvalues==

Revision as of 12:35, 14 April 2023

Template:Entity 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.

Template:ModernBug

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