Hmm, that's strange, the usual cas footer for standard anims looks
like:
with the red integer 0 being in the 16th indexed item (0-based indexing).Code:104 1 1 CaozSceneCustomAttribNode 1 0 1 0 0 +0.00000 +0.00000 +0.00000 +1.00000 +0.00000 +0.00000 +0.00000 0 0 -1 0 0 1 16 2 0 0 16 3 0 0 16 8 0 0 16 10 0 0 12 5 0
Looks like it's seeing one of the 7 floats there. Go to the joints tab and
select the third joint, bone_Rlowerleg, and click the comment button.
If you could, copy and paste what you see there into a post.
Which unit and which animation did you merge? I can try and duplicate
what you did and see if I get the same error.
This is the comment of bone_Rlowerleg:
The ms3d model is byzantine_lancers_lod1 and the animation is HR_lance_Attack_stab_centre_fail.Code:106 1 1 CaozSceneCustomAttribNode 1 1 0 1 0 0 +0.00000 +0.00000 +0.00000 +1.00000 +0.00000 +0.00000 +0.00000 0 0 -1 0 0 1 16 2 0 0 16 3 0 0 16 8 0 0 16 10 0 0 12 5 0 12 12 0
Ok, I see what the problem is. The 106 was the tipoff. This is a slight
variant of the .cas file format I hadn't seen before. The node name is
"CaozSceneCustomAttribNode 1"
that is, the 1 is part of the name but with a space in there. I actually see
that 1 in the string you posted and it's shifting everything right by 1 index
value. I'll try and make a work-around for this and post it.
Edit: Well, literally a two-liner. Download a modified animationlibrary.py
from here:
http://rapidshare.com/files/10746497...ibrary.py.html
The read cas part of animmerge now has a line:
AttribString = AttribString.replace( ' ', '%' )
to make the node name not have spaces in the comment. The write cas
part of animextract now has a line:
AttribString = AttribString.replace( '%', ' ' )
to reverse the process. (Can't see it in html but the ' ' actually has a space
between the single quotes.)
Last edited by KnightErrant; 04-14-2008 at 18:28.
Works perfectly!
Thank you, you are a genius!
Bookmarks