Tutorial How To Use The Same Model For Different Skins

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
How To Use The Same Model For Different Skins​

Required elements:

- Frozen Throne
- Yobguls File Converter
- Notepad
- Power MPQ

Before we get started, download and install Power MPQ and Yobguls File Converter. After that, proceed to step 1.

Step 1 - Extracting the model

Firstly, open Power MPQ. If you’re doing it for the first time, a prompt window will open, telling you to choose a language. I’ll choose English, you can choose your favorable one. After done that, you see a blank window.

step_1.gif


Before we proceed, we need to decide which model to duplicate, because most of the models are located in the Reign of Chaos War3.mpq and the add-on ones are in the Frozen Throne War3x.mpq.

I have decided to duplicate the Pandaren Brewmaster model, so I know, it’s located in the add-on .mpq. To open the War3x.mpq, locate your Warcraft III folder and click on it.

step_1a.gif


A lot of different files should appear. Click on the "ext" bar to categorize the file types by extension names. That makes it easier for us to find the desired .mdx. When found it, select it and extract it to location, where you could later find it. When completed, proceed to step 2.

TIP: Unit model paths start with "Units/...".
Note: Do not extract models, which have a "_portrait" suffix. They are the unit portraits you see in-game.​

step_2.gif


Step 2
- Assigning the model a new skin path

Before you can open Yobguls File Converter, you have to copy " ijl15.dll" and "mss32.dll" files from the Warcraft III directory to the Yobguls folder.

Note: Yobguls File Converter will crash after a successful conversion and when it's closed, so don't be alarmed. It's the fault of lousy coding. Hey, at least it does what we want, right?​

After opened it, find the .mdx file you extracted from the .mpq previously, "PandarenBrewmaster.mdx" in my case. Convert it into .mdl.

step_2a.gif


That leaves you with the .mdl version of the model, which is openable with any text editing program. I shall open it with Notepad, for convenience.

A lot of text should appear. Ignore that and leave anything unchanged. Scroll down until you find something the textures. These vary for different models, bu they all start with "TEXTURES #" text.

step2_b.gif


Now, we are especially interested in "Image "units\Creeps\PandarenBrewmaster\PandarenBrewMaster.blp"," line. This is the line which assigns the model it's skin path.

Assign a new path, I'll rename it to "units\Creeps\PandarenBrewmaster\Pandamonium.blp". Make sure the name doesn't overlap with skin paths for other models.

Save the file and proceed to step 3.

Step 3 - Converting .mdl back to mdx. and importing it to WE

For the final step, we just need to convert the .mdl file back to .mdx and import it into World Editor.

Open Yobguls File Converter again, if you have closed it. Locate the modified .mdl file and convert it back to .mdx (the same procedure found in step 2, only vice versa, so no additional screenshots to illustrate are not needed. Hopefully).

After the conversion, import it to your map by opening World Editor, selecting Module->Import Manager and in the Import Manager File->Import File.

Find your modified model and import it.

After that, you only need a custom skin for it. I found a very nice skin created Black_Stan from the Hive Workshop. It can be found here.

I downloaded and imported it into my map.

Now comes the important part: assign the imported custom skin the skin path you assigned to your modified model. In my case, "units\Creeps\PandarenBrewmaster\Pandamonium.blp".

step3.gif


However, if you use the imported model, it will turn out as a green and black chequered box. That is one of the plenty World Editor bugs. To fix that, save your map, close WE and reopen your map.

You are all done.

in-game.jpg


Thanks for reading this tutorial. Feedback is appreciated.
 
Reaction score
456
I edit this post when I've read this fully.

Only problem to start make this is that powermpq misses a file and it cannot be ran.

EDIT LINE -------------------------------------------

I didn't know that it's so easy to do this, good job ;D
 

Cohadar

master of fugue
Reaction score
209
Nice one. pictures and all, really cute.

Hilarious:
Code:
Note: Yobguls File Converter will crash after a successful conversion and when it's closed, so don't be alarmed. It's the fault of lousy coding. Hey, at least it does what we want, right?

Also note that you can use war3ModelEditor for convertin .mdl<->.mdx
and it will not crash and will display a nice model picture also :)

I am still waiting for someone to invent a way to use
really same model (no multiple imports) with different skins

anyway hard work is appreciated. +rep
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Only problem to start make this is that powermpq misses a file and it cannot be ran.

I replaced the attachment with a direct link to the source.

I am still waiting for someone to invent a way to use
really same model (no multiple imports) with different skins.

I'm afraid that is not possible. You can hope for a brighter future, but...nah.


Thanks for the fast replies and feedback, guys!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top