Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Blender to Sandbox: step by step

Learn more on how to use Sandbox, or submit your own tutorials or resources.
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Blender to Sandbox: step by step

Post by chocolatepie33 »

Blender works for me, so yeah... Shut up.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
User avatar
Dunstan
Member
Member
Posts: 7
Joined: January 20th, 2011, 7:32 am
Name: Bela Selmeci
Location: Budapest, Hungary
Contact:

Re: Blender to Sandbox: step by step

Post by Dunstan »

Hi, I find your tutorial very useful. Could you please continue it with a part, that explains how to export animations from Blender? I have tried, but Sandbox doesn't find the animation, and I have no way of checking it in Blender by re-importing it, since the md3 plugin has no animation import support. Just a small tutorial, for example about how to create an animated door (one rotating cube), or button (two moving cubes)... and of course, how to use it in Sandbox. ;)
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Blender to Sandbox: step by step

Post by arcones »

Image
Want a user bar like this one? PM Leo!
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Blender to Sandbox: step by step

Post by chocolatepie33 »

you should also look at the actual blender site, they should have some stuff on this. Blender 3d
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
User avatar
InHumanUnit
Member
Member
Posts: 1450
Joined: May 22nd, 2010, 7:23 am
Name: Ian, Haiku, I got alot ;)
Location: Toyko, Japan. Currently in Illonis, Round Lake in America for secret purposes
Contact:

Re: Blender to Sandbox: step by step

Post by InHumanUnit »

Srsly, Milkshape3d is easier then PAS itself.
Image
Image
Image
XEON BOX GAMES - XBG is a blast from the past of a pirate mast to a cars thats fast.
You dare challenge me to Halo:Reach? You must die!
User avatar
daniel_san
Moderator
Moderator
Posts: 84
Joined: September 8th, 2009, 11:03 pm
Name: Dan
IRC Username: daniel_san

Re: Blender to Sandbox: step by step

Post by daniel_san »

Saying that's like saying, srsly football is way easier than baseball, they're two different things. So enough banter over which 3d ap you prefer.

@Dunstan
Thanks. Glad that some people appreciate the time/effort put into this thread.
The next few days I could possibly whip something up. In the meantime i'll explain the general process of how you'd export something like a simple door animation.

Parent your door model to an amature/bone. Apply weights to the bone for all vertices.
Animate your door (opening closing whatever).
When you export make sure your timeline is on the very last frame of your animation/s.
Select your model, then the armature and export.
Look at some of the other door models md3.cfgs included in PAS.
Also refer to cube 2s md3 & model documentation.

There's also an md3 export script for blender 2.5+.
It might be easier for those having problems with script errors involving their python installation. You can find it in the link below.
http://xembie.com/2010/md3-exporter/
Just follow the instructions/requirements from the link, and make sure you triangulate your mesh before exporting.

take care.
daniiel_san
User avatar
Dunstan
Member
Member
Posts: 7
Joined: January 20th, 2011, 7:32 am
Name: Bela Selmeci
Location: Budapest, Hungary
Contact:

Re: Blender to Sandbox: step by step

Post by Dunstan »

Thanks for the quick reply. I think, the key word was triangulation. It is missing from your box-tutorial, but doesn't affect the results when the exported mess is unanimated. It seems, that the md3 exporter script can't/won't export animations of non-triangulated models. I think, you might add it to your original tutorial, since all models used in games should be triangulated.

For the others, thanks for your help, I, of course, have read all the wikies and references, searched the forum, etc. I still think, it would be useful to have a plain, step by step guide to makinkg an animated model. Sandbox is said to be made for children, and the Sauerbraten reference, and even the wiki is a bit hard to use for them. I know, that serious game makers will be forced to learn all the programming materials, but for the rest, such things as opening doors and animated buttons can be very useful.
User avatar
Dunstan
Member
Member
Posts: 7
Joined: January 20th, 2011, 7:32 am
Name: Bela Selmeci
Location: Budapest, Hungary
Contact:

Re: Blender to Sandbox: step by step

Post by Dunstan »

daniel_san wrote:The next few days I could possibly whip something up.
If you haven't started it yet, I'd gladly write a small extension to your tutorial about simple animations.
The Writer
Member
Member
Posts: 51
Joined: June 21st, 2011, 10:02 am

Re: Blender to Sandbox: step by step

Post by The Writer »

when i push "alt+p" to "exicute the script" it come up with this message:

File"C:\User\Alaura\game making stuff\sandbox\PlatinumArtSandbox2.6.1\packages\modles\box\tri.blend\md3_export_test2.py",line 92
print mesh.materials
^
SyntaxError: invalid syntax
location:<unknown location>:-1
Python script fail, look in the console for now...


can you tell me what i'm doing wrong?
evrything fades, but nothing ever really ends.
Kooldoode
Member
Member
Posts: 66
Joined: July 21st, 2011, 1:06 am
Name: Dallas
IRC Username: Kooldoode
Location: Cloud 9

Re: Blender to Sandbox: step by step

Post by Kooldoode »

question.....on the blender download page which do it get the installer or the zip?
They say to Fight for world peace, and yet they also say Fighting never solved anything.

I love PAS <3
Post Reply