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: 394
  • Footman.mdx
    102.6 KB · Views: 364
  • NewFootman.blp
    208.4 KB · Views: 394
  • HeroFarSeer.mdl
    372.3 KB · Views: 389
  • HeroFarSeer.mdx
    130.4 KB · Views: 359

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.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • 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 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