Jump to content

Problem editing existing lovers animations!


garg

Recommended Posts

I have everything set up properly to get the lovers Animations into blender but I cannot even save an un-edited animation because of a Python scripting error:

 

This is one error I can show you:

 

NifExportError: Syntax error in Anim buffer ('ENUM: Face Anger 0.5 0.0 2.0 0.0')

 

Text buffer reads:

 

1/start

41/end

1/ENUM: Face Happy 0.8 0.0 2.0 0.0

ENUM: Face Anger 0.5 0.0 2.0 0.0

ENUM: Face Sad 0.5 0.0 2.0 0.0

ENUM: Face Fear 0.5 0.0 2.0 0.0

1/ENUM: Face Eh 0.0 0.0 0.1 0.4

ENUM: Face BlinkLeft 0.0 0.0 0.1 0.4

ENUM: Face BlinkRight 0.0 0.0 0.1 0.4

3/ENUM: Face Eh 1.0 0.4 0.2 0.6

ENUM: Face BlinkLeft 0.3 0.4 0.2 0.6

ENUM: Face BlinkRight 0.3 0.4 0.2 0.6

15/ENUM: Face Eh 0.0 0.6 0.7 0.0

ENUM: Face BlinkLeft 0.0 0.6 0.7 0.0

ENUM: Face BlinkRight 0.0 0.6 0.7 0.0

 

Any help with this problem would be much appreciated!

Link to comment

Mastercchris is right. You need time stamps and I also think you need to move the

41/end to the very bottom. I could be wrong but that is what I have been doing and it works so.....

 

Yep. The ##/ tells Oblivion which frame to start the effect on' date=' in this case facial animations. Leaving it out doesn't necessarily mean that the effect won't work in Oblivion, but Nifscripts will refuse to process the text file without a ##/ for each key.

 

It's also generally considered good form to place the ##/end key at the end of the animation, although it *should* work fine with the ##/end in the wrong place.

 

The Pose Converter, currently in alpha status, includes an automated cleaner for the anim text file(adds a Blend entry, checks the start entry, automatically sets the end entry to the last frame and moves it to the end of the anim text file), but I haven't added any code to deal with lines that have no ##/ entry. I'll add that to the next version.

Link to comment

:@ Tried all the above to no avail - perhaps I have something wrong with Python, etc on my end not getting the correct data from the original file!

 

Anyway, since i,m not changing any of the facial expresssions I am just going to delete them and copy the data back from the original anim using nifskope!

 

Thanks for the help if I find out what is causing the prob I'll report it back here!

Link to comment

It should be

 

1/start

41/end

1/ENUM: Face Happy 0.8 0.0 2.0 0.0/ENUM: Face Anger 0.5 0.0 2.0 0.0/ENUM: Face Sad 0.5 0.0 2.0 0.0/ENUM: Face Fear 0.5 0.0 2.0 0.0

1/ENUM: Face Eh 0.0 0.0 0.1 0.4/ENUM: Face BlinkLeft 0.0 0.0 0.1 0.4/ENUM: Face BlinkRight 0.0 0.0 0.1 0.4

3/ENUM: Face Eh 1.0 0.4 0.2 0.6/ENUM: Face BlinkLeft 0.3 0.4 0.2 0.6/ENUM: Face BlinkRight 0.3 0.4 0.2 0.6

15/ENUM: Face Eh 0.0 0.6 0.7 0.0/ENUM: Face BlinkLeft 0.0 0.6 0.7 0.0/ENUM: Face BlinkRight 0.0 0.6 0.7 0.0

Link to comment

It should be

 

1/start

41/end

1/ENUM: Face Happy 0.8 0.0 2.0 0.0/ENUM: Face Anger 0.5 0.0 2.0 0.0/ENUM: Face Sad 0.5 0.0 2.0 0.0/ENUM: Face Fear 0.5 0.0 2.0 0.0

1/ENUM: Face Eh 0.0 0.0 0.1 0.4/ENUM: Face BlinkLeft 0.0 0.0 0.1 0.4/ENUM: Face BlinkRight 0.0 0.0 0.1 0.4

3/ENUM: Face Eh 1.0 0.4 0.2 0.6/ENUM: Face BlinkLeft 0.3 0.4 0.2 0.6/ENUM: Face BlinkRight 0.3 0.4 0.2 0.6

15/ENUM: Face Eh 0.0 0.6 0.7 0.0/ENUM: Face BlinkLeft 0.0 0.6 0.7 0.0/ENUM: Face BlinkRight 0.0 0.6 0.7 0.0

 

I didn't know that you could add multiple ENUMs to a single line. I'll have to update the Pose converter.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use