Jump to content

Problem editing existing lovers animations!


garg

Recommended Posts

Posted

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!

Posted

I think there is supposed to be Time stamps before all of them if I remember correctly.

 

Try Adding 1/ , 3/ or /15 where appropriate

 

Cheers

Posted

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.....

Posted

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.

Posted

:@ 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!

Posted

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

Posted

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.

Archived

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

  • Recently Browsing   0 members

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