Been meaning to do this for a while, as always shoutout to Tricky_X, Hrbls, macassar, Jeebs, and JarateKing for starting the project and keeping it going. Will try to maintain for a while. Previous threads for reference.
DL Link for No Hats Mod (gets rid of all cosmetics):
DL Link for HeadsFeet (leaves in certain cosmetics to avoid invisible demo/scout feet and pyro heads):
To install, place the vpk of choice into your tf/custom folder. Note that each vpk is standalone, and No Hats Mod overrides HeadsFeet. If you're using HeadsFeet, make sure that you have no other copies of No Hats Mod lying around in your custom folder (they may be embedded into other vpks such as CleanTF2).
Known issues that will be fixed in next update:
Erroneously trying to remove the voodoo-cursed souls, I don't think it's possible
Adding back certain taunt animations and razorback gibs
Removing medals from 7/3/20 update
Does this work on any TF2 server?
Yes, including sv_pure 2.
I noticed a cosmetic appearing even though I'm using No Hats/I noticed invisible heads and feet despite using HeadsFeet? What do I do?
Assuming the vpk is installed correctly, this can be one of two things.
1. Some hats are tied to the map file. An example is the Tyrant's Helm on Gullywash. Nothing I can really do about that, it will always appear.
2. This is the result of an error on my part. Feel free to post in this thread if you notice something like that. If you could find out the cosmetic in question that would be very helpful.
How come sometimes the default hats are removed?
The default hats being removed is just a side effect unfortunately of how the hat removal actually works. Whether or not the default hat gets removed is dependent on the hat itself. Although stay tuned for more...
How come sometimes unusual effects disappear?
How nohats interacts with unusual effects is as far as I'm concerned one of the great mysteries of the world, there's nothing I can do about it at this point in time.
Is there any way of customizing what hats I can see? All I really want is to stop seeing SGC's green banana!
Yes, although it does require a slight bit of work. Here's a step by step guide.
1. Download GCFScape
and use it to extract the contents of the NoHatsMod vpk.
2. Within the extracted vpk are sets of .vtx files organized in a specific way. Each cosmetic in the game (usually) has 2 vtx files associated with it (for dxlevel 80 and 90). In order to let you see a cosmetic in game, you want to delete the vtx files it's associated with.
After doing so, you can navigate over to common/Team Fortress 2/bin and drop the root folder onto vpk.exe to create a vpk.
Unfortunately the process of finding the vtx files associated to a particular cosmetic is easier said then done. The vtx file names are oftentimes not the same as the name of the cosmetic, its organization within the directory is oftentimes obtuse and counterintuitive, sometimes there's duplicates of the item etc. For most cosmetics it should be ok. Here is a very useful guide that identifies the file name of many cosmetics
, although it is not 100% up to date. You can also consult the item schema directly from /tf/scripts/items/items_game.txt
How many unique cosmetics are in the game at this point?
Somewhere between 2500 and 2800 unique cosmetics as of 07/02/2020