Page 2 of 3

Re: Tutorial - Create Custom Objects

Posted: Tue Jun 22, 2010 5:10 pm
by yzmxer608
Find "Blender\.blender\scripts" and put the jm export script in there, it will show up under the File>Export menu now.

http://mxsimulator.com/models/jm_export.py

Re: Tutorial - Create Custom Objects

Posted: Tue Jun 22, 2010 6:02 pm
by BRYAN17
so i saved the model as a jm file the i took the tga file and opened it in gimp and skined the model then i saved it as a .png and now i added a line with the name of the object and it dosn't show up :?:

Re: Tutorial - Create Custom Objects

Posted: Sat Jun 26, 2010 1:19 pm
by Duckstream
hmm, dont know why, first i tryed to just put it rigth position and run the script, it came facing the wrong way (and it was under surface) so i change the rotation, same thing

then i tryed hitting crtl +a and it was rigth how i wanted in blender, run script, the object came up tiny like a miniture tree, and still facing weird direction...

Re: Tutorial - Create Custom Objects

Posted: Tue Jul 06, 2010 8:06 pm
by BRYAN17
in my track folder i have a .jm file a .tga file and a .png file of my object and it will no show up in the game i tried [1350.000000 20.000000 50.000000] 0.000000 @mytrack/tunnel.jm @mytrack/tunnel.png then i tried [1350.000000 20.000000 50.000000] 0.000000 @mytrack/tunnel.jm @mytrack/tunnel.tga and nothing :?:

Re: Tutorial - Create Custom Objects

Posted: Tue Jul 06, 2010 11:56 pm
by DJ99X
Try

[1350.000000 20.000000 50.000000] 0.000000 @mytrack/tunnel.jm @mytrack/tunnel.png null

Re: Tutorial - Create Custom Objects

Posted: Wed Jul 07, 2010 12:39 am
by BRYAN17
ok now the icon in the game is there but no object

Re: Tutorial - Create Custom Objects

Posted: Wed Jul 07, 2010 12:46 am
by BRYAN17
sorry for double posting, but also when i try to duplicate the icon my game shuts off

Re: Tutorial - Create Custom Objects

Posted: Wed Jul 07, 2010 5:57 am
by dearnhardtfan7
make sure you have @mytrack/tunnel.png[space]null and then the blank line at the end of the file. If the icon is there then either you don't have a space before null or between the .jm and .png segments or your .jm file is named differently from what you put in the statues file. Make sure everything is spelled correctly. Or it could very possibly be that the object center is way above the object. If you used blender, go into object mode and go spacebar>transform>center new. This will put the cursor directly in the center of the object so you will at least be able to see if it is really in the game or not. From there you can either change the object center to get it where you want it or go up on the "y" value in the statues file.



Oh and make sure Caps lock is off when pressing d. I think I remember this making someones game crash before.

Re: Tutorial - Create Custom Objects

Posted: Fri Jul 09, 2010 12:36 pm
by BRYAN17
i tryed to re export the .jm file and it said python script error please check console

Re: Tutorial - Create Custom Objects

Posted: Fri Jul 09, 2010 6:42 pm
by BRYAN17
can you take a banner and make it lay flat instead of up and down using rotation

Re: Tutorial - Create Custom Objects

Posted: Thu Sep 09, 2010 2:55 pm
by BRYAN17
i made a tunnel for a track and its a little small and i went back into blender and made it bigger abd resaved it and it didnt rescale in game...

Re: Tutorial - Create Custom Objects

Posted: Thu Sep 09, 2010 8:39 pm
by dearnhardtfan7
In object mode--------[spacebar>transform>clear/apply>apply scale and rotation] then re-save and re-export the .jm file in place of the old one

Re: Tutorial - Create Custom Objects

Posted: Tue Sep 14, 2010 3:12 pm
by BRYAN17
thanx

Re: Tutorial - Create Custom Objects

Posted: Sun Sep 26, 2010 9:46 pm
by BRYAN17
it will not let me exicute the script

Re: Tutorial - Create Custom Objects

Posted: Sun Oct 10, 2010 11:40 pm
by sk84life933
Will these steps work with making a dirt bike model?