Jump to content

Blender - Skeleton Tool (your future All In One addon for JKA models) 2.1

   (0 reviews)

1 Screenshot

About This File

Blender Version: 4.1

Idea behind it:

I used to do Frankenstein Modelling for hours each day and I was thinking about simplifying these steps. How do I make it less time consuming to parent everything and set names, create .skin files and so on. That's when I got into Python coding and learned how to use the Blender API thanks to @Milamber.

He has been my inspiration source for years.

I want to keep updating the code so it looks more neat and make it an All in One addon for modelling in general.

 

Features (Everything will be parented according to the proper hierarchy (naming convention advised)):

  • Parent Body Parts -> Parent every object that's not a cap or tag
  • Parent Caps -> Every cap will be parented
  • Parent Tags -> Every tag will be parented 
  • Folder Browser for the Create Skin function
  • Set Ghoul 2 Properties -> Every object will be given a g2_prop if not present. Use this function before pressing Create model_default.skin
  • Create model_default.skin -> creates a model_default.skin file at the selected folder path
  • Parent Vehicle Parts -> Every object, cap and tag will be parented
  • Remove Parents -> Removes parents from all objects
  • Clean duplicates in hierarchy -> Every duplicate object with .00 in its name will be deleted
  • It also has a .blend file with skeleton_root and all the default Tags (all LOD levels).

The new remove parents and vehicle parts functions described above are inspired by @mjt

 

ALWAYS CHECK GITHUB FOR THE LATEST CHANGES AND FOR THE README FILE, THIS WILL BE UPDATED ALONG THE ADDON

 

Visit me on Github: https://github.com/Mauii/

THIS FILE IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY ACTIVISION PUBLISHING, INC., RAVEN SOFTWARE, OR LUCASARTS ENTERTAINMENT COMPANY, LLC. ELEMENTS™ & © LUCASFILM LTD.™ & DISNEY, INC.™ AND/OR ITS LICENSORS. STAR WARS®, JEDI®, & JEDI KNIGHT® ARE REGISTERED TRADEMARKS OF LUCASFILM LTD™ AND WALT DISNEY, INC.™ STAR WARS®, JEDI®, & JEDI KNIGHT® ARE REGISTERED TRADEMARKS OF LUCASFILM LTD™ & DISNEY, INC.™


What's New in Version 2.1

Released

Improved parenting system.

Throws messages when using Character functions when having a vehicle skeleton_root in the scene and other way around too.

Supports anything as long you use the body part in the name at first place. head_mask_whatever_0 will be parented onto head_0 for example.

Now supports stupidtriangle and stupidtriangle_off too which it didn't before.

Gave the addon a different layout.

 

The code looks messy at the BodyParts function, but as soon as I learn to code better in Python.. I might try to go for a shorter code.


User Feedback

Recommended Comments

6 hours ago, bigphil2695 said:

Bless you, gonna try it now

Please let me know what you think of it afteryou tried it. Thank you!

bigphil2695 likes this
Link to comment

Upload the latest version (v1.1), this can be considered as final.

Added new features and improved the ones it already had. 

Full description added aswell, I hope this works for all of you.

Enjoy!

Link to comment
1 hour ago, Laisum said:

So this is a check on the correct hierarchy? Niiiice!

Exactly. The correct hierarchy is optained by using this addon. It's not only efficient but also saving a shit ton of time.

Link to comment

ADDON COMPLETELY CHANGED

Pros:

+ No longer need to manually select an LOD level, it will do everything for you.

+ No more errors when an object is not named correctly, however it will stay untouched (nice indicator I think)

Cons:

- Create tags

- Apply armatures for you.

 

Naming convention is a MUST. -> helmet has to become head_helmet_0 (or any other LOD level).

bigphil2695 likes this
Link to comment

Tried to use a separate model from my own OBJ, which I wanted to attach to a head. The name is head_hood (it was just hood upon importing), I simply renamed it myself. LOD deleted even before that. However when I press Parent Object/Tags, it gives an error:

Python: Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\skeleton_tool-main\__init__.py", line 77, in execute
    if "skeleton_root" in obj.name or "model_root_" + lod in obj.name:
TypeError: can only concatenate str (not "NoneType") to str

location: <unknown location>:-1

What could be the problem?

Maui likes this
Link to comment

The problem with this, is that the code was no completely optimised for the task. The current version however, is completely bug free as far as I can tell.

Edited by Maui
Link to comment

The addon has now been finished. If you follow the correct naming convention, it will work beautifully.

Previous problems stated above are also been taken care of.

Kitsu-NeshKaa likes this
Link to comment

New functions added and older code optimised.

It now has functionality for vehicles too. Parent all caps, tags and object in 1 click. Also gives you the possibility to unparent everything if you so please.

3 hours ago, Kitsu-NeshKaa said:

Maybe anybody create video tutorial for this plugin? Or do you already have one?

I haven't made any video's about it yet, but it's self explanatory. Would you like to see a video?

Kitsu-NeshKaa likes this
Link to comment

I noticed an issue with stupidtriangle and the _off variant. 

That will be fixed in the next release. Might upload that later tonight.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...