How to change a gmax file to a mdl file?

  • Thread starter Thread starter jamesliew
  • Start date Start date
J

jamesliew

Guest
I try to change a gmax file to a mdl file, I have read the modeling toturial. But still don't know how to save the notepad into a mdl file.
I have try name it to NAME.mdl, but I can't open it with the YobGul's converter (War3FileConverter).
 
Are you running DeX's script? I think its called DeX's Exporter or something, if you run that it should work fine.
 
xx_hex_xx said:
Are you running DeX's script? I think its called DeX's Exporter or something, if you run that it should work fine.
Yes, I'm using the DeX's script then I follow the tutorial copy and paste the word at the script to a notepad. But I don't know how to save the notepad into a mdl file.
 
Why would you need to do that? The notepad ISN'T part of the hero is it?
 
xx_hex_xx said:
Why would you need to do that? The notepad ISN'T part of the hero is it?
What do you mean? Without the notepad how do I save it into a mdl file?
 
Well, is the notepad included somewhere in the model? Or is it just in the same folder and it has the paths and info of the map? If it isnt in the model it doesnt need to be a .mdl
 
xx_hex_xx said:
Well, is the notepad included somewhere in the model? Or is it just in the same folder and it has the paths and info of the map? If it isnt in the model it doesnt need to be a .mdl
Then how you change the gmax file into a mdl file?
 
Well you run the Dex Script with the gmax file or something, no need to change the notepad.
 
xx_hex_xx said:
Well you run the Dex Script with the gmax file or something, no need to change the notepad.
Then how to save it into a mdl file?
 
Should say so in the tutorial:
Code:
Ok, so now you have your model ready. Eventually animated and textured too (not necessary, though it will only show up in the player's color in game if you don't ^^). Ok, now we're going to export the model from GMax. Select your whole model (or the parts you wish to export). Then click on the Hammer icon in the upper right corner, then select MaxScript. Now click on Run Script. 

 

A file browser will open up. Locate Dex's Exporter script (wherever you placed it) and select Open. Another window will be opened. Here you specify a name for your model and which animations it should have. Animations are specified in intervals. For more info on this, read the Animation tutorial above. After that you click on Print to Listener. This will generate the MDL code and place it in the listener window. 

 

Depending on how big model you have, this process will take some time. If you receive any errors, double check the Checklists in the tutorials above. If an error occurs, GMax usually flips out and behaves really irrational. If this happens, reload your model. DON'T save when it asks you. When done you can open the listener window by clicking on Open Listener to the right. 

 

This will bring up a window with the MDL code in it. Open up an empty Notepad, then copy-n-paste the contents to notepad. There is some kind of bug or something that prevents you from selecting all code at once, so you must copy it piece by piece. DO NOT make a mistake here, or it might screw up the model. make sure you DON'T copy the comments at the beginning and the final line that says "Export successful". There is also an option named Write to Memory, but this is unimplemented in the current version of Dex' Exporter script. 

After you copied the contents, save it as NAME.mdl (replace NAME with whatever you want).

Refer to that to figure it out. Read it carefully.
 
Open up an empty Notepad, then copy-n-paste the contents to notepad.

After you copied the contents, save it as NAME.mdl (replace NAME with whatever you want
).
Here you see it told me to open an empty notepad, then copy-n-paste the contents to notepad. And save it as NAME.mdl .
 
Yes, you dont need to actually conver it. Just save the notepad as a Robo.mdl or something
 
xx_hex_xx said:
Yes, you dont need to actually conver it. Just save the notepad as a Robo.mdl or something
I have try to name it to NAME.mdl, but I can't open it with the YobGul's converter (War3FileConverter). Maybe because it isn't a mdl file.
 
Well, duh its not going to ever become a .mdl, it will always be a .txt or something, its just for help with junk lol.
 
Maybe remove the [1] in the title or edit this line:
Code:
Model "LaserLight" {
to
Code:
Model "LaserLight[1]" {

And then save it as LaserLight[1]
 
xx_hex_xx said:
Maybe remove the [1] in the title or edit this line:
Code:
Model "LaserLight" {
to
Code:
Model "LaserLight[1]" {

And then save it as LaserLight[1]
I change the file name to LaserLight, but still can't.
Now I can import to my map, but nothing came out. And my model size became o KB after import it.
 
Anyone can help me fix this
Code:
// 'DeX Version: 0.185m
Version {
	FormatVersion 800,
}
Model "LaserLight" {
	BlendTime 150,
}
Textures 1 {
	Bitmap {
		Image "",
		ReplaceableId 1,
	}
}
Materials 1 {
	Material {
		Layer {
			FilterMode None,
			static TextureID 0,
		}
	}
}
I can import this model into my map, but nothing came out and the size became o KB.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top