WOOT! I SOLVED THE PROBLEM!!!!
the problem here is NOT regarding the .xmesh or .obj or .whatever.
it is the problem of wings3d.
look:
offcenter.png
as you can see from this image, the cockpit is off center.
all you have to do is: click on tools > center > all
to centralize the image on ALL axes.
now, the cockpit is facing the wrong direction.
to set it to face the correct direction, select the entire cockpit and press rotate.
then, rotate the cockpit to face the z-axis. make sure the angle is at 0.00 before u press LMB to set it right.
next.
in game, you cant see the cockpit clearly. it has missing portions all over the place. try inserting the cockpit into the game without this step and u would most probably get what i mean.
ok... in order for you to see ur cockpit... there's an easy method.
DO NOT MOVE YOUR COCKPIT AROUND.
EDIT: you can move ur cockpit. but make sure that the axes converge inside the cockpit.
instead, stretch ur cockpit on the width and length until you see the entire framework in the game.
your cockpit is now visible.
oh.. and dont forget to change the 1st line of ur light_cockpit.cpt from:
Code: Select all
<Cockpit mesh="light_cockpit.bfxm" r=".5" g=".5" b="1">
to
Code: Select all
<Cockpit mesh="name-of-ur-cockpit.bfxm" r=".5" g=".5" b="1">
-------------------
here are the files (.obj, .mtl, .wings and the diffuse.png) for anyone who wants them - compile them urself!
Cockpit II.zip
-------------------
here are the instructions on how to compile:
http://vegastrike.sourceforge.net/wiki/ ... at_to_BFXM
for obj to bfxm: whatever.obj whatever.bfxm obc
for bfxm to xmesh: whatever.bfxm whatever.xmesh bxc
EDIT: about the python thingy... i tried it out with python 2.5 and it worked!
i re-PATHed everything and the ui popped up.
thx for everything
You do not have the required permissions to view the files attached to this post.