Tutorial - Create Custom Objects
Re: Tutorial - Create Custom Objects
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
http://mxsimulator.com/models/jm_export.py
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
Re: Tutorial - Create Custom Objects
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
-
- Posts: 1997
- Joined: Tue Nov 03, 2009 1:06 pm
Re: Tutorial - Create Custom Objects
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...
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
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
Try
[1350.000000 20.000000 50.000000] 0.000000 @mytrack/tunnel.jm @mytrack/tunnel.png null
[1350.000000 20.000000 50.000000] 0.000000 @mytrack/tunnel.jm @mytrack/tunnel.png null
Re: Tutorial - Create Custom Objects
ok now the icon in the game is there but no object
Re: Tutorial - Create Custom Objects
sorry for double posting, but also when i try to duplicate the icon my game shuts off
-
- Posts: 1095
- Joined: Sat Mar 22, 2008 2:05 am
- Team: Privateer
- Location: Trafford Alabama
Re: Tutorial - Create Custom Objects
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.
Oh and make sure Caps lock is off when pressing d. I think I remember this making someones game crash before.
R.I.P. Jacob Nash #241
PSN-chrismri463
xfire--cmarona463
PSN-chrismri463
xfire--cmarona463
Re: Tutorial - Create Custom Objects
i tryed to re export the .jm file and it said python script error please check console
Re: Tutorial - Create Custom Objects
can you take a banner and make it lay flat instead of up and down using rotation
Re: Tutorial - Create Custom Objects
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...
-
- Posts: 1095
- Joined: Sat Mar 22, 2008 2:05 am
- Team: Privateer
- Location: Trafford Alabama
Re: Tutorial - Create Custom Objects
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
R.I.P. Jacob Nash #241
PSN-chrismri463
xfire--cmarona463
PSN-chrismri463
xfire--cmarona463
Re: Tutorial - Create Custom Objects
it will not let me exicute the script
-
- Posts: 1360
- Joined: Sat Feb 14, 2009 12:56 am
Re: Tutorial - Create Custom Objects
Will these steps work with making a dirt bike model?