prop_flare
![]() |
---|
CProp_Flare |
prop_flare
is a model entity available in 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.



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. |