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 10: Line 10:
* {{kv targetname}}
* {{kv targetname}}
* {{KV Angles}}
* {{KV Angles}}
* {{kv parentname}}
* {{KV Parentname}}
* '''small_fx_scale'''
* '''small_fx_scale'''
: <float> Scale of the small effect.  1 is the default size, 2 is twice that, etc.
: <float> Scale of the small effect.  1 is the default size, 2 is twice that, etc.

Revision as of 19:51, 19 January 2009

Template:Wrongtitle

Entity Description

Special effects for the endpoints of the lightrail.

Availability

This point entity is exclusive to Portal.

Keyvalues

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