Welcome Guest [Log In] [Register]






Shoot a firework rocket ~ Winners!
Make a forum zoo!

Welcome to The Round Table. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
Current Projects
Topic Started: Feb 15 2014, 07:38 AM (241,693 Views)
HENDRIX
Member Avatar
-retired-

Well, you can only do it by importing it into blender and then exporting it again. If you can import the animations and the skeleton has a structure like in ZT2 (with a Bip01 & Bip01 NonAccum node), you can directly export all the stuff as a nif & many BF files. ;)


Anyway:
Quote:
 
BF Import Script v0.1

Unzip into C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\ to install.

BF Import Script v0.1
by HENDRIX, integrated into the original nif scripts by Niftools.

Access from File > Import > NetImmerse/Gamebryo (.nif & .kf & .egm & .bf)

Note: This script is not stand-alone like the export script, but had to be integrated into the NIF IMPORT SCRIPT to access some matrices. So to import BF anims you need a complementary NIF file!!

Create a new, blank blender file. Put the BF file(s) you want to import into "C:/BF Import". I advise you to rename them, so they have a short name (eg. Gelada_Adult_F_GroomOther_GroomHead.bf => GroomOther_GroomHead.bf). Start the Nif Import script. Select the suitable .nif file for the animations. Activate the "Import BF Animations" option in the import tab. The script will import all BF files from "C:/BF Import" into blender and create an action for each.


It tends not to import the global movements for original animals, but when I import BFs I created it works very well. But all the action is there, so if you want to edit an anim, you just have to restore the Bip01 poses.

Fixed :p
Download
Edited by HENDRIX, Apr 19 2014, 08:23 AM.
Online Profile Goto Top
 
samuel
Member Avatar


I not worked for me :/
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

Well, what did you do? :P
Online Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

I just imported the complete Californian sea lion animation set, which took 342 seconds for 259 anims. So it's much slower than the export (exporting these 259 anims took only 14 seconds!), but that's because I had to use pyffi and the original nifscripts, and in general the process of adding keyframes in blender is slower than reading them. But everything seems to work, I didn't find any anim with distortions. :D
Online Profile Goto Top
 
samuel
Member Avatar


put the animations I want to Import in C:/BF import, then start blender, import the nif animal that has animations that I want (in this case his jay) and I get python script error: check console

on the console is seen this



Posted Image
Offline Profile Goto Top
 
Rappy
Member Avatar


I'm not a designer, but I'd like to thank you for all of your work on these export and import projects nonetheless. I'm sure they'll be a great help to the ZT2 designer community from now on!
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

Hmm, strange. I never got that bug. Please redownload, I developed a better method for accessing the skeleton. ;)
Online Profile Goto Top
 
samuel
Member Avatar


worked perfect! :D there are only small deformations in some animations

doubt, I have to apply bake constraint after modifying the imported animation? or is not necessary?
Edited by samuel, Apr 19 2014, 04:29 PM.
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

no, not needed as it is already baked. It has no constraints, so no need to bake them ;)
Online Profile Goto Top
 
davidy12
No Avatar


Everytime I try to import an animation I get an error. HENDRIX, is there something I'm doing wrong? Here's my settings for import. Please help, I want to see animations.
Posted Image
Offline Profile Goto Top
 
samuel
Member Avatar


you should say what is your error and a picture of it
Offline Profile Goto Top
 
davidy12
No Avatar


It just says "Python script error, check console"
Offline Profile Goto Top
 
samuel
Member Avatar


shows a picture of the console then xD
Offline Profile Goto Top
 
davidy12
No Avatar


Where is the console in blender? *sorry if I sound stupid*
Edited by davidy12, Apr 19 2014, 05:52 PM.
Offline Profile Goto Top
 
HENDRIX
Member Avatar
-retired-

Samuel's the expert :D The black and white text window is the console. ;)

You can disable "import animation" because that only wants to read KF anims and does not work, anyway :p
Online Profile Goto Top
 
2 users reading this topic (2 Guests and 0 Anonymous)
Go to Next Page
« Previous Topic · Individual Projects · Next Topic »
Locked Topic