3087 Posts in 570 Topics - by 2220 Members - Latest Member: keistoni

Warcraft III: MapsModelsSkinsIconsSpellsToolsTutorials
WC3 JASS: Code SnippetsJASS and vJASS Spells and SystemsJass Tutorials
Chat @Discord

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

Author Topic: Exporting a Model from Gmax to .MDL  (Read 9763 times)

  • Da Shaman
  • Recognized User
  • Rookie - level 1
  • *****
  • Posts: 75
  • WC3 Models: 0
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 7
  • Wired...
    • View Profile
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 »

  • aka Drunken_Jackal
  • Recognized User
  • Rookie - level 4
  • *****
  • Posts: 179
  • WC3 Models: 0
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 558
    • View Profile
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

  • Da Shaman
  • Recognized User
  • Rookie - level 1
  • *****
  • Posts: 75
  • WC3 Models: 0
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 7
  • Wired...
    • View Profile
Re: Exporting a Model from Gmax to .MDL
« Reply #2 on: September 08, 2012, 05:31:48 AM »
Thanks.

  • Newbie - level 3
  • ***
  • Posts: 31
  • WC3 Models: 0
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 1
  • User
    • View Profile
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

  • Site Owner
  • Administrator
  • Starter - level 4
  • *
  • Posts: 958
  • WC3 Models: 59
  • WC3 Tutorials: 13
  • WC3 Tools: 14
  • WC3 Maps: 12
  • WC3 Skins: 6
  • WC3 Icons: 2
  • WC3 Spells: 15
  • Reputation: 1153
  • Site Admin - I love fix things
    • View Profile
    • Blizzard Modding Information Center
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 :(

We can give you full hosting for your projects, a complete page!!

A custom altered melee map where you can play Naga and Demons. Check it out!!
Use Dropbox...

 

Mdlvis: model edition/creation, animation and UV Mapping

Started by moyackBoard Tutorial Zone

Replies: 3
Views: 11606
Last post June 22, 2013, 07:32:27 AM
by moyack
How To Remove Weapons to WC3 Model Units

Started by moyackBoard Tutorial Zone

Replies: 8
Views: 11409
Last post March 05, 2013, 10:33:53 AM
by moyack
Magos' War3 Model Editor

Started by magosBoard WC3 Editing Tools

Replies: 4
Views: 17598
Last post May 18, 2018, 07:58:55 PM
by moyack
GMax Modelling

Started by eubzBoard Warcraft III Modelling

Replies: 2
Views: 5402
Last post September 05, 2012, 09:56:06 AM
by eubz
Gmax 1.2

Started by BlizzModBoard WC3 Editing Tools

Replies: 5
Views: 9936
Last post September 01, 2015, 08:26:01 AM
by moyack
Blizzard Modding Information Center Wacraft III Modding Information Center WC3JASS.com - The JASS Vault Chronicles of Darkness - A Warcraft III mod Jetcraft - A Starcraft II mod Troll Smash - A Warcraft III Arena Starcraft II Modding Information Center
  Mod DB - Change the Game Power of Corruption - A Warcraft III altered melee map Chaos Realm - The world of Game modders and wc3 addicts Follow us on Facebook!!