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.
No edit summary |
m (doxygen) |
||
Line 13: | Line 13: | ||
==Availability== | ==Availability== | ||
{{in game|point}} {{game|HL2}} | {{in game|point}} {{game|HL2}} | ||
{{in code|class=CFlare|file=hl2_dll\ | {{in code|class=[http://hl2sdk.gigcities.com/class_c_flare.html CFlare]|file=[http://hl2sdk.gigcities.com/weapon__flaregun_8cpp-source.html hl2_dll\weapon_flaregun.cpp]}} | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 06:14, 2 August 2006
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 Template:In code
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.