Gildor's Forums

Author Topic: Rename Bone of model and Animation too  (Read 3410 times)
ps2invader
Newbie
*
Posts: 2


View Profile
Rename Bone of model and Animation too
« on: May 14, 2015, 21:37 »

Hi To everyone Smiley

I'm new at forum and i use ActorX import to for a while.

But i need help for one little problem.
I use the ActorX to import model to use it on Unreal engine 4.

There is a problem with some models.
They have bones named in that way.
_00
_01
_02 etc.
When i import on Unreal Engine 4, the engine crash.
The problem is the name of the bones.
So i try to rename the bones manually and UE4 import it with no problem.
I want modify script to add a prefix or suffix on the bones.
I modify the script and now the bones have a suffix but when i import PSA of that model the animation not work.
I need help to find where i have to modify the script in the PSA part to get animation work.
Someone can say me if i want add prefix on the bones and make the animation works with this modify where i have to modify the code of script?
Thanks Smiley
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7927



View Profile WWW
Re: Rename Bone of model and Animation too
« Reply #1 on: May 14, 2015, 21:42 »

Hi.

Welcome to the forum!

You may modify bone name in ReadVBone() function (line 582) - alter "b.Name". This should work for mesh and for animation.
Logged
ps2invader
Newbie
*
Posts: 2


View Profile
Re: Rename Bone of model and Animation too
« Reply #2 on: May 14, 2015, 22:05 »

Hi Gildor,

Thanks for tip, you save me lot of work XD
i modify the b.name but only in the PSK section.
i not consider the ReadVBone Function, i'm not used to scripting in 3dsmax ehehehe.

However i think is useful add this features on the script, if it happened to me, it can happen to anybody.

If you allow me i would like add it myself Smiley

Thanks Again.
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS