Page 1 of 1

[?] Export fail

Posted: 2010-01-17 15:27
by Hauteclocque
Once again, I have issues exporting a nade for learning.
Well, I have set up the hierarchy :
Image
And then when I import the nade in 3DSMAX with the PoeTools, here is what I get :
Image

The pivots aren't good at all, and one part of the detonator is missing, and as you can see, some parts have been renamed...

I don't know at all what causes this.

Thanks for your help,

Haute. :smile:

Re: [?]Export fail

Posted: 2010-01-17 16:17
by Wilkinson
Never seen this before. Since this is such a simple object, I suggest restarting from scratch. No idea what would be wrong :/

Re: [?]Export fail

Posted: 2010-01-17 16:25
by Amok@ndy
does the nade look alright ingame ? or why did you import it again to 3ds ?
did you know the BFMeshViewer ? maybe check the geometry there

Re: [?]Export fail

Posted: 2010-01-17 16:51
by Hauteclocque
I have not looked the nade in game since the hierarchy is not properly done when I export it (and the .con file doesn't look as it should do, there are simple objects las if some parts weren't attached to the dummies)
I have imported it again in 3DSMAX to check if the export has been correctly done, I usually do this.

Thanks for your support guys. :-)

Re: [?]Export fail

Posted: 2010-01-23 14:26
by Hauteclocque
Pff, part 1, 2 and 3 were not attached to the mesh...
Plz, don't hurt me... :mrgreen:

Re: [?]Export fail

Posted: 2010-01-23 15:20
by Z-trooper
Haven't read this in depth but by looking at the hierarchy you posted you need to have 1, 2 and 3 as children to frhgr_smoke_fumf1__GenericFireArm, as it is now they are all under the same node.

So:

root
-geom0
--lod0
---genericfirearm
----1
----2
----3

EDIT:

looking at the second image where you re-import it into max you seem to have some pivot/axis issues.

You need to go through each object and reset transform and maybe xform. You'll need to detach the objects from the hierarchy so that you don't mess up the children's transforms and xforms while doing so.

Re: [?]Export fail

Posted: 2010-01-23 16:40
by Hauteclocque
Thank you very much Z-Trooper, I finally succeeded in exporting this nade.

I got this in the editor (after having turned the nade by 90degrees because of the pivots as you have pointed it) :
Image
Image
The animation works pretty fine, since I changed a bit the grenade position comparated to the standard smoke grenade to fit it (the finger goes into the ring)
But as you can see, there is no texture applied on the model, because I messed up the texture file directory (I checked it with ShaderWrapper, there was a "/weapon" missing between object/ and handheld/... :o ops :)
Then I reexported it with the correct directory, no problems until I opened the bf2editor, I can't find the nades within the weapons...

And I really don't know why !

Re: [?]Export fail

Posted: 2010-01-23 17:11
by Hauteclocque
Well, dunno what happened before but now it works, thank you again Z, you helped me a lot. ;)
Image
Image

Re: [?]Export fail

Posted: 2010-01-23 17:37
by Z-trooper
no problemo :)

Always nice to see another one getting an asset ingame :)