TF2Ls-for-Unity icon indicating copy to clipboard operation
TF2Ls-for-Unity copied to clipboard

Editor tools that streamline use of Valve assets in Unity

Overview

TF2Ls for Unity (or TF2 Libraries/Loaders for Unity) is a collection of editor tools that help streamline the porting and usage of Valve assets in the development of Unity games.

This set of tools is a collection of existing scripts from past community developers packed together and given a very friendly user interface. Things that required too many mouse clicks, minutes, and headaches can now be done in seconds!

What's Included

TF2 Shaders for the Built-in Render Pipeline that support paint and translucency

A mesh skeleton switcher that allows for the easy parenting of item/cosmetic/weapon rigs to character skeletal meshes

A model texturing tool that automatically reads .VMT files, generates new material assets, converts associated .VTFs into .TGAs and finally applies them to a mesh. All in one press!

Video below

https://user-images.githubusercontent.com/11392541/146690276-ef22c113-dfd8-42a0-9387-38e2b1108ac6.mp4

Coming Soon

  • A helper component that facilitates use of texture-based eye movement. Gizmos/handlers to control where irises are looking included
  • Automatic .vpk ripping for specific assets by reading vmts
  • Integration of local item schema
  • Native import of VMTs as Unity materials via a ScripttedImporter
  • Change default TF2 shader to your own shader based on the Valve shader being loaded

Credits