Quote:
Originally Posted by Hostile";p="
how do you check that without having to load the game each time? Even if I animate a part and open w3d viewer, I can't see any animation for infantry.
|
Well, I jsut animate the skeleton forward, and then export one bone at a time as 'pure animation'(using the correct reference skeleton of course), and then open up the model, the skeleton, and the exported animations in w3dviewer.THis works for BFME infantry too, but because of the skeleton import issues, the bones dont go where you moved them in RenX.
The reason for the error, is that for some reason the quaternions for the skeletons bones are totally messed up.I dont understand why yet, or what to do about it even(I dont have enough understanding of quaternion rotation)but there is another way to check linkage.
Run Wdump located in C:\Program Files\RenegadePublicTools\WDump.Open up the skeleton in Wdump, and under W3d_CHUNK_PIVOTS, note the ParentIDdx assigned to each bone.Next open up the model, and under W3D_CHUNK_VERTEX_INFLUENCES you can see exactly which verts are bound to which bones by referenceing the ParentIdx.You can also find out heaps of other usefull info from wdump, such as material settings
*EDIT: After trying a couple of things, I do know what to do about the messed up skeletons, just import them, then export them with the same filename, and use this new exported skeleton with your new animations.THe new skeleton also works with the old animations.