Demo Game And 3ds Max Level Editing Scripts

Topics: Developer Forum, User Forum
Dec 3, 2007 at 5:39 PM
Hello all. I created a physics based XNA game for my masters project. I want to build it for the 360, so I went with BulletX as my API. You can check out my progress here:
http://xnaengine.com/
Or go directly to the video of the latest build here:
http://www.youtube.com/watch?v=PX35vVsaqEs&eurl=http://xnaengine.com/

In order to build the levels in my game, I wrote some scripts for 3ds max that ouput the scene to an xml file. Primitive shapes in max (box, cylinder, and sphere) are supported. I also wrote a script for adding custom attributes to objects. These attributes are used to create constraints (and my own game specific things like triggers). Objects are stored in my PhysicsManager class and are accessible by name. If anyone is interested, I will probably be cleaning up the source code and posting a link on my website.

I hope this will be added motivation for the revitalization of this project :-).
Dec 3, 2007 at 7:31 PM
dude, you rock my world! that is exactly what I was going to go after! I don't know a thing about writing scripts for 3ds max but I haven't found any resources for 3ds max 9 or 10. wonder what version are you using?

I am really interested in these scripts of yours, maybe only to understand how they're made. I wish to see the source code of yours, and see how you implement the XML and max scripts. I see you have a website (awesome domain!), but if you need hosting or anything for the source code let me know. I will be more than happy to help.

I'm also itching to see how you got BulletX API working on the Xbox360 as I haven't been able to, I keep getting errors from the Vector3 and Matrix types. Compiler says I have to reference XNA in my project, but, obviously, it already is.

keep up the good work, master.
Coordinator
Dec 3, 2007 at 7:57 PM
Wow. That's really awesome. Have no words :)
Dec 4, 2007 at 4:42 AM
I cleaned up my project organization but the code is still fairly messy in places. I uploaded some goodies for you all:

Project
  • Zip file of entire project
  • Browsable folder of the source

3ds Max stuff
  • Game level 3ds max file (version 9)
  • Level Export Script (v9 but should work on older versions)
  • UserProps Script - It's cumbersome to use. one of these days I'll make a better version.

It's all in this folder on my site:
http://xnaengine.com/project%5Fstuff/

As for the 360.....
I haven't actually built for the 360 because i was crunched for time. I'm hoping it will work out. I ran into some similar reference issues with some of the windows versions of BulletX projects i downloaded. I deleted the references and re-added them manually, and it compiled.
Dec 29, 2007 at 3:22 PM
Edited Dec 29, 2007 at 3:35 PM
Hi...

how do i to download the "game level 3ds max file"...

I'm trying but I'm having error...

what do I?

thanks...