Tf viewmodel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
m (Classifying as model entity)
 
Line 2: Line 2:
{{Ent not in fgd}}
{{Ent not in fgd}}
{{CD|CTFViewModel|file1=tf_viewmodel.cpp}}
{{CD|CTFViewModel|file1=tf_viewmodel.cpp}}
{{this is a|point entity|game=Team Fortress 2|name=tf_viewmodel}}
{{this is a|model entity|game=Team Fortress 2|name=tf_viewmodel}}


This entity is used for the player's viewmodel.
This entity is used for the player's viewmodel.

Latest revision as of 03:35, 19 May 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CTFViewModel
CBaseViewModel
CBaseAnimating
CBaseEntity
C++ tf_viewmodel.cpp

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

This entity is used for the player's viewmodel.

Keyvalues

Name (targetname) <string>
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