Showing posts with label My first MaxScript. Show all posts
Showing posts with label My first MaxScript. Show all posts

Sunday, November 25, 2007

My First MaxScript


This morning I woke very late. I had a nice sleep after a long time. I was feeling sooooooo fresh. I was planning to learn max script from a long time. So I thought why not give it a shot today. I spoke to my friend Dheeraj took video tutorials from him on Max script & started watching it. It was too interesting. Syntax is not C++ friendly, But..... okie dokie. BTW am used to C++ very much.

I was sitting around thinking what tool to make while I learn Max Script. & suddenly I remembered someone talking about writing a script in max to export a scene for Torque Game Engine. The idea just struck in my head, I started writing a script. By EOD I had a fully functional MaxScript ready to export a scene in max for Torque Game Engine.

Tool Description: This tool allows the artist to setup the world in 3DS max & export it for use in TGE. My scene exporter doesn't export the object, instead it exports the object properties in a format readable by TGE.

Features:
  • Option for exporting either the entire scene or only the selected objects.
  • Objects names are automatically appended with ".dts" extension.
  • Create group for easy manipulation in TGE mission editor.
  • Option for saving to file.
Will add more to it as I go more n more deep in MaxScript.

In near future I am planning to export the entire object it self along with the properties. I have no idea how much time I will take to do this. But will give it a shot :).