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.
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
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Blender to Sandbox: step by step
Blender works for me, so yeah... Shut up.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
- Dunstan
- Member
- Posts: 7
- Joined: January 20th, 2011, 7:32 am
- Name: Bela Selmeci
- Location: Budapest, Hungary
- Contact:
Re: Blender to Sandbox: step by step
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. 

-
- 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
I personally would check the wiki:
Cube 2: Sauerbraten-Model Reference
Sandbox wiki: Adding Models to Sandbox
Cube 2: Sauerbraten-Model Reference
Sandbox wiki: Adding Models to Sandbox

Want a user bar like this one? PM Leo!
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: Blender to Sandbox: step by step
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!
- InHumanUnit
- 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
Srsly, Milkshape3d is easier then PAS itself.
- daniel_san
- Moderator
- Posts: 84
- Joined: September 8th, 2009, 11:03 pm
- Name: Dan
- IRC Username: daniel_san
Re: Blender to Sandbox: step by step
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
@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
- Dunstan
- Member
- Posts: 7
- Joined: January 20th, 2011, 7:32 am
- Name: Bela Selmeci
- Location: Budapest, Hungary
- Contact:
Re: Blender to Sandbox: step by step
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.
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.
- Dunstan
- Member
- Posts: 7
- Joined: January 20th, 2011, 7:32 am
- Name: Bela Selmeci
- Location: Budapest, Hungary
- Contact:
Re: Blender to Sandbox: step by step
If you haven't started it yet, I'd gladly write a small extension to your tutorial about simple animations.daniel_san wrote:The next few days I could possibly whip something up.
-
- Member
- Posts: 51
- Joined: June 21st, 2011, 10:02 am
Re: Blender to Sandbox: step by step
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?
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.
-
- 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
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
I love PAS <3