vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation - WC3 Optimizer documentation

Exporting a Model from Gmax to .MDL

eubz · 10614

0 Members and 1 Guest are viewing this topic.

Exporting a Model from Gmax to .MDL
on: September 05, 2012, 09:42:54 AM
Category: 3D Modeling Tutorials
« Created: April 04, 2016, 11:19:14 AM by moyack »

Exporting a Model from Gmax to .MDL

This will guide you on how to export models from gmax using dex script for mdl file type.

What you will need:


The Tutorial

Saving the dex script.
  • Download dex script from the site I linked above in What you need part of this tutorial. Save it in the script folder of your gmax directory.

Exporting from Gmax
1. Be sure you have converted the model to editable mesh. If not, the model will not be exported well enough. To convert the model to editable mesh, just select the model, right click it then click Convert TO: > convert to editable mesh.
2. Also, be sure that the model to be exported is selected. In the menu bar, click MAXScript > Run Script so that the Choose Editor File Window appears. Find the Dex Script for gmax. Open it so the window for dex script appears.
3. Write the model name, add animations if there are,then click Print to Listener. After it, close the dex script window.
4. Click MAXScript in the menu bar. Click Max Script listener. The MaxScript Listener Window should appear.
5. Delete the part that says
Code: [Select]
Export Successful! which is found at the bottome of the mdl code and the part that says
Code: [Select]
"'DeX Version: 0.186m
"
"'DeX Version: 0.186m"
// 'DeX Version: 0.186m
Version {
FormatVersion 800,
}
Found at the very top of the mdl code.
6. Open a Notepad. Copy and paste all the remaining codes inside the MAXScript Listener Window into the notepad. I recommend using CTRL+A (Select All), CTRL+X (cut) when copying the codes so you will not miss a single letter in it.
7. As soon as everything is copied from the MAXScript Listener to the Note Pad, Close the MAXScript Listener Window as well as the gmax.
8. In the Note pad where you copied the mdl codes, Click File > Save As In the Save as type click All Files. In the File Name Write the model name and add .mdl as its extension. Close the note pad.
9. View the model in model editor or mdlvis if you want.
« Last Edit: April 04, 2016, 11:19:14 AM by moyack »



Re: Expoting a Model from Gmax to mdl File Type
Reply #1 on: September 06, 2012, 11:01:46 PM

Good job Eubz! Renamed thread and approved!



gucci mane


Re: Exporting a Model from Gmax to .MDL
Reply #2 on: September 08, 2012, 05:31:48 AM

Thanks.


Exporting a Model from Gmax to .MDL
Reply #3 on: March 03, 2013, 07:48:36 PM

i remember i had to learn this stuff when i was making my mod :C too bad my comp formatted when i was 75% of completing it T_T



Exporting a Model from Gmax to .MDL
Reply #4 on: March 10, 2013, 01:35:17 AM

i remember i had to learn this stuff when i was making my mod :C too bad my comp formatted when i was 75% of completing it T_T
what a shame :(


 

Chaos Realm - The world of Game modders and wc3 addicts     WC3JASS.com - The JASS Vault   Jetcraft - A Starcraft II mod