Env flare

From Valve Developer Community
Revision as of 18:56, 19 January 2009 by VDCBot (talk | contribs) (Robot: Automated text replacement (-Abstract mapping +Abstract Mapping))
Jump to navigation Jump to search

Template:Wrongtitle

The beginning of d2_prison_08, as mentioned on the left.

Entity Description

Creates a red flare. Useful for creating a dark environment with just enough light to navigate. The flickering red light of the flare creates a tense atmosphere and a strong feeling of fight-or-die, as it's mainly used in HL2 only by the Combine.

Note.pngNote:This entity is derived from CBaseCombatCharacter and can have relationships defined towards it.

See the beginning of d2_prison_08 for an example of its use.

Availability

Template:In game Template:Game In code it is represented by class CFlare, defined in hl2_dll\weapon_flaregun.cpp.

Keyvalues

<float> Scale.
  • duration
<float> Duration.

Flags

  • 1 : No DLight
  • 2 : No Smoke
  • 4 : Infinite
  • 8 : Start off

Inputs

Start
  • Die <float>
Die
  • Launch <float>
Launch the flare forward with the specified speed.

Outputs