MSH not exporting properly?

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
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

MSH not exporting properly?

Post by modmaster13 »

Hey guys, so I'm looking to get the Phase 1 Clone jetpack onto a regular Phase 2 Clone Trooper, I got the addon msh onto the rep_inf_ep3trooper.msh like so:
Hidden/Spoiler:
Image
However, whenever I try exporting the model, it only comes out to 19 kb in size, and from the looks of it, it only recognizes the addon msh (jetpack). Also, when I open the model in Hex Editor, the model's code is very short.
Hidden/Spoiler:
Image
What should I do from here?
Calrissian97
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Sun May 07, 2017 11:31 pm
Projects :: ANF - ISM Skin Changer - BF1 Ports
Games I'm Playing :: All teh BFs
Location: Kentucky, USA

Re: MSH not exporting properly?

Post by Calrissian97 »

When you export, you need to select dummyroot and all of its children. ZETools only exports what's selected. Also, you'd have to envelope the jetpack to bone_ribcage if you want it to work ingame. There a few tutorials for this and more scattered about.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: MSH not exporting properly?

Post by Teancum »

Easiest way to select everything you need is to middle click your root object
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: MSH not exporting properly?

Post by Marth8880 »

Calrissian97 wrote:When you export, you need to select dummyroot and all of its children. ZETools only exports what's selected.
That's actually not true with the XSI ZETools. I've always selected only the root object when exporting.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: MSH not exporting properly?

Post by modmaster13 »

So here's what I've done so far:

With the jetpack selected I went to Animate>Deform>Envelope>Set Envelope
Hidden/Spoiler:
Image
I hit yes on this message box:
Hidden/Spoiler:
Image
I go to hit right click on bone_ribcage:
Hidden/Spoiler:
Image
Set the number of skeleton objects to 1:
Hidden/Spoiler:
Image
I middle click on dummyroot, and export the msh:
Hidden/Spoiler:
Image
I go to look at my msh in the MSH viewer, and this shows up:
Hidden/Spoiler:
Image
The trooper model gets exported but the jetpack doesn't, I followed AceMastermind's instructions on the second post of this thread: http://www.gametoast.com/viewtopic.php? ... ge#p515806



Did I forget something? What else do I need to do?
Calrissian97
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Sun May 07, 2017 11:31 pm
Projects :: ANF - ISM Skin Changer - BF1 Ports
Games I'm Playing :: All teh BFs
Location: Kentucky, USA

Re: MSH not exporting properly?

Post by Calrissian97 »

Make sure the jetpack is selected before you get into the selection process for envelope, and left click ribcage before right clicking to end the selection process. Also, make sure the jetpack model is frozen (transforms) beforehand. Also, make sure it's child only to boneroot or dummyroot, and not to a bone. I've encountered bugs when you freeze the transforms and make it a child of the ribcage.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: MSH not exporting properly?

Post by modmaster13 »

Calrissian97 wrote:Make sure the jetpack is selected before you get into the selection process for envelope, and left click ribcage before right clicking to end the selection process. Also, make sure the jetpack model is frozen (transforms) beforehand. Also, make sure it's child only to boneroot or dummyroot, and not to a bone. I've encountered bugs when you freeze the transforms and make it a child of the ribcage.
So the only things the polymesh should be child to are boneroot or dummy root? I pulled up the model and I found the "Polygon Mesh" section under rep_inf_ep3trooper, sv_clonetrooper, hp_weapons
Hidden/Spoiler:
Image
Calrissian97
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Sun May 07, 2017 11:31 pm
Projects :: ANF - ISM Skin Changer - BF1 Ports
Games I'm Playing :: All teh BFs
Location: Kentucky, USA

Re: MSH not exporting properly?

Post by Calrissian97 »

It's the only thing the jetpack + any other (enveloped) addons should be child to, yes.
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: MSH not exporting properly?

Post by modmaster13 »

So I did all the steps you suggested previously, I removed "Polygon Mesh" from all sections except for bone root, and this is what I get in the MSH Viewer:
Hidden/Spoiler:
Image
and this is what I get in game:
Hidden/Spoiler:
Image
When I play as the trooper ingame, the game doesn't crash, but the screen goes black constantly.
Calrissian97
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Sun May 07, 2017 11:31 pm
Projects :: ANF - ISM Skin Changer - BF1 Ports
Games I'm Playing :: All teh BFs
Location: Kentucky, USA

Re: MSH not exporting properly?

Post by Calrissian97 »

Very Strange. If you're up to it, what you can do is simply merge the jetpack and player model into a single mesh, just be sure to merge all it's clusters, materials, and it's animation weights (envelope). That's the best way IMO.
Post Reply