Coder Social home page Coder Social logo

hwmtools's Introduction

STILL IN DEVELOPMENT

Some things may not work as intended - please report these in the Github Issues section.

A Blender addon for converting HWM (hardware morph) models from Source 1 to Source 2. Only tested with Team Fortress 2 models, but should work with most custom content as well.

Also includes a Source 2 prefab for automatically setting up flex controllers.

Instructions:

  1. Install Rectus's fork of Blender Source Tools: https://github.com/Rectus/BlenderSourceTools. The original will not work.

  2. Download and install my addon.

  3. Copy "hwmcontrols.vmdl_prefab" to "C:\Program Files (x86)\Steam\steamapps\common\Half-Life Alyx\content\hlvr_addons\YOURADDONNAME\models\player\hwm\prefabs"

  4. Decompile your model with Crowbar.

  5. In the HWMTools panel (openable with the "N" key), set the path to your decompiled .qc file and the location where you want to export your .dmx files for Source 2. Adjust other settings as you see fit.

  6. Hit "Import and Process"

  7. Go to the "Scene" tab (picture of a cone and circle on the right), then press the "Export" button. You will be given a drop-down, press "Scene export".

  8. Open up Source 2, import your model as normal. Press the "add" button, and search for "Prefab". When asked to choose a path, select the attached "hwmcontrols.vmdl_prefab".

  9. Hit "add" again, and search for "ComputeWrinkleMap". Add it, and select the mesh that contains the character's head. Set "Compress Scale" to "-5", and "Stretch Scale" to "5".

  10. Done! If the face dosn't move, make sure you have "Morph Supported" and "Wrinkle" checked in your head material. For the eye material, you should use "materials\models\player\shared\eye-iris-blue.vtf" from Team Fortress 2.

hwmtools's People

Contributors

etkramer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.