Env lightrail endpoint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 33: Line 33:
: <float> Stops the effect at any point.
: <float> Stops the effect at any point.
==Outputs==
==Outputs==
* {{o targetname}}
* {{O Targetname}}
[[Category:Portal Entities]]
[[Category:Portal Entities]]

Revision as of 20:11, 19 January 2009

Template:Wrongtitle

Entity Description

Special effects for the endpoints of the lightrail.

Availability

This point entity is exclusive to Portal.

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