Func conveyor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
m (oops)
Line 2: Line 2:
{{base brush|func_conveyor}} It functions as a conveyor belt, with a moving surface. The surface material should have a <code>[[List Of Material Proxies#Entity integration|ConveyorScroll]]</code> Material Proxy, to synchronize the material movement and push effect.
{{base brush|func_conveyor}} It functions as a conveyor belt, with a moving surface. The surface material should have a <code>[[List Of Material Proxies#Entity integration|ConveyorScroll]]</code> Material Proxy, to synchronize the material movement and push effect.


{{code class|CFuncConveyor|file=bmodels_8cpp-source.html bmodels.cpp}}
{{code class|CFuncConveyor|bmodels.cpp}}


==Keyvalues==
==Keyvalues==

Revision as of 05:44, 6 October 2018

English (en)Translate (Translate)

Template:Base brush 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.

Keyvalues

Move Direction (Pitch Yaw Roll) (movedir) ([todo internal name (i)]) <angle>
The direction conveyor moves.
Conveyor Speed (speed) ([todo internal name (i)]) <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