C3 Operator for blender

22
VansArt wrote: Mon Jan 03, 2022 6:58 pm I tried to open the file but it only shows this error can someone help me?
Alright. Conquer files have several types. The plugin supports three which are C3 models, C3 animations and Textures.
C3 Models consists of the mesh and skeleton, C3 animations contains the movements and Textures are just images although conquer engine want them in .dds format.

From the image you uploaded you tried to import a texture. The process goes like this:
1- Import a C3 model by choosing import C3 model from the menu. You should see a 3d model all in white now.
2- Click on the model you see. You may see the "circumference" of the model in orange, click it to become kinda yellow.
3- Choose Import Texture from the C3 Operator menu and select your texture. To see the material change to Viewport shading from the upper right corner of the viewport.

As written in the README you can test with the reference files.

C3 Operator for blender

25
Hi Tachyon I am getting an error when saving the model. I have successfully imported an existing c3 from the conquer folder. I have added the dds as the image in the material section to the model. I also have the image on the UV editor when i go to save the c3 without any edits i get the below.

Python: Traceback (most recent call last):
File "D:\Blender\3.2\scripts\addons\C3OP_Model_Exporter_Module.py", line 222, in execute
C3_Operator_Model_Exporter.exportC3UsingRef(C3_Operator_Model_Exporter.output_path, C3_Operator_Model_Importer.c3_path)
File "D:\Blender\3.2\scripts\addons\C3OP_Model_Exporter_Module.py", line 83, in exportC3UsingRef
Unknown5_array.append(file.readFloat())
File "D:\Blender\3.2\scripts\addons\C3OP_Helping_File_Manager_Module.py", line 40, in readFloat
f = struct.unpack('<f', self.data[pointer:pointer+4])[0]
struct.error: unpack requires a buffer of 4 bytes

Would appreciate any support on exporting. I have read your readme and it refers to splitting the edges of the model where you would have your seams. This is the only thing i havn't done as i didnt edit the original model.

Appreciate any help