Results 1 to 5 of 5

Thread: Problem with animation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Member Member KnightErrant's Avatar
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    458

    Default Re: Problem with animation

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO