HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Doodads = Units ?

11-21-2003, 05:05 PM#1
Babuu
Hi... i want to use the graphic model of a doodad. The prob is... the doodad has many variations so u can't pick it like u can normally. I am sure there's a way how to get the graphic model of a specific variation of the doodad for my unit.

In my case it's a crystal... i need it for an item... so maybe u can help me... would be nice.... ... ...



(... I LOVE U MICHAEL ^^)
11-23-2003, 11:49 AM#2
PitzerMike
Okay, you'll have to extract the model (.mdx) of the doodad.
Use Yubguls to convert it to mdl or any other converter

Search for the line where you find the replaceable texture id and instead of the id place the path of the exact texture you want for that model

Then convert the edited model back to mdx and use it for your unit
11-27-2003, 09:44 AM#3
Aristotle
Can't you just directly use the model path name without converting it?
11-27-2003, 10:58 AM#4
PitzerMike
For ordinary models this would work.

But as stated above tree models don't have a fixed texture but reference it by the replaceable Id and therefore you need to edit that model.
11-27-2003, 12:25 PM#5
Aristotle
So you can only use doodad models for doodads and unit models for units unless you use a converter?
11-27-2003, 01:31 PM#6
PitzerMike
It's only those doodads, that have several texture variations such as trees for example.
Most of the other doodad models can be used for units without problems.
11-27-2003, 04:15 PM#7
35263526
To get a doodad model with lots of variations working, you need to select the model from the list, then click ok. Now, go back to the model chooser and in the path box enter a number at the end of the model's path. That is the variation. Just experiment around to find the number you want.
11-30-2003, 05:31 PM#8
LegolasArcher
Or just place it in the WE doubl eclick on it and select the variations in the drop down box to find which you want :P
12-02-2003, 02:01 PM#9
may_11
U can find the model easily~
(Why there is script error while I read the pages?)


In "WarCraft-III Art Tools Documentation.pdf"

"
Doodads and Destructibles
Warcraft III can have multiple MDX files as variations of the same type of tree, and this multi-file approach works for any destructible or doodad. Up to 10 variations can be made by adding a one-digit number suffix starting with 0 (i.e., newtree0.mdx, newtree1.mdx, etc.).
Trees are set up as Simple Destructible objects so they can draw many on screen very quickly. For each tree the game will read three different MDX files: one with the standing tree and no animation, one with the dead version with no animation, and one version with all of its animation. These files will be named by adding an S for stand and a D for dead. When the letters are added, the above variation names will therefore become newtree0S.mdx, newtree0D.mdx, newtree0.mdx.
Figure 23 -
"

...

That's why not "Unit"...


(No.2)