func_conveyor
func_conveyor
is a mesh entity available in Counter-Strike 2. 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.