Join also our Discord channel! Click here.

[HELP] Get Bone and Animation for model

Post questions about game models here, or help out others!
tainhx
advanced
Posts: 52
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Tue Jan 07, 2020 4:29 pm

shakotay2 wrote:
Sat Jan 04, 2020 10:43 pm
tainhx wrote:
Sat Jan 04, 2020 4:51 pm
Could you export animation data for this horse? So I can compare it with my cat
Why not do it yourself?
ScionOfFate-Data.7z
tainhx wrote:
Sat Jan 04, 2020 4:54 pm
So my problem here is lack of Scene Root animation data for each frame?
No. The cat moves although Scene Root data is zero. The problem lies elsewhere.

Comparing cat and horse animations is a good idea.
I don't understand data structure of *.smd file so I can't extract it like what I did which *.bon

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2912
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 743 times
Been thanked: 1498 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Tue Jan 07, 2020 5:17 pm

tainhx wrote:
Tue Jan 07, 2020 4:29 pm
I don't understand data structure of *.smd file
It doesn't really matter - smd was just for visualization and more clear for me (all data from bon and ani in ONE file, except the mesh).
I know I'm not always as clear as I should be so here's my question concerning cat-Animation 1_mainsequence.smd:

the cat in there is moving correctly (more or less), like you wish?
"Yes" or "no"? If "no" I fear I can't help any further.

If "yes" then have a look at the two named bones: "Scene Root" is not moving (other than for the horse, iirc).
Bone "Bip01 Footsteps" seems to be the base for the translational moving of the cat, I'd say.
.
cat_moving.png
The first three values (after the bone number, 0..31) in the smd time block are the position, 3 euler angles (rotation, in radians) to follow.

Code: Select all

time 0
  0 0.000000 2.711911 -0.653285 -0.000000 1.570796 -0.000000
  1 0.000000 -2.656473 0.000000 -0.000000 -1.570796 -0.000000
"Bip01 Footsteps", frame 0
1 0.000000 -2.656473 0.000000 -0.000000 -1.570796 -0.000000
frame 1
1 0.000000 -2.653497 0.000000 -0.000000 -1.570796 -0.000000
...
frame 80
1 0.000000 -2.530534 -0.000000 -0.000000 -1.570796 -0.000000
...
frame 139
1 0.000000 -2.602156 0.000000 -0.000000 -1.570796 -0.000000

So this (-2.656473...-2.602156) makes the cat moving in y direction (plus trans/rot of other bones).

So now simply look what's different with the not correctly moving animals.
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 52
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Thu Jan 09, 2020 4:48 pm

the cat in there is moving correctly (more or less)?
Yes..The cat is moving correctly but less..It not like in game
Here is video for cat moving in game : https://1drv.ms/v/s!AtK3xgihMkhwhIlYcViI-obfPDo8hg

Could you try with anothe sample is Blacksmith
Sample data 2: https://1drv.ms/u/s!AtK3xgihMkhwhI5X4qoASMisva14PQ (Blacksmith)
Blacksmith's IDLE animation demo: https://www.youtube.com/watch?v=AEAQaz0KKWo

You can see the lower body of Blacksmith in demo absoluty is static..but in nosesis it is waving a little

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2912
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 743 times
Been thanked: 1498 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Thu Jan 09, 2020 7:17 pm

tainhx wrote:
Thu Jan 09, 2020 4:48 pm
You can see the lower body of Blacksmith in demo absoluty is static..but in nosesis it is waving a little
I'd really recommend to "hold the line"; what about comparing cat and horse animation data? :roll:

(For the Blacksmith I dunno; doesn't look like rounding errors :? - you could set [Right/Left thigh, calf , foot, Toe0] framelines to fixed values to cure it.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

tainhx
advanced
Posts: 52
Joined: Tue Jun 26, 2018 10:03 am
Has thanked: 2 times
Been thanked: 1 time

Re: [HELP] Get Bone and Animation for model

Post by tainhx » Fri Jan 10, 2020 4:49 pm

shakotay2 wrote:
Thu Jan 09, 2020 7:17 pm
tainhx wrote:
Thu Jan 09, 2020 4:48 pm
You can see the lower body of Blacksmith in demo absoluty is static..but in nosesis it is waving a little
I'd really recommend to "hold the line"; what about comparing cat and horse animation data? :roll:

(For the Blacksmith I dunno; doesn't look like rounding errors :? - you could set [Right/Left thigh, calf , foot, Toe0] framelines to fixed values to cure it.)
"hold the line" ?

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2912
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 743 times
Been thanked: 1498 times

Re: [HELP] Get Bone and Animation for model

Post by shakotay2 » Fri Jan 10, 2020 5:21 pm

What I demanded was to focus on the files we were talking about, not switch to other problems/files.
(Seems I can't help you any further, sorry.)
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Post Reply