wetblanket Posted December 6, 2011 Posted December 6, 2011 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: Reveal hidden contents 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.100000pyffi.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_root b_obj = self.import_branch(root_block) File "h:\Blender\.blender\scripts\import\import_nif.py", line 568, in import_branch 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], "STRING")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.6PyFFI 2.1.11 Blender Nif Scripts 2.5.8
wetblanket Posted December 7, 2011 Author Posted December 7, 2011 I obviously did something wrong because the textures are there and most of the collision (still get the error output in the console). I rebuilt the missing collision for the tracks and all is good, at least until the next time.
wetblanket Posted December 18, 2011 Author Posted December 18, 2011 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now