Jump to content

Import failure on particular Fallout 3 mesh


wetblanket

Recommended Posts

Although most definitely a Blender beginner, I have been successfully importing, editing and exporting Oblivion/Fallout 3 meshes for a while now. Until today... The mesh 'Fallout3\Data\meshes\dungeons\metro\tunnel\mettunytrack01.nif' fails to import correctly with the following console output:

 

 

 

Blender NIF Scripts 2.5.8 (running on Blender 249, PyFFI 2.1.11)

pyffi.toaster:INFO:--- fix_mergeskeletonroots ---

pyffi.toaster:INFO:--- fix_sendgeometriestobindposition ---

pyffi.toaster:INFO:--- fix_senddetachedgeometriestonodeposition ---

pyffi.toaster:INFO:--- fix_sendbonestobindposition ---

pyffi.toaster:INFO:--- fix_scale ---

pyffi.toaster:INFO: scaling by factor 0.100000

pyffi.toaster:INFO: ~~~ BSFadeNode [MetTunYTrack01] ~~~

pyffi.toaster:INFO: ~~~ BSXFlags [bSX] ~~~

pyffi.toaster:INFO: ~~~ NiStringExtraData [uPB] ~~~

pyffi.toaster:INFO: ~~~ bhkCollisionObject [] ~~~

pyffi.toaster:INFO: ~~~ bhkRigidBody [] ~~~

pyffi.toaster:INFO: ~~~ bhkMoppBvTreeShape [] ~~~

pyffi.toaster:INFO: ~~~ bhkPackedNiTriStripsShape [] ~~~

pyffi.toaster:INFO: ~~~ hkPackedNiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:0] ~~~

pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~

pyffi.toaster:INFO: ~~~ NiMaterialProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:1] ~~~

pyffi.toaster:INFO: ~~~ NiMaterialProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:2] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:3] ~~~

pyffi.toaster:INFO: ~~~ NiMaterialProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:4] ~~~

pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~

pyffi.toaster:INFO: ~~~ NiMaterialProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:5] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStrips [MetTunYTrack01:6] ~~~

pyffi.toaster:INFO: ~~~ BSShaderPPLightingProperty [] ~~~

pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~

pyffi.toaster:INFO: ~~~ NiTriStripsData [] ~~~

Traceback (most recent call last):

File "h:\Blender\.blender\scripts\bpymodules\nif_common.py", line 1229, in gui

_button_event

self.gui_exit()

File "h:\Blender\.blender\scripts\bpymodules\nif_common.py", line 1589, in gui

_exit

self.callback(**self.config)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 3769, in config_

callback

importer = NifImport(**config)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 274, in __init__

 

self.import_root(root)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 360, in import_r

oot

b_obj = self.import_branch(root_block)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 568, in import_b

ranch

collision_objs = self.import_bhk_shape(bhk_body)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 3044, in import_

bhk_shape

collision_objs = self.import_bhk_shape(bhkshape.shape)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 3297, in import_

bhk_shape

return self.import_bhk_shape(bhkshape.shape)

File "h:\Blender\.blender\scripts\import\import_nif.py", line 3243, in import_

bhk_shape

ob.addProperty("HavokMaterial", self.HAVOK_MATERIAL[subshape.material], "STR

ING")

IndexError: list index out of range

 

 

 

I still get the objects but they are missing collision and texture data.

 

Any ideas?

 

I'm using:

 

Blender 2.49b

Python 2.6.6

PyFFI 2.1.11

Blender Nif Scripts 2.5.8

Link to comment
Share on other sites

  • 2 weeks later...

I've hit upon a solution of sorts. In the 'hkPackedNiTriStripsData' block, two of the SubShapes had numbers (64 and 69) assigned as materials. Changing these both to 'HAV_MAT_METAL' in NifSkope allows a successful Blender import.

 

Whether this special assignment is there for a good reason I am too ignorant to say but this is preferable to rebuilding the collision!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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