Importing Animations to Blender.

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
euden
Recruit Womprat Killer
Posts: 6
Joined: Mon Dec 21, 2015 7:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront
xbox live or psn: No gamertag set

Importing Animations to Blender.

Post by euden »

I was wondering if it's possible to import animations into blender. I.E: get a fully animated character model into blender that can be exported out to FBX to be used in other applications. I'm absolutely terrible at animation so why make my own when there's an entire games worth!?

Any help would be most appreciated!
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Importing Animations to Blender.

Post by Marth8880 »

Yes, the FBX format supports animations, and Blender's FBX plugin should support them as well.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Importing Animations to Blender.

Post by Teancum »

I think he means importing SWBF2 animations, but maybe I'm reading that wrong.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Importing Animations to Blender.

Post by Marth8880 »

Basically his pipeline should look something like this:

1. In XSI, import MSH animations into XSI using XSI ZETools
2. In XSI, export animations as FBX file
3. In Blender, import FBX file with animations
4. [do stuff with the animations in Blender]
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Importing Animations to Blender.

Post by Teancum »

Oh right, I forgot we had the original animations in the tools. Here I was thinking about importing zaabins.
euden
Recruit Womprat Killer
Posts: 6
Joined: Mon Dec 21, 2015 7:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront
xbox live or psn: No gamertag set

Re: Importing Animations to Blender.

Post by euden »

I'm having trouble using XSI, in particular I get the following error when trying to import any .msh file:

Code: Select all

Last 15 log lines:


	INFO (881, do_import): ==========================================
	INFO (882, do_import): Starting import at 2017-04-24 22:11:42.039000.
	INFO (883, do_import): .msh file path: C:\BF2_ModTools\assets\Animations\SoldierAnimationBank\bdroid\bdroid_rifle_stand_walkforward.msh
	INFO (901, do_import): Starting unpack.
	INFO (501, unpack): Sizes: 52 == 52
	INFO (501, unpack): Sizes: 28 == 28
	INFO (33, __exit__): Finished unpack in 0 s 7000 ms.
	INFO (919, do_import): Ignore Geo is unchecked, building with geo.
	INFO (46, build): Building 1 materials.
	INFO (54, build): Building Material _1Shirt0.
	INFO (33, __exit__): Built chain in 0 s 19000 ms.


Traceback:


	Traceback (most recent call last):
	  File "<Script Block >", line 84, in importbutton_OnClicked
	  File "c:\users\beuden\Softimage\XSI_5.11_Foundation\Addons\XSIZETools\Application\Core\zetimport.py", line 873, in import_
	    self.do_import()
	  File "c:\users\beuden\Softimage\XSI_5.11_Foundation\Addons\XSIZETools\Application\Core\zetimport.py", line 921, in do_import
	    materials = matbuilder.build()
	  File "c:\users\beuden\Softimage\XSI_5.11_Foundation\Addons\XSIZETools\Application\Core\zetimport.py", line 58, in build
	    col = shader.Parameters('diffuse').Value
	  File "C:\Python26\lib\site-packages\win32com\client\__init__.py", line 465, in __getattr__
	    raise AttributeError("'%s' object has no attribute '%s'" % (repr(self), attr))
	AttributeError: '<win32com.gen_py.Softimage|XSI Object Model Library v1.5.Shader instance at 0x399511384>' object has no attribute 'Parameters'
	
Any help would be great
Post Reply