Env flare: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added some categories)
m (→‎Availability: Location)
Line 11: Line 11:
==Availability==
==Availability==
{{in game|point}} {{game|HL2}}
{{in game|point}} {{game|HL2}}
{{in code|class=???|file=???}}
{{in code|class=CFlare|file=hl2_dll\weapon_flare.cpp}}


==Keyvalues==
==Keyvalues==

Revision as of 21:34, 3 April 2006

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 is mainly used in HL2 only by the Combine.

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

Availability

Template:In game Template:Game Template:In code

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