| 05-28-2004, 07:24 PM | #1 |
hi all. i was wondering if it was possible to put more than 2 skins in a map of the same model. if so then plz post the reply. thx in advance :D |
| 05-28-2004, 09:32 PM | #2 |
Yeah of course.. Then you have to do a little mdl editing... pretty easy.. I'm sure there's tutorial somewhere.. edit: just found the tutorial.. here http://www.wc3campaigns.com/showthre...ial+skin+model |
| 05-28-2004, 09:49 PM | #3 |
I'll explain you (gosh I think I must have done it about ten times!) : an mdx model can be converted with Yogbul's file converter to an mdl, which is a model file you can open and edit with wordpad. If you want to have two different skins for one single model, extract the model you want to use from the game's mpq (war3.mpq or war3x.mpq, depending if it's a RoC or TFT model, both files are found in your WarcraftIII directory) using war3viewer. Then convert the model to an mdl, do a search for "textures". You'll find a line with the name of the skin used, so if you're using the footman it'll be: "Textures\Footman.blp". Replace this with the name of the new skin (for instance "Footy.blp"). You can also replace it with the name + the path "Textures", like this: "Textures\Footman.blp", this will enable you to see the model with the skin in war3viewer if you put a copy of the skin in the Textures folder of the WarcraftIII directory. Now you can reconvert the mdl back to mdx (and change it's name to another one than the original model's name) and import both the new model and its skin in a map. You'll then have to save the map, quit the editor and restart it, alse the program won't be able to load the imported files. (NB: both war3viewer and Yogbul's file converter can be found in the download section) |
| 05-29-2004, 02:16 AM | #4 |
With a good hex editor you can directly change a model's skin(s) without using the file converter. The data structure of a model file seems to have been designed for this because there is a lot of space allocated for path names. Thus there is little chance of overwriting other data. It's quite easy to simply overwrite the old path with new text as long as you are careful to start at the first character in the old path name. If the new path is shorter than the old, make sure to 'zero' out the extra characters. |
| 05-29-2004, 02:57 AM | #5 |
If it's a Blizzard model then you can have one skin use the RoC version and the other skin use the tFT version if you're too lazy to do anything else. |
| 05-29-2004, 08:33 PM | #6 | |
Quote:
thats not entirely correct, not every RoC model has it's own TFT model, it also depends on how much they changed the model itself. |
