JimFusion Posted June 9, 2020 Share Posted June 9, 2020 (edited) I really wasn't sure if I should have put this in one of the fallout forums, but here it goes. I was recently using the newest commit from github and tried to export a nif file with mopp collision, and it gave me an error. so I tried to look in the code to fix it, and I got a little ways by replacing * with @ at lines 524, 531, and 534 in the (io_scene_nif/modules/nif_export/collision/havok.py). But now I am getting the errors: Traceback (most recent call last): File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\operators\nif_export_op.py", line 159, in execute return nif_export.NifExport(self, context).execute() File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\nif_export.py", line 172, in execute root_block = self.objecthelper.export_root_node(self.root_objects, filebase) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\object\__init__.py", line 112, in export_root_node n_root = self.export_node(b_obj, None) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\object\__init__.py", line 218, in export_node self.export_children(b_obj, node) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\object\__init__.py", line 233, in export_children self.export_node(b_child, n_parent) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\object\__init__.py", line 173, in export_node if self.export_collision(b_obj, n_parent): File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\object\__init__.py", line 254, in export_collision self.bhk_helper.export_collision_helper(b_obj, node) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\collision\havok.py", line 126, in export_collision_helper self.export_collision_packed(b_obj, n_col_body, layer, n_havok_mat) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\modules\nif_export\collision\havok.py", line 539, in export_collision_packed n_col_shape.add_shape(triangles, normals, vertices, layer, havok_mat.material) File "C:\Users\Jim\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_nif\dependencies\pyffi\formats\nif\__init__.py", line 2997, in add_shape self.sub_shapes[num_shapes].material.material = materialAttributeError: 'int' object has no attribute 'material'location: <unknown location>:-1 Weird thing is that it imports just fine, but I am not sure if I should have said this here. Edited June 9, 2020 by JimFusion Link to comment Share on other sites More sharing options...
Thandal Posted June 10, 2020 Share Posted June 10, 2020 @JimFusion; There's a whole 3D Modeling forum. You might get more help if you post your query in that one. :wink: Link to comment Share on other sites More sharing options...
JimFusion Posted June 11, 2020 Author Share Posted June 11, 2020 (edited) Oh sorry, I didn't see that, Thank You. How do I transfer it over? Edited June 11, 2020 by JimFusion Link to comment Share on other sites More sharing options...
Thandal Posted June 15, 2020 Share Posted June 15, 2020 Topic moved at OP's request. Link to comment Share on other sites More sharing options...
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