Func platrot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
{{subpage|[[Trains]]}} | {{subpage|[[Trains]]}} | ||
{{ | {{TabsBar|main=gs|base=func_platrot}} | ||
{{ | {{CD|CFuncPlatRot|file1=trains.cpp}} | ||
{{this is a|brush entity|name=func_platrot}} It moves vertically, and can rotate while doing so. | |||
= | |||
It moves vertically, and can rotate while doing so. | |||
== KeyValues == | == KeyValues == | ||
{{KV Targetname}} | |||
{{KV|Movement Sound|intn=noise1|sound|The sound to play when the brush moves.}} | {{KV|Movement Sound|intn=noise1|sound|The sound to play when the brush moves.}} | ||
{{KV|Stop Sound|intn=noise2|sound|The sound to play when the brush stops moving.}} | {{KV|Stop Sound|intn=noise2|sound|The sound to play when the brush stops moving.}} | ||
Line 12: | Line 12: | ||
{{KV|Travel Altitude|intn=height|integer|The vertical distance from the starting position that this platform moves. If negative, the platform will lower.}} | {{KV|Travel Altitude|intn=height|integer|The vertical distance from the starting position that this platform moves. If negative, the platform will lower.}} | ||
{{KV|Spin amount|intn=rotation|integer|The amount this platform should rotate as it moves, in degrees.}} | {{KV|Spin amount|intn=rotation|integer|The amount this platform should rotate as it moves, in degrees.}} | ||
== Flags == | == Flags == | ||
Line 24: | Line 20: | ||
== Inputs == | == Inputs == | ||
{{I BasePlat}} | {{I BasePlat}} | ||
== | == See also == | ||
{{ | * {{ent|func_plat}} |
Latest revision as of 19:06, 14 April 2025
![]() |
---|
CFuncPlatRot |
![]() |
func_platrot
is a brush entity available in all Source games. It moves vertically, and can rotate while doing so.
KeyValues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Movement Sound (noise1) <sound>
- The sound to play when the brush moves.
- Stop Sound (noise2) <sound>
- The sound to play when the brush stops moving.
- Speed of Rotation (speed) <integer>
- Speed at which the brush rotates, in degrees per second.
- Travel Altitude (height) <integer>
- The vertical distance from the starting position that this platform moves. If negative, the platform will lower.
- Spin amount (rotation) <integer>
- The amount this platform should rotate as it moves, in degrees.
Flags
- Toggle : [1]
- X Axis : [64]
- Y Axis : [128]
Inputs
BasePlat:
- Toggle
- Toggles the platform's state.
- GoUp
- Tells the platform to go up.
- GoDown
- Tells the platform to go down.