HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help with team color, please =(

11-03-2007, 06:42 AM#1
darkxion
I've read the tutorials I've found, I got Yobgul's Converter, changed the .mdx to an .mdl, and went through the steps to add team color, but it just isn't working, moreover, most of the things I've tried have ended in crashes in WE when trying to use the model. In WC3 Viewer the spots that should have team color are missing, it's just empty see-through spots, any help would be great, thanks.
11-04-2007, 03:26 AM#2
Snowdawn
Perhaps the skin has no alpha channel.

Convert the skin into TGA, open it up in Photoshop, and see if the alpha channel exists. If it doesn't, you will have to add it manually. If not, I don't know how to further help.
11-04-2007, 07:13 AM#3
darkxion
The skin does have an alpha channel, I'm pretty damn noob but not that noob =P
If the skin had no team color, but the layers in the .mdx were all correct, than the spots where team color should be - in the skin - would simply be..the...color of the skin, or something like that, but yeah, the spots were team color SHOULD be, are not any incorrect color, they're just....not there, transparent.
11-04-2007, 04:31 PM#4
Guesst
Do you have the MaterialId line set to point at the material you want in your geosets?
11-04-2007, 06:05 PM#5
darkxion
All I did was add the part for team color. So probably no, how do I do this?
Before I added the team color layer..
Hidden information:
Materials 3 {
Material {
Layer {
FilterMode Transparent,
static TextureID 0,
TwoSided,
}
}
Material {
Layer {
FilterMode Additive,
static TextureID 3,
TwoSided,
Unfogged,
}
}
Material {
Layer {
FilterMode Additive,
static TextureID 0,
TwoSided,
Unshaded,
}
}
}


After I added the team color layer...
Hidden information:
Materials 3 {
Material {
Layer {
FilterMode None,
static TextureID 4,
TwoSided,
}
Layer {
FilterMode Blend,
static TextureID 0,
TwoSided,
}
}
Material {
Layer {
FilterMode Additive,
static TextureID 3,
TwoSided,
Unfogged,
}
}
Material {
Layer {
FilterMode Additive,
static TextureID 0,
TwoSided,
Unshaded,
}
}
}
11-04-2007, 09:35 PM#6
Guesst
That's different from the one you posted above and I don't see why that second one you posted shouldn't work. Are you sure you have tested that version of it?
11-05-2007, 12:11 AM#7
darkxion
Yeah it is different, guess I posted the wrong one the first time..the second one where I added the team color, it does seem to work, in like, magos' or WC3 viewer, but I didn't test it in a map yet, the reason is that after I added the team color, the golden glow color on the sword stopped working, this *appears* to be added by the last line.
Hidden information:

}
Material {
Layer {
FilterMode Additive,
static TextureID 0,
TwoSided,
Unshaded,
}
}


I don't really understand how that part works, so I don't know how to layer it correctly. I somewhat accidentally double posted about this, although the other post didn't start out about this, I had one post about what I thought was hero glow, and wasn't, I ended up editing it out and saying never-mind, and started a new post about just the team color, but than someone was confused and asked about it, so I posted a reply explaining it >_<; I should probably get that other thread closed, so it doesn't make a freakin' mess (sorry) but here's the thread if yer curious about the golden glow that last layer creates (if I'm right and that is it)
http://www.wc3campaigns.net/showthread.php?t=97632