Template:KV FuncMoveLinear: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Template:Lang)
(intn for Source keyvalue templates)
 
Line 1: Line 1:
<noinclude>{{lang|Template:KV FuncMoveLinear}}</noinclude>
<noinclude>{{lang|Template:KV FuncMoveLinear}}</noinclude>
{{minititle|FuncMoveLinear}}
{{minititle|FuncMoveLinear}}
{{KV|Move Direction (Pitch Yaw Roll) (movedir)|angle|The direction the entity will move in.}}
{{KV|Move Direction (Pitch Yaw Roll)|intn=movedir|angle|The direction the entity will move in.}}
{{KV|Start Position (startposition)|float|Position of brush when spawned, where 0 is the starting position and 1 is ''starting position + (move direction * move distance)''.}}
{{KV|Start Position|intn=startposition|float|Position of brush when spawned, where 0 is the starting position and 1 is ''starting position + (move direction * move distance)''.}}
{{KV|Speed (speed)|integer|The speed that the brush moves, in inches per second.}}
{{KV|Speed|intn=speed|integer|The speed that the brush moves, in inches per second.}}
{{KV|Move Distance (movedistance)|float|The distance from the starting point that the brush should move, in inches.}}
{{KV|Move Distance|intn=movedistance|float|The distance from the starting point that the brush should move, in inches.}}
{{KV|Block Damage (blockdamage)|float|The amount of damage to do to any entity that blocks the brushes, per frame.
{{KV|Block Damage|intn=blockdamage|float|The amount of damage to do to any entity that blocks the brushes, per frame.


{{bug|Block damage doesn't function on players who passed through a {{ent|trigger_teleport}} using {{ent|noclip}}, though it will have effect again if the the player goes through a trigger_teleport without noclip.}}}}
{{bug|Block damage doesn't function on players who passed through a {{ent|trigger_teleport}} using {{ent|noclip}}, though it will have effect again if the the player goes through a trigger_teleport without noclip.}}}}
{{KV|Sound played when the brush starts moving. (startsound)|sound|The sound to play when the brush starts moving.}}
{{KV|Sound played when the brush starts moving.|intn=startsound|sound|The sound to play when the brush starts moving.}}
{{KV|Sound played when the brush stops moving. (stopsound)|sound|The sound to play when the brush stops moving.}}<noinclude>[[Category:Keyvalue Templates|FuncMoveLinear]]</noinclude>
{{KV|Sound played when the brush stops moving.|intn=stopsound|sound|The sound to play when the brush stops moving.}}<noinclude>[[Category:Keyvalue Templates|FuncMoveLinear]]</noinclude>

Latest revision as of 12:59, 9 July 2024

FuncMoveLinear:

Move Direction (Pitch Yaw Roll) (movedir) <angle>
The direction the entity will move in.
Start Position (startposition) <float>
Position of brush when spawned, where 0 is the starting position and 1 is starting position + (move direction * move distance).
Speed (speed) <integer>
The speed that the brush moves, in inches per second.
Move Distance (movedistance) <float>
The distance from the starting point that the brush should move, in inches.
Block Damage (blockdamage) <float>
The amount of damage to do to any entity that blocks the brushes, per frame.
Icon-Bug.pngBug:Block damage doesn't function on players who passed through a trigger_teleport using noclip, though it will have effect again if the the player goes through a trigger_teleport without noclip.  [todo tested in ?]
Sound played when the brush starts moving. (startsound) <sound>
The sound to play when the brush starts moving.
Sound played when the brush stops moving. (stopsound) <sound>
The sound to play when the brush stops moving.