Page 1 of 1

Helmet prop causes ZeroEditor to crash [Solved]

Posted: Tue Dec 18, 2018 1:07 am
by SkinnyODST
I imported a clone msh into Softimage and deleted the body, leaving just the helmet. I then highlighted the helmet and exported as msh, it looks fine in the msh viewer. I then moved the msh file and textures and made an odf with this in it:
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "prop"
GeometryName = "rep_inf_clone_trooper_helmet.msh"

[Properties]

GeometryName = "rep_inf_clone_trooper_helmet"[/code]
however upon selecting this odf in ZE, it immediately crashes, I'm thinking it may have something to do with the model still having some properties of a character model, but I'm not sure

EDIT: Seems like it also makes modelmunge.exe crash as well

Re: Helmet prop causes ZeroEditor to crash

Posted: Tue Dec 18, 2018 9:27 am
by Teancum
How many polygons is it?

Re: Helmet prop causes ZeroEditor to crash

Posted: Tue Dec 18, 2018 7:54 pm
by SkinnyODST
I'm not sure where to find the number of polys it has but its a working BF2 rigged model so I wouldn't think of the poly count being the cause?

Re: Helmet prop causes ZeroEditor to crash

Posted: Tue Dec 18, 2018 11:26 pm
by Teancum
Nope -- but it's the first thing I thought of. When things are super complex they can crash ZeroEdit. I would double check your ODF file and check the two GeometryName entries. The one in the [GameObjectClass] section should say something like "MyCoolHelmet.msh" while the one in [Properties] should only be "MyCoolHelmet" without .msh at the end.

Re: Helmet prop causes ZeroEditor to crash

Posted: Wed Dec 19, 2018 1:16 am
by SkinnyODST
That's what it is
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "prop"
GeometryName = "rep_inf_clone_trooper_helmet.msh"

[Properties]

GeometryName = "rep_inf_clone_trooper_helmet"[/code]
Do you know if there's anything I have to delete in the model to make it work as a prop? Like something to do with character animations or rigging or something?

EDIT: I fixed it, I had to delete something called EnvelopWeightCls and now it works perfectly