Problems of Exporting Cars to DFF
johnnie-br opened this issue · 3 comments
johnnie-br commented
When I export a DFF I got an error:
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\gui\dff_ot.py", line 134, in execute
dff_exporter.export_dff(
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_exporter.py", line 995, in export_dff
dff_exporter.export_dff(options['file_name'])
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_exporter.py", line 982, in export_dff
self.export_objects(objects)
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_exporter.py", line 922, in export_objects
mem = export_col({
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 240, in export_col
return col_exporter.export_col(options['file_name'])
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 192, in export_col
self._process_obj(obj)
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 162, in _process_obj
self._process_mesh(obj,
File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 55, in _process_mesh
surface[0] = mat.dff.col_mat_index
AttributeError: 'NoneType' object has no attribute 'dff'
Apparently all options are OK, so I don't know what it could be
Parik27 commented
There seems to be a material in one of the collision models that was not created with DragonFF installed.
Deleted user commented
There seems to be a material in one of the collision models that was not created with DragonFF installed.
Hmm, thanks for the help, but, now I got this:
Here is the log:
gta_sa.exe_2024-01-19_00-39-41.log
Deleted user commented
Could the problem be resolved in the same way as indicated in the message on the screen? but with dragonff, or is there another way?
Edit: Doing what was indicated there didn't help much, importing and exporting