Modeling - Texture Techniques Using Mdl

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Texture Techniques Using Mdl
By Orc_Tamer







Use the same model but with different textures.

After seeing elmstfreddie's tutorial He and I suggested to make one for .mdl editing.

Ok get Magos Model Editor
http://magos.thejefffiles.com/War3ModelEditor/

Get the texture you want to use for this example we will be using this texture
http://www.hiveworkshop.com/resources_new/skins/53/

Open up the Footman model from war3.mpq and extract it

sshot-1.png


Save the model as a .mdl

sshot-2.png


Open the model using notepad.exe or any program that can open .txt files.

sshot-3.png


Find "Textures\Footman.blp" since this is the texture of the unit we need to change.

sshot-4.png


Once you find it change the path to whatever you want for this example we will be using "Textures\NewFootman.blp"

sshot-5.png


Once your done open the model with Magos Model Editor you might get this error.

sshot-6.png


This error means that the model is looking for the path of the skin just make a new folder called Textures and put the texture of the new footman in it and rename it to NewFootman.blp

sshot-7.png


(We have the file "NewFootman.blp" in Textures folder)


Now we have our finished model with its new texture.

sshot-8.png


Now save the model again but this time change the path to .mdx

sshot-9.png


Import your file into World Editor using these settings for our example.

sshot-10.png


In order to use our model we need to make a new unit and change the Art - Model File

sshot-11.png


You might get this error green box, relax just restart World Editor and you will see your brand new Texture.

sshot-12.png


And Here is our final results

sshot-13.png


(NOTE: You will need to do the same thing to the Portrait Model that corresponds with the model.)
Have fun making normal models with custom textures =)







How to remove Hero Glow using .mdl

Ok this section will show you how to remove hero glow from a model, for this example we will be using the Orc - FarSeer Model

Open up your model using Magos Model Editor

sshot-2-1.png


Now save your model as .mdl

For some simple knowledge we know that Replaceable Texture 2 is the texture used on hero glow.
We need to find which material our model has the hero glow in we need to use Magos Model Editor for this.

Open your .mdl file in Magos model editor and go to the Geoset Manager

sshot-1-1.png


Once you have that menu you will have a list of geosets we need to find out which one is the hero glow.
Now try to find a nice place to click the hero glow without touching the other parts of the model you will need to hold Ctrl while clicking the Hero glow, it will blink once for you.

On the Geoset Window, it will highlight one for you, that's the one we are looking for (Hero Glow)

sshot-4-1.png


This list is ordered by a Materials number, in this case this model has 3 Materials and the hero glow is the 3rd layer

Open up the .mdl file in notepad.

sshot-3-1.png


Find for "Materials 3" (Ctrl + F)

you will see this

sshot-5-1.png



Since our hero glow was the 3rd on the list we need to remove the last section of our material section.

sshot-6-1.png


Change Materials 3 to Materials 2 since we just removed one.

Once you delete that we can now remove Replaceable Texture 2 from our model

Our model has 5 textures so look for "Textures 5" now find the texture we don't need and remove it.

sshot-7-1.png


Change Textures 5 to Textures 4 since we removed it.


Now save the file and open it in Magos Model Editor and this is what your hero should look like now.

sshot-8-1.png


Your hero should now have or should I say, shouldn't have a hero glow anymore ;)
Now just convert it to .mdx and import it to your map and have fun!.


How to remove a Weapon from a Model


For this section I will show you how to remove a weapon from a hero.

We will need Oinkerwinkle's Vertex Modifier
http://www.oinkerwinkle.com/tools/vertexmodify.zip
and Magos Model Editor

For this example we will be removing the weapon from the Blademaster Model.

Open your model from Magos Model Editor

sshot-2-2.png


Save it as .mdl and open it in Oinkerwinkle's Vertex Modifier.

sshot-1-2.png


It will ask you which geoset to open, we need to find the geoset that has the weapon in this case it's number 4.

sshot-3-2.png


Now make sure you erase all of the weapon and then save it.

sshot-4-2.png


Now open the .mdl in Magos Model Editor and this is what you should get

sshot-5-2.png


Now if you want, you can follow my hero glow removal section and remove the glow from the Blademaster.

sshot-9-1.png





-Orc_Tamer

Here are the files I used in this tutorial
 

Attachments

  • Footman.mdl
    294.8 KB · Views: 395
  • Footman.mdx
    102.6 KB · Views: 365
  • NewFootman.blp
    208.4 KB · Views: 395
  • HeroFarSeer.mdl
    372.3 KB · Views: 391
  • HeroFarSeer.mdx
    130.4 KB · Views: 362

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
You never showed anything to do with changing the skin with notepad, only telling us how to make a new skin for a model w/o overwriting something, or something like that.
 

Sooda

Diversity enchants
Reaction score
318
Does it means when I would export that new footman model and then import to new map it would just work or I need to import skin.blp also ? Or it requires them both but you don' t have to write specific texture paths ? Looks good.
 

elmstfreddie

The Finglonger
Reaction score
203
You must make a footman model, by exporting an mdl from the model editor. Then you edit the mdl, open it, convert to mdx, save, then import the skin and the mdx.
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
-Bump

Added new section (Hero Glow Remove)
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Awesome. This is extremely helpful. +rep

I can't even give any suggestions because this has a great explanation and can be extremely useful for a map. Thanks! :D
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Thanks, I really appreciate it :)

I'm going to add another section on Weapon removal. :cool:
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Awesome. But it can be simply done with Oinkerwinkles Vertex Modifier but you know... Both ways get it done. :D

Also, I ran into a problem. When I open the model in Notepad, it suddenly just opens everything with the encoding. How do I make it not open it with the encoding? It puts up all these strange letters instead of the actual model because it encodes the stuff. :confused:
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Awesome. But it can be simply done with Oinkerwinkles Vertex Modifier but you know... Both ways get it done. :D

Also, I ran into a problem. When I open the model in Notepad, it suddenly just opens everything with the encoding. How do I make it not open it with the encoding? It puts up all these strange letters instead of the actual model because it encodes the stuff. :confused:

I was going to make the tutorial based on Oinkerwinkles Vertex Modifier :p

About your problem, are you sure your using a default font and your using notepad?
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Cool. Is there going to be any more addons? Like how to add/remove team particles?

I know Jacek made one on m'n'm but... Not many people here look on M'n'm. :)
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Will this thread be moved to either Graveyard or Repository?
 

chovynz

We are all noobs! in different states of Noobism!
Reaction score
130
Hey Orc...What about "Adding a Hero glow to any unit?" Would you do a writeup on that?

+rep from me for this tut anyways.
 
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

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top