Attachment points for TF2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(added spy and solider attachments)
 
Line 80: Line 80:
|{{mono|weapon_bone_L}}
|{{mono|weapon_bone_L}}
|The Left weapon bone.
|The Left weapon bone.
|-
|{{mono|eyes}}
|The right eye.
|-
|-
|{{mono|righteye}}
|{{mono|righteye}}
Line 92: Line 95:
|{{mono|eyeglow_L}}
|{{mono|eyeglow_L}}
|The left eye.
|The left eye.
|-
|{{mono|flag}}
|Location to carry [[item_teamflag]].
|-
|{{mono|back_lower}}
|Lower Back
|-
|{{mono|effect_hand_r}}
|The right hand.
|-
|{{mono|effect_hand_l}}
|The left hand.
|-
|{{mono|taunt_effect}}
|Location of Taunt (base of feet)
|-
|{{mono|foot_r}}
|Right Foot
|-
|{{mono|foot_l}}
|Left Foot
|}
==Spy==
{|class=wikitable
!align=left| Attachment Name:
!align=left| Description and Notes:
|-
|{{mono|partyhat}}
|Location of Hat.
|-
|{{mono|head}}
|The Head.
|-
|{{mono|cig_smoke}}
|Location of smoke effect
|-
|{{mono|cig_eject}}
|Spawn cig model
|-
|{{mono|eyes}}
|The right eye.
|-
|{{mono|righteye}}
|The right eye.
|-
|{{mono|lefteye}}
|The left eye.
|-
|{{mono|eyeglow_R}}
|The right eye.
|-
|{{mono|eyeglow_L}}
|The left eye.
|-
|{{mono|weapon_bone}}
|The weapon bone. (possibly where shoulder mounted things go)
|-
|{{mono|weapon_bone_R}}
|The right weapon bone.
|-
|{{mono|weapon_bone_L}}
|The Left weapon bone.
|-
|{{mono|weapon_bone_1}}
|The weapon bone. (possibly where shoulder mounted things go)
|-
|{{mono|weapon_bone_2}}
|The weapon bone. (possibly where shoulder mounted things go)
|-
|{{mono|weapon_bone_3}}
|The weapon bone. (possibly where shoulder mounted things go)
|-
|-
|{{mono|flag}}
|{{mono|flag}}

Latest revision as of 22:41, 23 October 2025

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