ZETools error during export

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
Spiret
Private
Posts: 41
Joined: Sun Jan 03, 2016 11:44 am

ZETools error during export

Post by Spiret »

Hi! I am trying to add new unit model in game using this tutorial - https://sites.google.com/site/swbf2modt ... tup-in-xsi
After setting envelopes I am trying to export the model, but in the final step "Processing Animation..." ZETools says "Encountered an error while exporting, copy error to clipboard?". Here is the text from clipboard:
Hidden/Spoiler:
Last 15 log lines:


DEBUG (916, get_index): ModelCollection.get_index: bone_r_thigh - 15
DEBUG (916, get_index): ModelCollection.get_index: bone_r_hand - 49
DEBUG (916, get_index): ModelCollection.get_index: bone_r_forearm - 46
DEBUG (916, get_index): ModelCollection.get_index: bone_r_foot - 19
DEBUG (916, get_index): ModelCollection.get_index: bone_r_clavicle - 42
DEBUG (916, get_index): ModelCollection.get_index: bone_r_calf - 16
DEBUG (916, get_index): ModelCollection.get_index: bone_neck - 28
DEBUG (916, get_index): ModelCollection.get_index: bone_l_upperarm - 35
DEBUG (916, get_index): ModelCollection.get_index: bone_l_toe - 12
DEBUG (916, get_index): ModelCollection.get_index: bone_l_thigh - 7
DEBUG (916, get_index): ModelCollection.get_index: bone_l_hand - 39
DEBUG (916, get_index): ModelCollection.get_index: bone_l_forearm - 36
DEBUG (916, get_index): ModelCollection.get_index: bone_l_foot - 11
DEBUG (916, get_index): ModelCollection.get_index: bone_root - 4
DEBUG (916, get_index): ModelCollection.get_index: bone_pelvis - 5


Traceback:


Traceback (most recent call last):
File "<Script Block 2>", line 28, in exportbutton_OnClicked
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Core\zetexport.py", line 899, in export
self.do_export()
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Core\zetexport.py", line 984, in do_export
if not self.write_msh(self.msh.pack()):
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 235, in pack
msh2_data.append(self.models.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 943, in pack
data = [model.pack() for model in self.models]
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 743, in pack
data.append(self.pack_GEOM())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 773, in pack_GEOM
data.append(self.segments.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1087, in pack
data.append(segment.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1174, in pack
data.append(self.faces.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1741, in pack
data.append(face.pack())
File "C:\Users\Spiret\Autodesk\Softimage_2015\Addons\xsizetools-1.3.0029\Application\Modules\msh2.py", line 1554, in pack
index_map[self.vertices[2]])
error: ushort format requires 0 <= number <= USHRT_MAX
I tried to use another model and export works, so problem is in the model, but how I can fix this?
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: ZETools error during export

Post by ANDEWEGET »

It seems like your mesh has more than 65,535 vertices, which isn't supported by the .msh format.
Spiret
Private
Posts: 41
Joined: Sun Jan 03, 2016 11:44 am

Re: ZETools error during export

Post by Spiret »

Thank you! I knew that problem might be in this, polygon reduction fixed this problem. Sorry for the dumb question.
User avatar
giftheck
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2218
Joined: Mon Jan 19, 2009 5:58 pm
Projects :: Star Wars Battlefront Legacy

Re: ZETools error during export

Post by giftheck »

Spiret wrote:Thank you! I knew that problem might be in this, polygon reduction fixed this problem. Sorry for the dumb question.
What did you have that was more than that?
Post Reply