Difference between revisions of "Prop tractor beam"

From Valve Developer Community
Jump to: navigation, search
m
m
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[File:1024_excursionfunnel.jpg|thumb|right|300px|An excursion funnel in [[Portal 2]].]]
 
[[File:1024_excursionfunnel.jpg|thumb|right|300px|An excursion funnel in [[Portal 2]].]]
'''Excursion funnels''' are a puzzle element of [[Portal 2]] that work like tractor beams. Objects (like [[turret (Portal 2)|turrets]] and [[cube (Portal 2)|cubes]]) and players that touch blue funnels slowly drift away from their emitters, unaffected by gravity. Players can move and grab objects out of them, but can not move against them.
+
'''Excursion funnels''' are a puzzle element of [[Portal 2]] that work like tractor beams. Objects (like [[turret (Portal 2)|turrets]] and [[cube (Portal 2)|cubes]]) and players that touch blue funnels slowly drift away from their emitters, unaffected by gravity. Players can remove objects and themselves from the funnel but can not move against the flow.
  
 
Some funnels are connected to [[button (Portal 2)|buttons]]. When activated, these funnels reverse direction and turn orange, drawing things towards their emitter instead of pushing things away.
 
Some funnels are connected to [[button (Portal 2)|buttons]]. When activated, these funnels reverse direction and turn orange, drawing things towards their emitter instead of pushing things away.
Line 7: Line 7:
  
 
==Creation==
 
==Creation==
Each funnel consists of a [[prop_tractor_beam]], with a [[clip texture|player clip]] in front as well as a [[light]] for a soft blue glow (with an approximate ''brightness'' of ''50 120 250 50'').
+
Each funnel consists of a [[prop_tractor_beam]] and a [[clip texture|player clip]] in front. Funnels often have a [[light]] in front of them for a soft blue glow (with an approximate ''brightness'' of ''50 120 250 50'') but not when the beam is reversible because it conflicts with the orange colour of the funnel.
  
 
===Changing Direction===
 
===Changing Direction===
To alter the direction of an excursion funnel, invert the ''LinearForce'' [[keyvalue]] of its [[prop_tractor_beam]]. The input ''SetLinearForce'' can be used.
+
To alter the direction of an excursion funnel, set the ''LinearForce'' [[keyvalue]] of its [[prop_tractor_beam]] to a negative number. Two standard values used in Portal 2 for forwards and backwards flow are 250 and -250, respectively.  The input ''SetLinearForce'' can be used to change the value of ''LinearForce'' in-game (for instace, to reverse the flow when a button is pressed).
  
 
== See also ==
 
== See also ==

Revision as of 20:46, 29 April 2011

An excursion funnel in Portal 2.

Excursion funnels are a puzzle element of Portal 2 that work like tractor beams. Objects (like turrets and cubes) and players that touch blue funnels slowly drift away from their emitters, unaffected by gravity. Players can remove objects and themselves from the funnel but can not move against the flow.

Some funnels are connected to buttons. When activated, these funnels reverse direction and turn orange, drawing things towards their emitter instead of pushing things away.

Like bridges, walls, and lasers, funnels can be extended through portals.

Creation

Each funnel consists of a prop_tractor_beam and a player clip in front. Funnels often have a light in front of them for a soft blue glow (with an approximate brightness of 50 120 250 50) but not when the beam is reversible because it conflicts with the orange colour of the funnel.

Changing Direction

To alter the direction of an excursion funnel, set the LinearForce keyvalue of its prop_tractor_beam to a negative number. Two standard values used in Portal 2 for forwards and backwards flow are 250 and -250, respectively. The input SetLinearForce can be used to change the value of LinearForce in-game (for instace, to reverse the flow when a button is pressed).

See also

External links