This article's documentation is for Source 2. Click here for more information.

Func conveyor (Source 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(use on baggage)
No edit summary
Line 3: Line 3:


==Keyvalues==
==Keyvalues==
{{KV|Models|string|Name of the conveyor models that will animate along with the conveyor.}}
{{KV|Models|string|Name of the conveyor models that will animate along with the conveyor.}}
{{KV|Move Direction (Pitch Yaw Roll)||The direction conveyor moves.}}
{{KV|Move Direction (Pitch Yaw Roll)||The direction conveyor moves.}}
Line 15: Line 14:


==Use on Baggage==
==Use on Baggage==
Conveyor belts are used on [[Valve]] [[Counter-Strike:_Global_Offensive/Game_Modes/Arms_Race|Arms Race]] [[Map_(level_design)|map]], [[Counter-Strike_2/Maps#ar_baggage|Baggage]]. They are stopped by default, but they can be started using control panel in a room on the bottom of the map. You can also toggle direction in which they are moving to help one of the teams.
Conveyor belts are used on [[Valve]]'s [[Counter-Strike: Global Offensive/Game Modes/Arms Race|Arms Race]] map, [[Counter-Strike 2/Maps#ar baggage|Baggage]]. They are stopped by default, but they can be started using a control panel in a room on the bottom of the map. You can also toggle the direction in which they are moving to help one of the teams.
[[File:Ar baggage cs2 control panel.jpg|360px|thumb|left|Control panel for conveyor belts]]
[[File:Ar baggage cs2 control panel.jpg|360px|thumb|left|Control panel for conveyor belts]]
[[File:Ar baggage cs2 conveyor belts.jpg|360px|thumb|left|Conveyor belts]]
[[File:Ar baggage cs2 conveyor belts.jpg|360px|thumb|left|Conveyor belts]]

Revision as of 17:47, 13 February 2024

func_conveyor is a mesh available in Counter-Strike 2 Counter-Strike 2.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{source2}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to Source 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

It can be used to create conveyor belts that can move players, physics objects and weapons (including C4).

Keyvalues

Models ([todo internal name (i)]) <string>
Name of the conveyor models that will animate along with the conveyor.
Move Direction (Pitch Yaw Roll) ([todo internal name (i)])
The direction conveyor moves.
Conveyor Speed ([todo internal name (i)]) <float>
Conveyor speed, specified in Hammer Units / second
Transition Duration ([todo internal name (i)]) <float>
How long it will take to transition to the new speed, specified in seconds.

Inputs

ToggleDirection
Reverses direction of conveyor belt by changing speed from a positive number to a negative number (e.g 100 to -100) and vice versa.
SetSpeed
Sets speed of conveyor belt specified in a parameter
SetTransitionDuration
Changes number of seconds that conveyor belt will transition to a new speed in case of receiving any of inputs above

Use on Baggage

Conveyor belts are used on Valve's Arms Race map, Baggage. They are stopped by default, but they can be started using a control panel in a room on the bottom of the map. You can also toggle the direction in which they are moving to help one of the teams.

Control panel for conveyor belts
Conveyor belts