XSI ZETools

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
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

It probably still has some smaller issues but yes, it does.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: XSI ZETools

Post by Anakin »

Wow I was one week in holidays and after that I had two just weeks and now I see that. Great. Thank you so much that makes new restarting a lot of old projects. Do the fix points and Collisons work as well?
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: XSI ZETools

Post by MileHighGuy »

After using it with Softimage Mod Tool. I downloaded the student edition Softimage 2015 and installed the plugin. When I tried to import I got this error:
Import aborted. Aborted. No Selection. Select the root of the hierarchy...
Then when I selected scene_root before I imported it, the progress bars went very fast and no model showed up on the screen or explorer.

I saw that it worked with 2014, is 2015 really that different?
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: XSI ZETools

Post by Anakin »

I just tested your updated ZETool and i found an error:
Hidden/Spoiler:
Traceback (most recent call last):
File "<Script Block >", line 91, in importbutton_OnClicked
File "C:\Users\Carsten\Autodesk\Softimage_Mod_Tool_7.5\Addons\xsizetools-1.3.0014\Application\Core\andezetimport.py", line 842, in import_
self.do_import()
File "C:\Users\Carsten\Autodesk\Softimage_Mod_Tool_7.5\Addons\xsizetools-1.3.0014\Application\Core\andezetimport.py", line 895, in do_import
self.chain = builder.build()
File "C:\Users\Carsten\Autodesk\Softimage_Mod_Tool_7.5\Addons\xsizetools-1.3.0014\Application\Core\andezetimport.py", line 625, in build
item = builder.build()
File "C:\Users\Carsten\Autodesk\Softimage_Mod_Tool_7.5\Addons\xsizetools-1.3.0014\Application\Core\andezetimport.py", line 186, in build
self.build_c_prim()
File "C:\Users\Carsten\Autodesk\Softimage_Mod_Tool_7.5\Addons\xsizetools-1.3.0014\Application\Core\andezetimport.py", line 262, in build_c_prim
self.si_model = self.xsi.CreatePrim(self.cloth_prim_types[my_collision.primitive_type],
KeyError: 2
I got it while importing the stock Boba.

But i realy need to tell you that you made a very great progress on this. The triangulate function is very good and the weld boundary edges function works much better now. I found only one model where the triangulate does not a good job. For the stock ep3 heavy trooper. The shape looks great, but the helmet needs some different triangulation for the textures.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

@MileHighGuy: Do you have "Apply animation to selected hierarchy" checked?

@Anakin: I will look into it when I have the time.

Thanks for the reports.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: XSI ZETools

Post by MileHighGuy »

I feel dumb. Yeah it was that.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

Update 1.3.4

Cube cloth collision primitives seem to be quite rare, first time I encountered one.
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: XSI ZETools

Post by JazzMaster »

Hi Ande, I've come upon some trouble with cloth and the 1.3.4 update of ZEtools. I've never tried exporting cloth using ZEtools so bare with me if it sounds like I have no idea what i'm doing..

I'm trying to import an already kitbashed model (bf2 ep6 luke skywalker model with tantiveIVtrooper helmet, made by tirpider) with the ep3 clone sniper cloth I hexed on using mshedit. I wanted to scale this cloth down a little since it is a bit too big for the model i'm using. (There is a gap between the fixed points of the cloth and the character mesh) The model imports fine without the cloth, but with the cloth hexed on I get this error:

Code: Select all

#     enveloper.envelope()
#   File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-master\Application\Core\andezetimport.py", line 650, in envelope
#     weights = self.make_cloth_weights(model)
#   File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-master\Application\Core\andezetimport.py", line 676, in make_cloth_weights
#     deformer_index = model.deformers.index(vert.deformer)
# ValueError: list.index(x): x not in list
nothing is enveloped anymore except for the cloth I think.


I imported the actual rep_inf_ep3sniper.msh in a new scene to try and edit the cloth on this model, export and hex it onto the other as a work around.
But if i just simply import the model into XSI and then export it, the kama object is read as part of the mesh instead of cloth. I tried setting up the cloth by selecting the kama object and selecting create cloth , added the fixed points and texture name (although clicking "add collision" and/or "pick collision" never started a pick session) hid everything under boneroot and exported the model, but it still wont read the object as cloth. Am I missing a step somewhere?
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

You don't have the latest version installed.
Make sure to follow the installation instructions.
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: XSI ZETools

Post by JazzMaster »

Ahh i had an old version in another directory. That's fixed now. I was able to successfully import the model without any errors. I scaled the cloth (by selecting all points and scaling that way), then exported, but during export it stops and i get this error.
Hidden/Spoiler:
[code]Traceback (most recent call last):
File "<Script Block >", line 35, in exportbutton_OnClicked
File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-1.3.0015\Application\Core\andezetexport.py", line 780, in export
self.do_export()
File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-1.3.0015\Application\Core\andezetexport.py", line 814, in do_export
self.msh.models.add(conv.convert())
File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-1.3.0015\Application\Core\andezetexport.py", line 561, in convert
self.msh2_model.segments = self.get_cloth()
File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-1.3.0015\Application\Core\andezetexport.py", line 537, in get_cloth
clothgeo.collisions = self.get_cloth_collisions(clothgeo)
File "C:\Users\Joe-MaMa\Softimage\Softimage_7.5\Addons\xsizetools-1.3.0015\Application\Core\andezetexport.py", line 525, in get_cloth_collisions
collision.parent = self.export.xsi.Dictionary.GetObject(collision_name, False).Parent.Name.encode(STR_CODEC)
AttributeError: 'NoneType' object has no attribute 'Parent'[/code]
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

ZETools can't find one of the cloth collisions. From your post I gather you didn't change anything else except scaling?
If that's the case then the hex edited cloth might still have collisions that don't exist in the new model (you can check that by selecting the cloth object, ZETools>Cloth, then search for the objects in the collision box via CTRL+F).
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: XSI ZETools

Post by JazzMaster »

Yeah it couldn't find them because i forgot to hex the cloth collisions on to the new model. I hexed over the collisions from the ep3 clone sniper (made sure they were under the same nodes) and munged and tested the model out in game to make sure it worked and it did with no problems. I imported it into XSI, scaled the cloth object, hid bone_root and everything under it then exported and it worked fine this time. I checked the model in 3d object viewer to check if the cloth was hidden and it was. But when I tried munging the model PC_ModelMunge crashed. I tried simply importing the model, hiding bone_root, then exporting and got the same result during munge.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

Can you send me the .msh?
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: XSI ZETools

Post by JazzMaster »

You have been messaged, good sir
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

Update 1.3.5

I can't actually test if the new result crashes ModelMunge or not until ~Monday but I've found some bugs.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: XSI ZETools

Post by Marth8880 »

This is kinda random, but it'd be nice if the various components in the Material Manager - especially the materials list box - were anchored to the appropriate sides of the ppg. :)
Hidden/Spoiler:
Image
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: XSI ZETools

Post by ANDEWEGET »

Anchoring doesn't exist in XSI's UI toolkit. It's pretty much as good as it will ever get in terms of scaling to other window sizes horizontally and it can't scale at all vertically. I might be able to decrease the size of the gap between the buttons and make the list box fill the same width as the name box above.
Vertically I can only hard-code a larger box.
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: XSI ZETools

Post by JazzMaster »

ANDEWEGET wrote: I can't actually test if the new result crashes ModelMunge or not until ~Monday but I've found some bugs.
It doesnt crash modelmunge anymore! but now it looks like this, with or without scaling the cloth..

Image
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: XSI ZETools

Post by Anakin »

the facehas problems as well. It looks like an envelope error. check, if you enveloped everything right. You can select the bones in XSI and rotate them to try if everything is working, or you import an animationa and let it run.
JazzMaster
Master Sergeant
Master Sergeant
Posts: 166
Joined: Sun Mar 31, 2013 2:56 pm
Projects :: Cato Neimoidia- Invasion
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

Re: XSI ZETools

Post by JazzMaster »

I never touched the envelope for this model. It worked fine ingame before I imported into XSI and exported
Post Reply