Tf weapon flaregun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
m (Classifying as model entity)
 
Line 1: Line 1:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{CD|CTFFlareGun|nolink=1|file1=tf_weapon_flaregun.cpp}}
{{CD|CTFFlareGun|nolink=1|file1=tf_weapon_flaregun.cpp}}
{{this is a|entity|name=tf_weapon_flaregun|game=Team Fortress 2}} It's the entity used for the [http://wiki.teamfortress.com/wiki/Pyro Pyro's] secondary weapons known as the [http://wiki.teamfortress.com/wiki/Flare_Gun Flare Gun], [http://wiki.teamfortress.com/wiki/Detonator Detonator], [https://wiki.teamfortress.com/wiki/Manmelter Manmelter], and [http://wiki.teamfortress.com/wiki/Scorch_Shot Scorch Shot]. If this entity is spawned using <tt>ent_create tf_weapon_flaregun</tt>, it will not appear in-game.
{{this is a|model entity|name=tf_weapon_flaregun|game=Team Fortress 2}} It's the entity used for the [http://wiki.teamfortress.com/wiki/Pyro Pyro's] secondary weapons known as the [http://wiki.teamfortress.com/wiki/Flare_Gun Flare Gun], [http://wiki.teamfortress.com/wiki/Detonator Detonator], [https://wiki.teamfortress.com/wiki/Manmelter Manmelter], and [http://wiki.teamfortress.com/wiki/Scorch_Shot Scorch Shot]. If this entity is spawned using <tt>ent_create tf_weapon_flaregun</tt>, it will not appear in-game.


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}

Latest revision as of 04:35, 19 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CTFFlareGun
CTFWeaponBaseGun
CTFWeaponBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ tf_weapon_flaregun.cpp

tf_weapon_flaregun is a model entity available in Team Fortress 2 Team Fortress 2. It's the entity used for the Pyro's secondary weapons known as the Flare Gun, Detonator, Manmelter, and Scorch Shot. If this entity is spawned using ent_create tf_weapon_flaregun, it will not appear in-game.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities