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

Prometheus

Everything is mutable; nothing is sacred
Reaction score
589
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.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top