HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do I use custom models? Total noob here.

09-23-2006, 08:03 PM#1
fyfanfarli
Didnt find any apropriate thread to post in so Im just shooting in the dark here to try and catch someones attention.

Im a 26 year old Swede thats totally new to the whole map creation-thingy. I have lots of expeience from similar stuff tho, so I catch on pretty fast. Something thats really been bothering me though is that I just CANT get imported mdl/mdx files to work proparly.. Please someone help me with this. Ive tried a few and some do have text files that helps u with the custom pathname for them and those works SOMETIMES. But more often than one would like there is just folders with mdx/bpl files and I never get those to work. I´ve read all tutorials here and none of them explains just how to get this to work, I guess its something really really obvious... But still, please point it out to me..

The stoopid Swede
09-23-2006, 08:45 PM#2
TDR
I don't care how old you are. But, first things first: this forum section is dedicated exclusively to the actual process of modeling and animation making and techniques, not importing stuff into a map.

Secondly, I'm moving this to the appropiate forum.

And finaly, I'll explain you how to import, very step by step (oh, and don't import mdl's, they won't work; mdx is the thing):
  1. open the world editor
  2. open the import manager
  3. import the texture(s)
  4. change the texture(s) path(s) to the appropiate path(s). if the path(s) is/are not specified by the author, then convert the mdx into a mdl using a model editing tool like YobGuls' file converter, then open the mdl with notepad (or other text editing program) and search for the path(s). This is what you should be searching for (example is the Ogre model):
    Code:
    Textures 4 {
    	Bitmap {
    		Image "units\Creeps\Ogre\Ogre.blp",
    	}
    	Bitmap {
    		Image "",
    		ReplaceableId 1,
    	}
    	Bitmap {
    		Image "Textures\star4.blp",
    	}
    	Bitmap {
    		Image "Textures\gutz.blp",
    	}
    }
    Usualy the textures with the "Textures\" path are in-game textures and there's no need to import them.
  5. import the model. Do not change the path.
  6. save the map
  7. close the editor
  8. open the editor
  9. assign the model to something. It should work.

If the model has more than one texture, make sure to import all of them and change their paths accordingly.
09-23-2006, 10:08 PM#3
Guesst
You can use this as a slightly simpler way to check the paths. Just open the MDX with it: http://www.wc3campaigns.net/showthread.php?t=85245
09-23-2006, 10:18 PM#4
TDR
oups! I missed that :P