Env lightrail endpoint

From Valve Developer Community

Table of contents

Entity Description

Special effects for the endpoints of the lightrail.

Availability

This point entity is exclusive to Portal.

Keyvalues

Defines the name that other entities refer to this entity by.
  • hammerid [Episode Two Update]
<integer readonly> This id is used for debugging purposes in Hammer.
Pitch Yaw Roll (Y Z X)
This entity's angular orientation in the world (also used for angular effect entities).
Specifies the targetname of this entity's Parent in a movement hierarchy. Child entities mimic the movements of their Parent.
  • 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

Image:note.png Note: Flag 2 is only mentioned as a comment in the FGD file. To enable it, remove the // behind the flag in the FGD.

Inputs

  • Kill
Removes this entity from the world.
Removes this entity and all its children from the world.
  • AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • 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

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator