Closed kartikey0303 closed 7 years ago
I get an error when I try to export via the + button.
Traceback (most recent call last):
File "/home/flo/.config/blender/2.77/scripts/addons/io_export_md5.py", line 1242, in execute
exportModuleForTerasology(dirpath, fileName, self.report)
File "/home/flo/.config/blender/2.77/scripts/addons/io_export_md5.py", line 1158, in exportModuleForTerasology
with open(os.path.join(parentDirectory, fileName),'w') as outFile:
FileNotFoundError: [Errno 2] No such file or directory: '/home/flo/terasology/wildAnimals/modules/MyTestModule/module.txt'
I entered "MyTestModule" as directory name and "/home/flo/terasology/wildAnimals/modules" as parent directory path. MyTestModule was of course a directory that did not exist previously.
I tested the jar ingame, it appears in the module list.
Howeever the animationPool fields are empty
Also I noticed that the module is not listed as the exported jar file name but as the model file name. Which is breaks with the convention that modules have the same name like the jar.
I was successfully able to export the skeleton as module and activate it ingame. I was even able to spawn the skeleton, but the texture was wrong.
I think the issue is that "diffuse"
was set to "skeleton"
in the material but the texture in the folder was called skeletonTexture.png
.
Also the module name was different from it's id which made it hard to find it. The id should be the same as it's name.
The script exports models and animations from blender.