Page 1 of 2

The track I'm working on: Doughnut Land

PostPosted: 22 Jun 2012, 02:41
by Monstertux
Hello everyone!

I am working on my first level, doughnut land. It is a track...with doughnuts...

I was finally figuring out 'dat new fangled blender thingamajig.' I Had a track, had UV Images down, and it looked plain...so I decided to pimp it up. After browsing through the models, I came across a torus shape. It looked interesting and then I decided it looked like a doughnut. Then I had a great idea! To make my track 3d. Then I decided to make Doughnut Land!!!

I like the level so far, but I have a few questions.

•I can export the track to a .bd3 but what do I do after that?
•How do I add item boxes, nitro and zippers?
•Does the STK Browser have a version worker under Blender 2.63a?

Thanks and I have an image of the track.

Offer feedback please!
Image

Re: The track I'm working on: Doughnut Land

PostPosted: 22 Jun 2012, 08:51
by Ludsky
to innovate...
Perhaps make : Donnuts Tower, put candy and pastries and more, put sweet...
Donnuts with differants colors ....

This Manuel >> http://supertuxkart.sourceforge.net/Tra ... 7s_Guide_2

Re: The track I'm working on: Doughnut Land

PostPosted: 22 Jun 2012, 10:05
by ardvark71
Yum! :D

Re: The track I'm working on: Doughnut Land

PostPosted: 22 Jun 2012, 16:50
by Monstertux
Okay, I installed everything put when I expand the supertuxkart tab in the property window, in it, there is a message saying not a stk scene. HelP?

Re: The track I'm working on: Doughnut Land

PostPosted: 22 Jun 2012, 17:00
by Ludsky
Monstertux {l Wrote}:Okay, I installed everything put when I expand the supertuxkart tab in the property window, in it, there is a message saying not a stk scene. HelP?

You have installed this >> B3DExport.py, stk_kart.py, stk_panel.py, stk_track.py, stk_material_export.py
>> http://supertuxkart.sourceforge.net/Ins ... he_tools_2

Re: The track I'm working on: Doughnut Land

PostPosted: 22 Jun 2012, 21:32
by Monstertux
Yes:

See the following picture, please.

Image

Re: The track I'm working on: Doughnut Land

PostPosted: 23 Jun 2012, 00:25
by Auria
In the scene properties, you need to check the "Is a supertuxkart track" checkbox. See http://supertuxkart.sourceforge.net/Tra ... properties

Re: The track I'm working on: Doughnut Land

PostPosted: 24 Jun 2012, 00:37
by Monstertux
Thanks but...

{l Code}: {l Select All Code}
Traceback (most recent call last):
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 2245, in execute
    savescene_callback(self.filepath)
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 2192, in savescene_callback
    exporter = TrackExport(sFilename)
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 2159, in __init__
    overwrite_without_asking=True)
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/modules/bpy/ops.py", line 180, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/B3DExport.py", line 1509, in execute
    write_b3d_file(self.filepath, obj_list)
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/B3DExport.py", line 156, in write_b3d_file
    temp_buf += write_texs(objects) #TEXS
  File "/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/B3DExport.py", line 303, in write_texs
    img = data.uv_textures[iuvlayer].data[face.index].image
IndexError: bpy_prop_collection[index]: index 1 out of range, size 1

location:/Users/(my name)/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/modules/bpy/ops.py:180



location:<unknown location>:-1


After I did all of that, customized it to STK and stuff, I got the error above. I had everything in order... I don't know what went wrong. Can anyone make sense of it?

Re: The track I'm working on: Doughnut Land

PostPosted: 24 Jun 2012, 01:59
by Auria
Hi,

it seems like there is something particular about your file that triggers a bug in our exporter. Could you share the blend file, so that I can investigate what's wrong and fix it? Thanks

Re: The track I'm working on: Doughnut Land

PostPosted: 24 Jun 2012, 20:23
by Monstertux
Here: The folder "chocolate" was on my desktop. The file was in a folder called "Content" on my desktop. Just thought I'd give you that info in case relevant. I think the only problem is a file though. BTW, how do I get the BD3 to read the images if there in the BD3's folder?

Thanks

Re: The track I'm working on: Doughnut Land

PostPosted: 25 Jun 2012, 00:46
by Monstertux
Hi,

Could it be my drivline? I tried to make a new one but no luck. It said I needed 2 "antennas" but what are those?

Re: The track I'm working on: Doughnut Land

PostPosted: 25 Jun 2012, 07:56
by MCMic
Monstertux {l Wrote}:Hi,

COuld it be my drivline? I tried to make a new one but no luck. It said I needed 2 "antennas" but what are those?

I think it's the two lines you can see at the start of the drive line on this picture : http://supertuxkart.sourceforge.net/New ... _Driveline

Re: The track I'm working on: Doughnut Land

PostPosted: 27 Jun 2012, 02:59
by Auria
Hi,

I found one problem, which I fixed in SVN (actually you have a bogus checkline, but of course the exporter needs to give a better error message).

The track now exports fine in blender 2.62. I still need to check in blender 2.63, there may be more work to do over there, because blender 2.62 is not compatible with 2.62 unfortunately

Re: The track I'm working on: Doughnut Land

PostPosted: 27 Jun 2012, 03:03
by Auria
Hi again,

the error in your original message is about UV textures. Your blender file does not include texture files so I cannot test that textures export correctly

Re: The track I'm working on: Doughnut Land

PostPosted: 29 Jun 2012, 04:16
by Monstertux
So...

Do you need the textures?

By the way, I exported from blender 2.62 and I got a little farther: I got the b3d to export. Still, when I try to play it from my STK, it quits. Also, instead of working on an exporter for 2.63, 2.64 is coming out later this month.

Thanks!

Re: The track I'm working on: Doughnut Land

PostPosted: 30 Jun 2012, 02:00
by Auria
Yes I would need the textures please.

2.64 is not expected to break things as much as 2.63 did so that should be OK.

Meanwhile you can also run STK on the terminal and see if it prints anything before exiting

Re: The track I'm working on: Doughnut Land

PostPosted: 30 Jun 2012, 02:49
by Monstertux
Okay. Here you go. I also am giving you a better, newer version of the file, but it still has the error.

Re: The track I'm working on: Doughnut Land

PostPosted: 30 Jun 2012, 16:04
by Auria
The problem of STK is, just like the exporter reports, the driveline is broken. Please fix the problems reported by the exporter first

By the way I suggest making the properties panel vertical, not horizontal, this will be much easier to use...

Re: The track I'm working on: Doughnut Land

PostPosted: 30 Jun 2012, 16:12
by ctdabomb
Auria {l Wrote}:By the way I suggest making the properties panel vertical, not horizontal, this will be much easier to use...

like in 2.5 style not 2.4

Re: The track I'm working on: Doughnut Land

PostPosted: 30 Jun 2012, 19:35
by Monstertux
^Um, how? The errors I get from the STK Panel exporter section are:
{l Code}: {l Select All Code}
[('WARNING', "Warning, driveline 'Plane.002' appears to be broken in separate sections. Vertex at 1.202397 1.667793 -0.276716 is not connected with the rest")]

... How do I fix that?

Re: The track I'm working on: Doughnut Land

PostPosted: 01 Jul 2012, 04:36
by Auria
Your driveline mesh is incorrect near the start, the start "antennas" need to be connected to the end of the driveline, but in your file they are separate edges

Re: The track I'm working on: Doughnut Land

PostPosted: 01 Jul 2012, 15:44
by Monstertux
Okay, But how do I connect them? Do I go in to edit mode or something?

Re: The track I'm working on: Doughnut Land

PostPosted: 02 Jul 2012, 23:53
by betharatux1
Monstertux {l Wrote}:Okay, But how do I connect them? Do I go in to edit mode or something?


Hey, this is a little guide i hope make more progress for you :)

Re: The track I'm working on: Doughnut Land

PostPosted: 03 Jul 2012, 01:55
by Monstertux
Thanks! I got the drivline to look like the way that you had it but when I try to export I get:

{l Code}: {l Select All Code}
Problems with driveline detected!
Traceback (most recent call last):
  File "/Users/Robert/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 2245, in execute
    savescene_callback(self.filepath)
  File "/Users/Robert/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 2192, in savescene_callback
    exporter = TrackExport(sFilename)
  File "/Users/Robert/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 2144, in __init__
    self.writeQuadAndGraph(sPath, lDrivelines, lEndCameras)
  File "/Users/Robert/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 952, in writeQuadAndGraph
    driveline.writeQuads(f)
  File "/Users/Robert/Desktop/Content/blender-2.63a-release-OSX_10.5_i386/blender.app/Contents/MacOS/2.63/scripts/addons/stk_track.py", line 562, in writeQuads
    if self.lLeft[1] is None or self.lRight[1] is None:
IndexError: list index out of range

location:<unknown location>:-1

Re: The track I'm working on: Doughnut Land

PostPosted: 03 Jul 2012, 12:21
by betharatux1
hm... looks like i wrong (i am sorry), after read your reply now i give you other guide
... just try again :oops: