source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

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

Open gidi30 opened this issue 1 month ago • 0 comments

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

gidi30 avatar Dec 12 '25 14:12 gidi30