Env flare: Difference between revisions
Jump to navigation
Jump to search
Note:This entity is derived from CBaseCombatCharacter and can have relationships defined towards it.
Angry Beaver (talk | contribs) m (Spam revert) |
Craziestdan (talk | contribs) (→Availability: removed dead links) |
||
Line 13: | Line 13: | ||
==Availability== | ==Availability== | ||
{{in game|point}} {{game|HL2}} | {{in game|point}} {{game|HL2}} | ||
In code it is represented by class CFlare, defined in hl2_dll\weapon_flaregun.cpp. | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 14:48, 14 December 2008
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.

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
- Template:I targetname
- Template:I parentname
- Start <float>
- Start
- Die <float>
- Die
- Launch <float>
- Launch the flare forward with the specified speed.