Tf weapon crossbow: 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:
{{LanguageBar}}
{{LanguageBar}}
{{CD|CTFCrossbow|nolink=1|file1=tf_weapon_rocketlauncher.cpp}}
{{CD|CTFCrossbow|nolink=1|file1=tf_weapon_rocketlauncher.cpp}}
{{this is a|point entity|name=tf_weapon_crossbow|game=Team Fortress 2}}
{{this is a|model entity|name=tf_weapon_crossbow|game=Team Fortress 2}}


tf_weapon_crossbow is the [http://wiki.teamfortress.com/wiki/Medic medic's] primary weapon called the [http://wiki.teamfortress.com/wiki/Crusader%27s_Crossbow Crusader's Crossbow]. The weapon fires a [[tf_projectile_healing_bolt]] which either heals its team or damages the enemy on collision. Though if the weapon is spawned by "ent_create tf_weapon_crossbow", it appears invisible.  
tf_weapon_crossbow is the [http://wiki.teamfortress.com/wiki/Medic medic's] primary weapon called the [http://wiki.teamfortress.com/wiki/Crusader%27s_Crossbow Crusader's Crossbow]. The weapon fires a [[tf_projectile_healing_bolt]] which either heals its team or damages the enemy on collision. Though if the weapon is spawned by "ent_create tf_weapon_crossbow", it appears invisible.  

Latest revision as of 04:35, 19 May 2025

English (en)Translate (Translate)
C++ Class hierarchy
CTFCrossbow
CTFRocketLauncher
CTFWeaponBaseGun
CTFWeaponBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ tf_weapon_rocketlauncher.cpp

tf_weapon_crossbow is a model entity available in Team Fortress 2 Team Fortress 2.

tf_weapon_crossbow is the medic's primary weapon called the Crusader's Crossbow. The weapon fires a tf_projectile_healing_bolt which either heals its team or damages the enemy on collision. Though if the weapon is spawned by "ent_create tf_weapon_crossbow", it appears invisible.

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