Tf weapon bat: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Classifying as model entity)
 
(21 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{wrongtitle|title=Tf_weapon_bat}}
{{LanguageBar}}
<!--<br clear=all>
{{Ent not in fgd|nolink=1}}
<div class="boilerplate metadata" id="stub" align=left>&nbsp; &nbsp;''This article is a [[Help:Stubs|stub]]. You can help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} adding to it].'' </div>
{{CD|CTFBat|nolink=1|file1=tf_weapon_bat.cpp}}
{{this is a|model entity|name=tf_weapon_bat|game=Team Fortress 2}} It is the entity for the Baseball Bat, a melee weapon for the Scout.


<br clear=all>-->
== Keyvalues ==
<div style="text-align: center; background: #B8C6FF; font-weight: bold; margin: 0.1em 10%; padding: 0.1em 0.1em; border: #E5E5E5 2px solid;">
{{KV Targetname}}
''This article is a [[Help:Stubs|stub]]. You can help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} adding to it].''
</div>
 
==Entity Description==
Baseball bat (scout melee)
==Availability==
This point-based [[entity]] is exclusive to Team Fortress 2.
==Keyvalues==
* {{kv targetname}}
 
[[Category:Stubs]]
[[Category:Team Fortress 2 Entities]]

Latest revision as of 04:35, 19 May 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CTFBat
CTFWeaponBaseMelee
CTFWeaponBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ tf_weapon_bat.cpp

tf_weapon_bat is a model entity available in Team Fortress 2 Team Fortress 2. It is the entity for the Baseball Bat, a melee weapon for the Scout.

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