HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cant use imported models

07-26-2004, 07:37 PM#1
MonkeyVirus
Right i know this sounds like a noobs question and it probably is ^_^ . I am trying to use the dark wraith model (very nice btw) and i follow the tutorial to the point, i extract the file import it rename its file path to units\other\darkwraith\darkwraith.mdx but it still cant find the file.
Im not sure where your ment to extract the file to or wheather that matters at the mo i just extract it to my documents and then import it. I also dont know wheather that file path is correct but i did the same thing for a chicken model and it worked fine.

please help hows a Noob ment to learn :(
07-26-2004, 07:49 PM#2
HexenLordX
Quote:
Originally Posted by MonkeyVirus
Right i know this sounds like a noobs question and it probably is ^_^ . I am trying to use the dark wraith model (very nice btw) and i follow the tutorial to the point, i extract the file import it rename its file path to units\other\darkwraith\darkwraith.mdx but it still cant find the file.
Im not sure where your ment to extract the file to or wheather that matters at the mo i just extract it to my documents and then import it. I also dont know wheather that file path is correct but i did the same thing for a chicken model and it worked fine.

please help hows a Noob ment to learn :(

Do you get this in world editor in in-game? If you get this error in world-editor after uploading, its a common problem. What you do is place the unit on the map, save the map, close the WE, and reopen the WE and the map. The unit should be right where you placed it, new model and all. If not, try viewing it in-game.

One more thing, models do not have to be imported into any certain path, because models can be imported into any path and still work. Try and importing it into a path like, Units\darkwraith.mdx. Now go to the object editor, go to the unit thats using the model, and under Art - Model File, edit that, click the import bullet, and find your model. If you still bump into the same problem of not finding it, then simply place the model, save and close WE, reopen.. etc.

Skin files MUST be imported where they were said to be imported. Model files are a different story. So you cannot place the skin files under a custom filepath, they must remain the same. The actual model can be put under any filepath you wish.
07-27-2004, 06:47 AM#3
MonkeyVirus
thanks for such a quick reply, i tryed what you said but it still seems to come up with "could not load <then the file name>.mdl " It does this in WE both when i first import it and even after restarting WE. Also when i test the map the unit is just invisable (which i guess is because the model hasnt been loaded).

I assume that by all this it means there must be something wrong with the loading of the model and knowing my luck i have probably missed something really obvious. Could you possible write up quickly presisly how u wud go about using this model if u were to use it, it really would help.

Thanks
07-27-2004, 07:14 AM#4
MonkeyVirus
AHA yess :D

thanks for all your help i got it working, what you said to do was right, and yes u guessed it my stupid mistake
I renamed the file to units\other\darkwraith\darkwraith.mdx

and it cudnt find the image because i named the folder to dark wraith with a space oooo it seems so stupid now i must have 5 mew maps with this model in all trying to load it and one rename of the file and all of a sudden they all have this wraith there. ^_^ ^_^ ^_^ ^_^

THANK YOU :D :D :D
07-27-2004, 07:40 AM#5
MonkeyVirus
and now the party comes to a end :< :(

I got it all working on WE i can see the model right there with his nice sythe but then when i play the game the unit isnt there, well he is but i cant see him, i can still selet the unit by clicking the hero icon but the unit is invisable. I can do anything i like with it like it worked perfectly cept i cant see the model
please help im so close :( :( :(
08-08-2004, 09:03 PM#6
BladeZ
I have the same problem! In the game I can not see the unit! Please help!
08-08-2004, 09:10 PM#7
Aznwhore
you're probably missing the skin file
if you followed directions, you should have imported in the model file correctly but you still need the skin
import the skin, change its path to "SkinName.blp", save, close, load, test
08-09-2004, 04:40 PM#8
EmperorColin
its important to understand who the path works for importing files... the path you enter has nothing to do with where the file is located on your computer, its the location of the file in the map. think of it like this: imagine every map has a hard drive, and there are directories and files within it. most of the files/dir's are from the .mpq files, so its like this: yourmap\units\human\footman\footman.mdx. when you import a file, the path works exactly that way, so if you import a file, and set the path to just the file name, it would be yourmap\(model).mdx. because there are no files that require specific models to operate, except maybe cliffs, models do not need to have a specific path. the path only matters when you have a file, such as a model, that reads another file from a specific location, such as a texture. therefore, when you read the model as an .mdl, it is vitally important to remember the exact path and filename of the texture used in the model. you then set the same exact path and filename into the custom path for an imported skin. in other words, when your imported model loads, it loads the seperate skins with it from the maps imaginary hard drive. if your model's texture looks like this in .mdl format: bitmap "Textures\Texture.blp", it will attemp to load Texture.blp from yourmap\Textures\Texture.blp. However, yourmap\Textures\Texture.blp only exists if you set the path to Textures\Texture.blp in the skin's file properties in the importer. i hope this helps, because i think this is possibly the most thorough way to explain the process.