https://github.com/jackyyang09/tf2ls-for-unity
Editor tools that streamline use of Valve assets in Unity
https://github.com/jackyyang09/tf2ls-for-unity
team-fortress-2 tf2 unity unity-editor valve valve-data-format vmt vtf
Last synced: 2 months ago
JSON representation
Editor tools that streamline use of Valve assets in Unity
- Host: GitHub
- URL: https://github.com/jackyyang09/tf2ls-for-unity
- Owner: jackyyang09
- License: mit
- Created: 2021-12-19T17:50:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-06T05:45:53.000Z (over 1 year ago)
- Last Synced: 2025-03-15T00:48:01.922Z (2 months ago)
- Topics: team-fortress-2, tf2, unity, unity-editor, valve, valve-data-format, vmt, vtf
- Language: C#
- Homepage:
- Size: 3.6 MB
- Stars: 16
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
* VTF import functionality is done in the backend using VTFLib [Neil "Jed" Jedrzejewski](https://developer.valvesoftware.com/wiki/User:Wunderboy) and [Ryan "Nemesis" Gregg](https://developer.valvesoftware.com/wiki/User:Nem) under the GPL and LGPL licenses.
* VMT parsing is done using scripts from [Frassle's Ibasa](https://github.com/Frassle/Ibasa) library under the MIT license.
* TF2 shader implementation by the contributions of various Unity forums forums. I use a [self-modified version that adds paint support](https://gist.github.com/jackyyang09/178c063d8eccad5b15de654977ff83df).