Prop flare: Difference between revisions
MyGamepedia (talk | contribs) (Created page with "{{CDA|CProp_Flare|CPhysicsProp|CBreakableProp|CBaseProp|CBaseAnimating|CBaseEntity|}} 70px||thumb|right|Default model skin. 70px||thumb|right|Burnt skin. {{this is a|model entity|name=prop_flare|game=Black Mesa}} A physics prop that represents emergency flare. Can be used by a {{ent|player}} to light way and protect self by using it to ignite zombies and Npc hea...") |
MyGamepedia (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 | 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 ''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.}} | ||
{{bug|hidetested=1|Doesn't extinguish automatically after [[Level_Transitions|level transition]]. {{workaround|Fire '''TurnOff''' input after 30 seconds.}}}} | {{bug|hidetested=1|Doesn't extinguish automatically after [[Level_Transitions|level transition]]. {{workaround|Fire '''TurnOff''' input after 30 seconds on the entity manually.}}}} | ||
==Inputs== | ==Inputs== |
Latest revision as of 06:44, 5 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. |