Skip to main content

func_platrot

func_platrot icon
Brush entity

A func_platrot moves up and down like a func_plat and turns around its origin while it moves. You set the origin with an origin brush.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Move Soundmovesnd

Sets the sound it plays while it moves, and if you set Custom move sound, it ignores this key.

The 14 choices
  • No Sound (0)
  • big elev 1 (1)
  • big elev 2 (2)
  • tech elev 1 (3)
  • tech elev 2 (4)
  • tech elev 3 (5)
  • freight elev 1 (6)
  • freight elev 2 (7)
  • heavy elev (8)
  • rack elev (9)
  • rail elev (10)
  • squeek elev (11)
  • odd elev 1 (12)
  • odd elev 2 (13)
Default No Sound (0)
Stop Soundstopsnd

Sets the sound it plays when it stops, and if you set Custom stop sound, it ignores this key.

The 9 choices
  • No Sound (0)
  • big elev stop1 (1)
  • big elev stop2 (2)
  • freight elev stop (3)
  • heavy elev stop (4)
  • rack stop (5)
  • rail stop (6)
  • squeek stop (7)
  • quick stop (8)
Default No Sound (0)
Sound Volumevolume

Sets how loud the move and stop sounds are, from 0.0 for silent up to 1.0 for full volume.

If you leave this key empty or set 0, it is 0.85.

Default 0.85
Fire On StartFeaturefulfireonstart

Fires when it starts moving, in either direction.

Fire On Start use typeFeaturefulfireonstart_triggerstate

Sets the use type that the Fire On Start targets get.

  • Off (0)
  • On (1)
  • Toggle (2)
Default Off (0)
Fire On StopFeaturefulfireonstop

Fires when it stops, at either end.

Fire On Stop use typeFeaturefulfireonstop_triggerstate

Sets the use type that the Fire On Stop targets get.

  • Off (0)
  • On (1)
  • Toggle (2)
Default Off (0)
Sound radiusFeaturefulsoundradius

Sets how far away players hear its move and stop sounds.

  • Small (-2) - Up to about 500 units away
  • Medium (-1) - Up to about 800 units away
  • Default (large) (0) - Up to about 1250 units away
  • Huge (1) - Up to about 2000 units away
  • Enormous (2) - Up to about 4000 units away
  • Play Everywhere (3) - Anywhere on the map, at full volume
Default Default (large) (0)
Custom move soundFeaturefulcustommovesnd

Sets a sound file that plays while it moves, instead of Move Sound.

Custom stop soundFeaturefulcustomstopsnd

Sets a sound file that plays when it stops, instead of Stop Sound.

Speedspeed

Sets how fast the platform moves up and down, in units per second, and the turn takes as long as the move. With 0, it is 150.

Default 50
Travel altitudeheight

Sets how far the platform travels down from where you build it, in units, and a negative value makes it travel up. With 0, it travels its own height minus 8 units.

Default 0
Spin amountrotation

Sets how many degrees the platform turns while it travels from the bottom to the top, and 0 means it doesn't turn.

Default 0
Fire On Open StartFeaturefulfireonopening

Names the entities to trigger when the platform starts to move up, to its top.

Fire On Open Start use typeFeaturefulfireonopening_triggerstate

Sets the use type that the targets of Fire On Open Start get.

  • Off (0)
  • On (1)
  • Toggle (2)
Default Off (0)
Fire On Close StartFeaturefulfireonclosing

Names the entities to trigger when the platform starts to move down, to its bottom.

Fire On Close Start use typeFeaturefulfireonclosing_triggerstate

Sets the use type that the targets of Fire On Close Start get.

  • Off (0)
  • On (1)
  • Toggle (2)
Default Off (0)
Fire On Open EndFeaturefulfireonopened

Names the entities to trigger when the platform reaches its top.

Fire On Open End use typeFeaturefulfireonopened_triggerstate

Sets the use type that the targets of Fire On Open End get.

  • Off (0)
  • On (1)
  • Toggle (2)
Default Off (0)
Fire On Close EndFeaturefulfireonclosed

Names the entities to trigger when the platform reaches its bottom.

Fire On Close End use typeFeaturefulfireonclosed_triggerstate

Sets the use type that the targets of Fire On Close End get.

  • Off (0)
  • On (1)
  • Toggle (2)
Default Off (0)

Flags​

1Toggle

The platform only moves when you trigger it: each trigger sends it to its other end, where it stays, and players who step on it don't start it. This flag is set by default

64X Axis

The platform turns around the X axis instead of the vertical axis

128Y Axis

The platform turns around the Y axis instead of the vertical axis

See also​

Changes since 1.38​

  • You can use the new Fire On keys and their use types, Sound radius and the custom move and stop sounds