Skip to content

tsuza/TF2-ProperClassWeaponAnimations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF2-ProperClassWeaponAnimations

Proper animations for all weapons, even if the class isn't supposed to use it.

Demonstration

Team.Fortress.2_2023.03.05-03.01.mp4
Team.Fortress.2_2023.03.05-03.02.mp4

Requirements

Installation

  1. Grab the latest release from the release page and unzip it in your sourcemod folder.
  2. Restart the server or type sm plugins load TF2-ProperClassWeaponAnimations in the console to load the plugin.

Convars

  • sm_tf2-properclassweaponanimations_playermodelbonemerge: Whether or not you want to have the player's model ( what others see ) have proper animations for the unintended weapon. Note that this will create one more entity. DEFAULT: enabled ( 1 )

TO-DOs

  • Hiding the client's model hides all shadows emitted from them. Find a way to enable them.
  • Weapon taunts work just fine. However, if you try to use a normal taunt that your class would be able to do while using an "unintended" weapon, the animation will just be the idle animation. It's an easy fix, tho CTFPlayer::Taunt doesn't get called for non-weapon taunts (??).
  • Fix the inspect animations for some weapons.
  • When taunting, the player will use the voice lines from the weapon default's class. Make it use the real class' voice lines.

Build

This plugin gets built by my other project SPDependy.

About

[TF2] Proper weapon animations for all classes

Resources

Stars

Watchers

Forks

Packages

No packages published