Env lightrail endpoint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=env_lightrail_endpoint}}
{{portal point|env_lightrail_endpoint}}


==Entity Description==
==Entity Description==
Special effects for the endpoints of the lightrail.
Special effects for the endpoints of the lightrail.
==Availability==
This point entity is exclusive to [[Portal]].


==Keyvalues==
==Keyvalues==
Line 17: Line 14:


==Flags==
==Flags==
1: Start On (w/ Small FX)
* 1 : Start On (w/ Small FX)
 
* 2 : Start With Large FX
2: Start With Large FX
{{note|Flag 2 is only mentioned as a comment in the FGD file. To enable it, remove the // behind the flag in the FGD.}}
{{note|Flag 2 is only mentioned as a comment in the FGD file. To enable it, remove the // behind the flag in the FGD.}}


Line 32: Line 28:
* '''Stop'''
* '''Stop'''
: <float> Stops the effect at any point.
: <float> Stops the effect at any point.
==Outputs==
==Outputs==
* {{O Targetname}}
* {{O Targetname}}
[[Category:Portal Entities]]

Revision as of 06:19, 23 April 2011

Template:Portal point

Entity Description

Special effects for the endpoints of the lightrail.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
  • small_fx_scale
<float> Scale of the small effect. 1 is the default size, 2 is twice that, etc.
  • large_fx_scale
<float> Scale of the large effect. 1 is the default size, 2 is twice that, etc.

Flags

  • 1 : Start On (w/ Small FX)
  • 2 : Start With Large FX
Note.pngNote:Flag 2 is only mentioned as a comment in the FGD file. To enable it, remove the // behind the flag in the FGD.

Inputs

  • StartCharge
<float> Start charging the endpoint from the small to large state over a specified amount of seconds.
  • StartSmallFX
<float> Start discharging particles at the small effects state over specified number of seconds.
  • StartLargeFX
<float> Start discharging particles at the large effects state over specified number of seconds.
  • Stop
<float> Stops the effect at any point.

Outputs