Giter Site home page Giter Site logo

tk7_sk_ch's Introduction

TK7_SK_CH

Blender addon to speed up the process of modding rigged characters into Tekken 7.

Contents

  1. Credits
  2. Compatibility
  3. Installation
  4. Update
  5. Quick Tools
  6. Vertex Group Merger
  7. Skeleton Generator
  8. Pose Snapper
  9. T_poser
  10. Bone Renamer
  11. Skeleton Simplifier
  12. Usage demonstration

Credits

I owe a lot to the following members of the Tekken modding community who provided their code and/or info which shaped the addon you see before you:

I also owe a lot to the following members from the Blender development community:

If you happen to run into any inconveniences while using the addon, you have my thick-headedness to thank for that1.


Compatibility

Blender version 2.91 2.93 3.0 3.1 3.2 3.3 3.5 3.6 4.0
Compatible ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Installation

  1. Download the latest release from GitHub here.
  2. In Blender, open the Preferences window (Edit>Preferences) and select the Add-ons tab.
  3. Press the 'Install...' button and select the .zip file you downloaded.
  4. Enable the add-on and save preferences if you want it to always be available.

Update

The addon might get updates frequently. To make sure you're using the latest version:

  1. Save current Blender file if you want to keep any changes.
  2. Open the Preferences window in Blender (Edit>Preferences) and select the Add-ons tab.
  3. Search for the addon by typing 'TK7_SK_CH' on the search box.
  4. Expand the addon's preferences.
  5. Click on 'Check now for tk7_sk_ch update'.
  6. If it says a new version is available, click on update now to said version.

AddonUpdater


Quick Tools

These include some tools that are commonly used throughout the modding process.

image

Details
  • Scene setup: Adjusts the scene units based on the info Dennis provided on the original custom mesh import guide.
  • FBX Export: Exports all character models within enabled collections with the appropriate export settings for Tekken7 and stores them at the selected path. It creates a separate FBX file for each Armature or Mesh based on the Export by option.
  • Merge bones to: Merges the weights of the bones to each bones' parents or to the active bone (the last selected bone). The bones need to be selected in edit mode.
  • Apply Pose: Applies the pose of the active armature.
  • Fix bones: Copies the bone properties in edit mode from a selected reference armature onto the last selected armature.
  • Disable hierarchy: Temporarily disables the bone hierarchy for the active armature allowing isolated movement / adjustment of bones in pose mode.

Vertex Group Merger

Merges the vertex groups for the the active mesh. It is the UI implementation of Stoner_037's Vertex Group Merging script.

Blender-D-FIles-Projects-Blender

Details

VertexGroupMerger

What it does:

  • Merges the vertex groups for an active mesh.
  • If the new vertex group's name already exists, it'll create a new group with a similar name unless the old one was removed.

Options:

    • Remove merged vertex groups: Removes all the vertex groups that were merged and only keeps the one with the new name.

Conditions for proper activation:

  • Object mode or Edit mode

Skeleton Generator

Generate skeletons for Tekken characters without any meshes. Credit to Saiki (and by extension to Ressen) for the bone roll fix guide which helped lead to the development of this module.

Sk_gen

Details

image

What it does:

  • Generates the skeletons for the Tekken 7 cast including Noctis and Geese.
  • The bones in the generated skeleton have the correct roll and are in the correct position (I've tested it on about 13 characters).
  • It only generates the skeletons for the characters selected without any meshes.

Options:

  • Char: The abreviation for the character you want to generate the skeleton of (Set to aki or Armor King by default).
  • Type: Specifies the type of skeleton generated whether it's in glTF or PSK format (Set to glTF by default).
  • Bones included: Specifies what bones to include in the generated skeleton. All bones generates all staple bones within a character's skeleton while Main bones only just generates the bones that don't have "offset" or "null" in their name (Set to All bones by default).

Conditions for proper activation:

  • Object mode

Pose Snapper

Moves the bones of the active armature (last selected) to the positions of the bones of the other selected armature according to the name of the bone.

PoseSnapper

Details

image

What it does:

  • Moves bones with matching names in pose mode to their corresponding position on the other selected armature.
  • Doesn't change the rotation of the bones, just their position.

Options:

    • Autoscale: Scales the entire skeleton so that the 'Spine1' bones in both skeletons line up (Optional).
  • Simple: Moves individual bones locations in pose mode so bones with identical names between the 2 selected skeleton line up.
  • Advanced: Moves and scales individual bones in pose mode so bones with identical names between the 2 selected skeleton line up (Experimental).

Conditions for proper activation:

  • Object mode or pose mode.
  • Applied when exactly 2 armatures are selected and the adjustments will be applied to the one selected last.
  • Most of the main Tekken 7 bones need to be present and following the same naming convention as Tekken 7 (Only required if Autoscale or advanced mode is set)
  • All the viewport transfroms should be applied on the skeleton (Ctrl + A ---> All tranforms) as well as the pose (i.e. pose needs to be applied too).

T_poser

Puts the armature into T pose as long as the name of the bones matches up with the Tekken 7 bone names. Most of the main Tekken 7 bones need to be on the skeleton to avoid any errors.

Tposer

Details

image

What it does:

  • T-poses most of the main bones in a skeleton as long as the bone names follow Tekken 7's naming convetion (except for the head bone).

Options:

    • connect main bones: Connects the limb bones together in edit mode to make the skeleton ready for T posing (Optional, On by default).
    • Fix finger tips: Rotates the finger tip bones so that they're pointing in the direction of the mesh they control (Optional, Off by default).
    • Apply to spine bones: Attemps to make the spine bones line up vertically in pose mode (Optional, Off by default).

Conditions for proper activation:

  • Object mode or pose mode.
  • Applied on a single active armature on the viewport.
  • Most of the main Tekken 7 bones need to be present and following the same naming convention as Tekken 7 (Hand bones, spine bones, limb bones, and Neck).
  • All the viewport transfroms should be applied on the skeleton (Ctrl + A ---> All tranforms) as well as the pose (i.e. pose needs to be applied too).
  • The bones need to be already in the correct position so that the T-poser can rotate them properly.

Bone_Renamer

Renames the bones for the active skeleton according to the current selected preset list. It is a UI implementation of Reborn's original bone renamer script. There are several presets already added on the renamer thanks to Reborn, Ressen, and WTails358.

BoneRenamer

Details

Renamer

What it does:

  • Renames the bones of an active armature.
  • Stores renaming lists as presets for later use.
  • Allows modifying the renaming list through the UI.
  • Bone names can be searched from an active and another selected armature.

Options:

  • image Auto bone matching: Autofills the selected list based on detected matching bones (Optional and Experimental. It only works for custom skeleton structures with certain features23).
  • image Duplicate: Creates a full copy of the current list.
    • Merge bones with same / similar names: Merges bone weights for the bones that end up with the a same or similar name. The parent would be the first renamed bone if the new bone names are identical. If the new bone name is the same as that of an existing bone, the bone weights are still going to get merged even if they're aren't both shown on the list (Optional, Off by default).

Conditions for proper activation:

  • Object mode or edit mode.
  • Applied on a single active armature on the viewport.
  • All the viewport transfroms should be applied on the skeleton (Ctrl + A ---> All tranforms) as well as the pose for the Auto bone matching to function properly.

Skeleton Simplifier

Merges the weights of bones with certain names onto their parents and cleans up materials. Credit to Reborn for the code to change the alpha blend mode on the materials to Hashed (XPS checkmark). The simplification process might take time to complete.

SK_Simp

Details

image

What it does:

  • Merges all bones weights that have the keywords listed in their names (ex: "ctr", "null", "offset", ...) to thier parents (or ancestors).
  • Connects the main bones in the skeleton (such as the spine bones, limb bones, etc).
  • Removes duplicate materials with different names but the exact same shader properties (material slot clean up).
  • Changes the blend mode for all materials to Hashed

Options:

    • connect main bones: Connect the main limb bones and the spine bones in edit mode (Optional, On by default).
    • remove bones: Remove all the bones that contain listed keywords (ex: "ctr", "null", "offset", ...) in their name from the skeleton after they've got merged (Optional, On by default).
    • Join meshes: Joins the children meshes or separates them according to the materials (Optional, Off by default so it will separate them according to the material slots if left unchecked)
    • XPS: Changes the alpha blend mode settings on every material on all the meshes attached to the skeleton to Hashed (Optional, On by default).

Conditions for proper activation:

  • Object mode or Edit mode.
  • Applied on a single active armature on the viewport.
  • All the viewport transfroms should be applied on the skeleton prior (Ctrl + A ---> All tranforms)
  • Children meshes of the armature should all be visible on the viewport.

Usage Demonstration

image


Footnotes

  1. Most of these individuals were ordered according to when their code got fully implemented or when usage permission was granted.

  2. The skeletons must have 2 spine bones and one hip bone, the hand bones should be the furthest on the x axis, the feet bones should be the lowest bones above the world origin, and there should be only 2 bones in chain moving from the shoulders to the hands as well as moving from the hip to the feet (a regular biped rig with 5 fingers on each hand).

  3. Auto bone matching also completely changes the current active list / script.

tk7_sk_ch's People

Contributors

dennisstanistan avatar ludenous1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dennisstanistan

tk7_sk_ch's Issues

Facial Bone rerigging

The addon cannot be used to position facial bones in their correct place in pose mode. It can only correct the roll and orientation in edit mode for an armature from Tekken itself.

UV Baking feature request

Color UV islands with a unique random color including edges and vertices on the UV editor. Make the colors also visible on the 3D viewport.

Better code structure and documentation

  • Rewrite the functions in TK_FX.py and in TK_SK_CH.py to be more encapsulated and Object Oriented.

  • Minimize code repetitions.

  • Add clear comments and debugging features (runtime, error messages, etc)

Pose Copier

Combine the Pose Snapper and the T-Poser into a more generic Pose Copier module

FBX exporter feature request

Make the exporter export several objects in the scene at once as separate FBX files and name them based on the name of the mesh instead of the name of the Blend file

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.