PoLlama Forums  

Go Back   PoLlama Forums > WarCraft > Tutorials > Submit a Tutorial [World Editor]

Reply
 
LinkBack Thread Tools Rate Thread
Old 09-29-2007   #1
 
Halakbalakbalak's Avatar
 
Join Date: Jun 2007
Posts: 1,634
Halakbalakbalak will become famous soon enough
Importing.

Introduction to Models
New custom models can be imported into Warcraft for units, doodads, effects and any other kind of spell or ability. You do not need any special tools to download and import models. People do have a lot of problems importing models, so I have added a trouble shooting section below. Hopefully, walking through this tutorial will assist you.

Downloading a Model
The first step is to find and download a model you like. There are a lot of models on the internet with problems, so it can be difficult getting them to import correctly. Typically, the site that you downloaded the model from should have ALL information you need to import it. If they don't give you a list of files and where they should go, it might not be worth downloading. I have chosen the model shown below, an Ice Infernal.

Model File
IceInfernal.mdx
Portrait File
IceInfernal_portrait.mdx
Skin 1
units\IceInfernal\IceInfernal.blp

The website I downloaded it from shows me that it needs three files. The first is the model file. The main 3D file for the unit. The second, is a portrait file. Models that do not have portrait files will not show speech at the bottom of the screen. I am fortunate this model is not only cool, but very complete.

Lastly, there is one skin file. Models can sometimes have many skin files. Skins are the textures that wrap around models. Every skin file needs to have a path in front of it. If it does not have a path, assume it will have NO path inside the import manager. Mine is showing that the full skin path needs to be units\IceInfernal\IceInfernal.blp. If I don't import that correctly, it WILL NOT work.
The main model file is the acutal 3D model of the unit, doodad, or effect.
If a model has no portrait file, it will not show speech at the bottom of the screen.
You must know where to put all the skins for the model.
Importing your Model
Most models come in a zip file that you will need to unzip. Now a days, windows XP will unzip it for you. I am going to unzip all my files into a folder, so they stay organized.

Now we need to load the import manager inside World Editor. Click on File, Import and import all the files that came inside the zip file. If you put them in a seperate directory, you can import the entire directory easily.

For each file, you must double click them in the Import Manager, and change the custom path. Model files do not need to be in any type of path, so I will delete the 'war3mapImported' before the file name. For skins, we need to change the custom path to exactly what was listed on the website. In most cases, the names are case sensitive. Again, if the custom path of the skin is not correct, it WILL NOT work.


Importing your model into World Editor.

I am finished importing all of my files, so now I can assign my new model to a unit. For all practical purposes, I will start by creating a custom unit from the standard Infernal. Load the object editor and create a unit you would like to use with your model. You don't have to change much here. Scroll down to the field that says Art - Model File and double click it. Check the radio button that says Imported and select your model file.


Changing a unit to use your new model.

Now you can select the unit, place one in your map, and test it. If it does not work, you did something wrong. Either the skin is missing, corrupt or in the wrong path. If that happens, see the problems I have written out below. When I test my map, my new Infernal looks like this. Way cool.


Ice Infernal inside the game.

Viewing in World Editor
People often wonder, why their model does not appear inside World Editor (Darg taught me this one a while back). If you copy all of your model files into the Warcraft root directory, you can view your model inside World Editor. In this example, I would copy the three files to D:\Warcraft III. After copying over your files, you will probobly need to restart the World Editor to see the changes.

Common Problems

• My model is invisble inside the game
This means one or more of your skins is not found. If the game cannot find the skins, your model will be invisible. Check your skin path names, and make sure all the skins you need were imported.

• My model is visible, but it has color and no skin
This means that the skin has been altered, edited, or incorrectly created. It has lost its player color selections. The selection determines what areas will show a players' color. See Editing Skins for more information.

• Some areas appear correct, but others have a color and no skin
Again, in this case, one of your skins is missing or has lost its player color selections. Check your paths and check that you have all the skins you need. If thats true, then one of the skins is corrupt.

• You don't know the path name for all the skins.
Websites that supply the models should list ALL of the pathnames for the models' skins. If it does not, often times they will post the paths later, in case they forgot. Sometimes, there is a readme.txt file in the zip package, that tells you where the skins should go. If not the above, your pretty much out of luck without knowing where they go. You can open the model file with a hex editor and see where the skins are placed, but if you don't know how to do that, I do not reccomend it.

• Why don't buffs and effects work on my models?
A lot of models are cheaply made, and were created with no attachment points. Some times, they have no ORIGIN point, so special effects will not work on them. Bummer, eh?

• When my model dies, it just stands there, and never goes away
This means the model was made WITHOUT a death animation. Again, not everyone takes time when creating custom models. In this case, you will need a trigger to remove them from the game when they die.

• My model has no hero glow
The model was created without hero glow. Hero glow is an integral part of the original models. There are 'Glow Packs' you can download and apply to your unit instead. Provided, they have an origin point.

taken from [Only registered and activated users can see links. ]

Current Projects
[Only registered and activated users can see links. ]
Halted Projects
Conflict Rising 2.0(A much better balanced, much better made version of the original.)
Barbarus Incursio
Halakbalakbalak is offline   Reply With Quote
Old 10-19-2007   #2
 
MrApples's Avatar
 
Join Date: Sep 2006
Location: Your Mom
Posts: 2,241
MrApples has a spectacular aura about
Re: Importing.

Sorry Halak, I'm not going to approve tutorials taken from another site. Even if that site is a bunch of commies.
MrApples is offline   Reply With Quote
Old 10-19-2007   #3
 
Halakbalakbalak's Avatar
 
Join Date: Jun 2007
Posts: 1,634
Halakbalakbalak will become famous soon enough
Re: Importing.

Lol... whya re they commies?... okay ill remake the tutorial for pollama use only.

Current Projects
[Only registered and activated users can see links. ]
Halted Projects
Conflict Rising 2.0(A much better balanced, much better made version of the original.)
Barbarus Incursio
Halakbalakbalak is offline   Reply With Quote
Old 08-10-2008   #4
 
PunWisp's Avatar
 
Join Date: Aug 2008
Posts: 437
PunWisp is on a distinguished road
Re: Importing.

There is 1 KEY thing missing in this. After you import the models you want to use you have to do either of the following(Most recommended)

1. Save the map and create a new one(faster then restarting)
2. Exit World Editor and basically restart it and load your map

Not doing this will most of the time screw up the models you imported, and may not always work. Its best to just create a small map then re-open your map, and you would have a easier time setting up models for units.



PunWisp is offline   Reply With Quote
Reply

Tags
None

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
importing models shocker World Editor Help 20 11-15-2007 07:05 AM
Importing animations Phronal World Editor Help 15 06-21-2007 12:30 PM
Omg Importing Costum Model.... bloodymassacre World Editor Help 2 02-12-2007 05:48 PM
Importing Units to World Editor? Killzor2 Ultimate Footmen 0 10-24-2006 04:56 PM


All times are GMT -5. The time now is 05:50 PM.

A friend of Wc3Happy
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165