Attachment points for TF2

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

Mapping

There are several ways to use attachment points.

  • SetParent
  • SetParentAttachment
  • SetParentAttachmentMaintainOffset

Weapons

Most weapons have attachment muzzle. This is used for muzzleflash and other sprites.

PLAYER CLASSES

This is a list with some possible attachment points for player classes in the Team Fortress 2.

Todo: Definitely not complete.
Note.pngNote:ent_attachments can be used to view attachment names and positions in-game for a specified entity.

Engineer

Attachment Name: Description and Notes:
partyhat Location of Hat.
head The Head.
eyeglow_R The right eye.
eyeglow_L The left eye.
flag Location to carry item_teamflag.
back_lower Lower Back
exhaust Vent for arm
effect_hand_r The right hand.
effect_hand_l The left hand.
taunt_effect Location of Taunt (base of feet)
foot_r Right Foot
foot_l Left Foot

Soldier

Attachment Name: Description and Notes:
partyhat Location of Hat.
head The Head.
handle_bone Handle Bone
weapon_bone The weapon bone. (possibly where shoulder mounted things go)
weapon_bone_R The right weapon bone.
weapon_bone_L The Left weapon bone.
eyes The right eye.
righteye The right eye.
lefteye The left eye.
eyeglow_R The right eye.
eyeglow_L The left eye.
flag Location to carry item_teamflag.
back_lower Lower Back
effect_hand_r The right hand.
effect_hand_l The left hand.
taunt_effect Location of Taunt (base of feet)
foot_r Right Foot
foot_l Left Foot

Spy

Attachment Name: Description and Notes:
partyhat Location of Hat.
head The Head.
cig_smoke Location of smoke effect
cig_eject Spawn cig model
eyes The right eye.
righteye The right eye.
lefteye The left eye.
eyeglow_R The right eye.
eyeglow_L The left eye.
weapon_bone The weapon bone. (possibly where shoulder mounted things go)
weapon_bone_R The right weapon bone.
weapon_bone_L The Left weapon bone.
weapon_bone_1 The weapon bone. (possibly where shoulder mounted things go)
weapon_bone_2 The weapon bone. (possibly where shoulder mounted things go)
weapon_bone_3 The weapon bone. (possibly where shoulder mounted things go)
flag Location to carry item_teamflag.
back_lower Lower Back
effect_hand_r The right hand.
effect_hand_l The left hand.
taunt_effect Location of Taunt (base of feet)
foot_r Right Foot
foot_l Left Foot


See also