Total Mayhem 1.37 for all game versions
-
nah, it's Total mayhem, so it's either 2.82, 2.80, or older. If it's even done with Blender at all

-
@DDDX
Hi, I've taken a look at the unit, but I can't offer a solution yet, as I'm testing with my new hardware and a new version of Blender. So, this is just a preliminary review. What have I tried? First, I tried importing and exporting one of my units via Blender. That seems to work. With the unit you mentioned, I get the following error from Blender:Python: Traceback (most recent call last):
File "C:\Users\Anwender\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\supcom-exporter.py", line 1183, in execute
export_scm(self.directory)
File "C:\Users\Anwender\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\supcom-exporter.py", line 1080, in export_scm
mesh.save(outdir + arm_obj.name + '.scm')
File "C:\Users\Anwender\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\supcom-exporter.py", line 470, in save
face = struct.pack('3H', self.faces[f][0], self.faces[f][1], self.faces[f][2])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: ushort format requires 0 <= number <= 65535I haven't looked into this yet, but maybe someone else can help with it. The reference seems to be in the export Python file.
-
Asked ChatGPT about it:
One of the vertex_index_x values is greater than 65535
Why this happens:
The exporter assumes the mesh has fewer than 65536 vertices (so all vertex indices fit in a 16-bit unsigned integer).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login