SWBFGamers

Modding for the Original SWBF1 and SWBF2 => 3D-Modeling, Animation and Texturing => Topic started by: Giftheck on April 29, 2015, 03:54:58 AM

Title: [solved] Problem exporting unit to .MSH
Post by: Giftheck on April 29, 2015, 03:54:58 AM
I'm trying to export a player model and I've followed the old tutorial. When I try to export the export fails and when I export the script, here is what I get:

# WARNING : DirectX 10 support is disabled: No compatible adapter found
# INFO : XNA.xsitemplate is up-to-date
# INFO : 4034 - Loaded scene was created with build number: 7.5.2009.0409 - compatibility version: 1073742125
# WARNING : 3033 - Unable to resolve path: Pictures\rep_inf_trooper.tga
Application.OpenScene("D:\\Softimage\\Softimage_Mod_Tool_7.5\\Addons\\ModTool_Database\\Scenes\\TFURoyalGuardSWBF.exp", "", "")
Application.SelectObj("GroundDummy", "BRANCH", "")
Application.MSHExport()
# ERROR : Traceback (most recent call last):
#   File "<Script Block >", line 35, in exportbutton_OnClicked
#     export.export()
#   File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 749, in export
#     self.do_export()
#   File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 783, in do_export
#     self.msh.models.add(conv.convert())
#   File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 526, in convert
#     if 'geo' in self.msh2_model.model_type:
# TypeError: argument of type 'NoneType' is not iterable
#  - [line 34 in C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\\Application\Logic\exporter.py]
# ERROR : Property Page Script Logic Error (Python ActiveX Scripting Engine)
# ERROR :    [32]     settings = andezetcore.load_settings('export', PPG.Inspected(0))
# ERROR :    [33]     export = andezetexport.Export(xsi, settings)
# ERROR :   >[34]     try:
# ERROR :    [35]         export.export()
# ERROR :    [36]     except SystemExit:
# ERROR :    [37]         return
# ERROR :    Traceback (most recent call last):
#   File "<Script Block >", line 35, in exportbutton_OnClicked
#     export.export()
#   File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 749, in export
#     self.do_export()
#   File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 783, in do_export
#     self.msh.models.add(conv.convert())
#   File "C:\Users\Gareth\Autodesk\Softimage_Mod_Tool_7.5\xsizetools-master\Application\Core\andezetexport.py", line 526, in convert
#     if 'geo' in self.msh2_model.model_type:
# TypeError: argument of type 'NoneType' is not iterable
#
Application.Copy("")


EDIT: Solved: I had the ZETools in the wrong place and I was not selecting "Dummyroot" for export.
EhPortal 1.34 © 2024, WebDev