Prop flare: Difference between revisions
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
{{this is a|model entity|name=prop_flare|game=Black Mesa}} A [[prop_physics|physics prop]] that represents emergency flare. Can be used by a {{ent|player}} to light way and protect self by using it to [[Env entity igniter|ignite]] zombies and [[Npc headcrab|headcrabs]]. Can also burn underwater (functions the same, but creates [[Env bubbles|bubbles]]). | {{this is a|model entity|name=prop_flare|game=Black Mesa}} A [[prop_physics|physics prop]] that represents emergency flare. Can be used by a {{ent|player}} to light way and protect self by using it to [[Env entity igniter|ignite]] zombies and [[Npc headcrab|headcrabs]]. Can also burn underwater (functions the same, but creates [[Env bubbles|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|attachment point]]. The default model for this entity is {{code|models/props_junk/flare.mdl}}, but can be used any. Most inputs, outputs, flags and properties are same as [[CPhysicsProp]]. | 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|attachment point]]. The default model for this entity is {{code|models/props_junk/flare.mdl}}, but can be used any. Most inputs, outputs, flags and properties are same as [[CPhysicsProp]]. | ||
{{important|This entity completely replaces deprecated ''create_flare'' [[Weapon physcannon|physgun]] [[Prop interactions|interaction]]. The interaction is cut in this game.}} | {{important|This entity completely replaces deprecated ''create_flare'' [[Weapon physcannon|physgun]] [[Prop interactions|interaction]]. The interaction is cut in this game.}} |
Revision as of 12:20, 4 August 2025
![]() |
---|
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. |