| 05-07-2004, 09:41 AM | #1 |
How it works Removing of them is pretty easy, it doesn't requires much work. It can be done solely in Notepad/Wordpad. Let's get started. Tools needed: Notepad/Wordpad YobGuls' Fileconverter Get it here Any programs that can extract models How it can be done First, get the model you would like to remove its Team Color or Glow. I will explain on how to remove Team Color first. Open YobGuls' Fileconverter, then click on Load file, load up the .MDX of the model you extracted. Then, click on convert to .MDL. Open the .MDL file with Notepad/Wordpad. Ctrl+F Textures. Code:
Textures 3 {
Bitmap {
Image "Textures\Peasant.blp",
}
Bitmap {
Image "",
ReplaceableId 1,
}
Bitmap {
Image "Textures\gutz.blp",
}
}Code:
Bitmap {
Image "",
ReplaceableId 1,
}ReplaceableID 1, means Team Color, 2 means Team Glow. Count the number of textures, until you reach this one, starting from 0. In this model, it's 1. (So if it's the 10th texture in the Textures section, it would be 9) Then Ctrl+F TextureID x Where x = the number you got just now. Code:
Materials 3 {
Material {
Layer {
FilterMode Transparent,
static TextureID 0,
}
}
Material {
Layer {
FilterMode Transparent,
Unshaded,
TwoSided,
static TextureID 1,
}
Layer {
FilterMode Blend,
static TextureID 0,
}
}
Material {
Layer {
FilterMode Transparent,
static TextureID 2,
Alpha 6 {
Linear,
46533: 0.748443,
52900: 1,
98133: 1,
99800: 1,
155733: 1,
159800: 0.75,
}
}
}
}Code:
Material {
Layer {
FilterMode Transparent,
Unshaded,
TwoSided,
static TextureID 1,
}
Layer {
FilterMode Blend,
static TextureID 0,
}
}Copy the whole line, including the spaces in front, then make a new line below it, then delete everything except for the 'static ' and the spaces in front, then type 'Alpha 0'. You will then see this: Code:
Material {
Layer {
FilterMode Transparent,
Unshaded,
TwoSided,
static TextureID 1,
static Alpha 0,
}
Layer {
FilterMode Blend,
static TextureID 0,
}
}Then open your YobGuls' Fileconverter(You need to close the previous one and open again for some reasons.) Then again, click on Load File, make sure the extension for the file is .MDL, then load it up. Convert it back to .MDX file, then all is done, Team Color removed!!! YAY!!! For Team Glows, do the same. Except that it is ReplaceableID 2, not ReplaceableID 1. If you have any further questions regarding this, post it here and I will answer them. |
| 05-09-2004, 04:42 AM | #2 |
Can you give an example of how that would work with a hero such as the demon hunter or something, because they have more materials and texutures and such. |
| 06-20-2004, 03:47 PM | #3 |
What language is this? I know C++ by the way. also is there a Mac equivilent to that program? /// |
| 06-21-2004, 06:08 AM | #4 | |
Quote:
This is mdl. It requires you notepad/wordpad. No c++ is used here. |
| 06-21-2004, 06:15 PM | #5 |
Ok but any programming language is a snap to learn once you know just one. Is there a nice guide taht tells you the function names and what they do somewhere? /// |
| 06-22-2004, 04:08 AM | #6 | |
Quote:
I'm not quite sure. I figure out the whole thing of mdl just by messing around with them with experiments and such and experience(;)). But you can kinda easily figure a few out if you would to open an .mdl of a model. |
| 06-23-2004, 04:31 PM | #7 |
Im most curious actually about making White as a team color. /// |
| 07-27-2004, 03:50 PM | #8 | |
If you want to make all units of a side have white as a team color, import a while BLP to ReplaceableTextures\TeamColor\TeamColor00.blp . Quote:
|
| 07-28-2004, 04:41 PM | #9 | |
Quote:
Most interesting. It's a pity I can't get Yobguls' file converter to work. [message edited.] |
| 10-03-2004, 01:30 PM | #10 |
ok i followed you until the last step, wasn't all that you did was add the line "stats Alpha 0," |
| 01-05-2005, 03:28 AM | #11 |
When I tried it, it didn't work. |
| 01-08-2005, 03:13 PM | #12 |
If you post the broken MDL, someone might be able to help you. Just saying that it didn't work isn't enough to tell what's wrong. |
| 01-08-2005, 04:19 PM | #13 |
I found out that using this method doesn't always work. I found that Whitehorn's tutorial of replacing a geoset with an empty one worked. Using Oinkerwinkle's vertex modifier you can easily delete the hero glow geoset which can be found in the treeview in Warcraft 3 viewer, (meshes). |
