Skip to content

[TF2] Fix the 3d model in the hud using the incorrect animations while holding the passtime ball#1703

Merged
EricS-Valve merged 1 commit intoValveSoftware:masterfrom
gidi30:passtime-hud-model-animation-fix
Mar 3, 2026
Merged

[TF2] Fix the 3d model in the hud using the incorrect animations while holding the passtime ball#1703
EricS-Valve merged 1 commit intoValveSoftware:masterfrom
gidi30:passtime-hud-model-animation-fix

Conversation

@gidi30
Copy link
Copy Markdown
Contributor

@gidi30 gidi30 commented Dec 12, 2025

Description

Currently while holding the passtime ball the 3d model in the hud will use the allclass melee animations instead of the proper passtime ball animations.
This PR attempts to fix this by introducing a new weapon type for the passtime ball used for the animations.

Implementing this will also require a change to the definition of TF_WEAPON_PASSTIME_GUN in items_game.txt

  "item_name"	"#Weapon_Passtime_Gun"
  "item_slot"    "utility"
- "anim_slot"   "MELEE_ALLCLASS"
  "attach_to_hands""1"
  "hidden"	        "1"

to

  "item_name"	"#Weapon_Passtime_Gun"
  "item_slot"	"utility"
+ "anim_slot"	"PASSTIME_BALL"
  "attach_to_hands"	"1"
  "hidden"	"1"

Before:

202512121

After:

202512122

Generalisk added a commit to Generalisk/SourceSDK-Generalisk that referenced this pull request Jan 9, 2026
@EricS-Valve EricS-Valve merged commit f48a72d into ValveSoftware:master Mar 3, 2026
TF_WPN_TYPE_PRIMARY2,
TF_WPN_TYPE_ITEM3,
TF_WPN_TYPE_ITEM4,
TF_WPM_TYPE_PASSTIME_BALL,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"WPM" seems like a typo

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants