Page 1 of 1

What next?

Posted: Sun Jun 07, 2009 6:32 pm
by Rustybolts
http://www.mediafire.com/?tnmzw3tdmyu (image)
http://www.mediafire.com/?dtuzjdktmjj (wings3d model)
I have created this model in wings3d, how do i go about converting to dat for oolite using xp do i need to install python? (now installed)
TY

Posted: Sun Jun 07, 2009 7:00 pm
by Rustybolts
So far i've installed python and downloaded the script for converting to dat located on a tutorial for making a flying brick. Still unsure what to do with script. I am placing my wings creation onto script which is now producing a dat file 0k in size.

Posted: Sun Jun 07, 2009 8:28 pm
by Thargoid
What OS are you using?

Can't comment on the others, but if it's Windows then open a DOS prompt (not a Python prompt), move to the directory where everything is and then type

obj2dat.py <myshipfile>.obj

replacing <myshipfile> with your filename. That should generate your dat file. Also remember that you need both the .obj and .mtl file. It's always useful to keep the texture file in the same place too for completeness.

PS also make sure you're using Python 2.x, not 3.x or else the scripts won't work properly.

Posted: Sun Jun 07, 2009 9:04 pm
by Rustybolts
Thanks for reply im using xp i will try your suggestions tomorrow.

Posted: Mon Jun 08, 2009 3:51 pm
by Rustybolts
Thargoid wrote:
What OS are you using?

Can't comment on the others, but if it's Windows then open a DOS prompt (not a Python prompt), move to the directory where everything is and then type

obj2dat.py <myshipfile>.obj

replacing <myshipfile> with your filename. That should generate your dat file. Also remember that you need both the .obj and .mtl file. It's always useful to keep the texture file in the same place too for completeness.

PS also make sure you're using Python 2.x, not 3.x or else the scripts won't work properly.
Thanks a lot worked first time so i have the dat file, now all i need to do is work out all this plist stuff :? wish me luck!

Update! ive edited someone elses shipdata.plist and have now seen my ship flying sideways and texture less. I have since found out my texture had to be in png format and not bmp, so i have edited the model dat file in notepad so it tells it to look for my texture in png format. I have saved my texture as a png. Hope this works. As for the model flying sideways do i just spin model around in wings?

Posted: Tue Jun 09, 2009 2:03 pm
by Capt. Slog
It should fly along the z axis.

Posted: Tue Jun 09, 2009 7:58 pm
by Rustybolts
Thanks for all your help
I have now completed my addon for my St model located here if your interested.
http://www.mediafire.com/?zymmal2bynd

Image
Image
Unsure of the exhaust position yet haven't seen it flying yet.