garg Posted January 11, 2013 Posted January 11, 2013 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!
ZaZ Posted January 11, 2013 Posted January 11, 2013 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
gregathit Posted January 11, 2013 Posted January 11, 2013 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.....
gerra6 Posted January 12, 2013 Posted January 12, 2013 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.
garg Posted January 13, 2013 Author Posted January 13, 2013 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!
Nusbie Posted January 13, 2013 Posted January 13, 2013 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
gerra6 Posted January 14, 2013 Posted January 14, 2013 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.