prop_flare

From Valve Developer Community
Revision as of 06:44, 5 August 2025 by MyGamepedia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
C++ Class hierarchy
CProp_Flare
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
Default model skin.
Burnt skin.

prop_flare is a model entity available in Black Mesa Black Mesa. A physics prop that represents emergency flare. Can be used by a player to light way and protect self by using it to ignite zombies and headcrabs. Can also burn underwater (functions the same, but creates bubbles).

The emergency flare ignites after the player pick up or Use input (by firing TurnOn input), automatically extinguished after 30 seconds and sets skin 1 (by firing TurnOff input) if the spawnflag isn't used. With the client side light source entity, it also creates prop_flare_fire and prop_flare_smoke particle system at fuse attachment point. The default model for this entity is models/props_junk/flare.mdl, but can be used any. Most inputs, outputs, flags and properties are same as CPhysicsProp.

Icon-Important.pngImportant:This entity completely replaces deprecated create_flare physgun interaction. The interaction is cut in this game.
Icon-Bug.pngBug:Doesn't extinguish automatically after level transition.
PlacementTip.pngWorkaround:Fire TurnOff input after 30 seconds on the entity manually.

Inputs

TurnOn <void>
Ignite the emergency flare.
TurnOff <void>
Extinguish the emergency flare.

Flags

Stay lit indefinitely : [524288]
Prevent extinguish after 30 seconds for the emergency flare.

Dedicated ConVars

Cvar/Command Parameters or default value Descriptor Effect
prop_flare_pitch 45 Float Pitch (X) angle the emergency flare will turn to when picked up.
prop_flare_roll 45 Float Roll (Z) angle the emergency flare will turn to when picked up.
prop_flare_yaw 55 Float Yaw (Y) angle the emergency flare will turn to when picked up.