HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question

02-09-2005, 03:02 AM#1
luckyownz92
For models how do I place 2 textures into 1 model. I tried it but if i activate 1 skin in wc3 viewer the rest gets filled in with that skin and I try to activate the other and it doesnt affect it. I could really use some help I think its the materials in the mdl so If anyone can help me I hope its soon
02-13-2005, 02:12 PM#2
Oinkerwinkle
You have four textures, but only one material. Materials are what model end up actually using. Change your materials section to look like this:
Code:
Materials 4 {
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 0,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 1,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 2,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 3,
		}
	}
}
After that, material 0 is the face, material 1, is the upper body, etc.

Next, you have to make it so diferent geosets use different materials. Near the bottom of each geoset is a line that looks like "MaterialID 0,". Change that 0 to 0-3, depending on which material you want that specific geoset to use.
02-13-2005, 03:59 PM#3
luckyownz92
Quote:
Originally Posted by Oinkerwinkle
You have four textures, but only one material. Materials are what model end up actually using. Change your materials section to look like this:
Code:
Materials 4 {
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 0,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 1,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 2,
		}
	}
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 3,
		}
	}
}
After that, material 0 is the face, material 1, is the upper body, etc.

Next, you have to make it so diferent geosets use different materials. Near the bottom of each geoset is a line that looks like "MaterialID 0,". Change that 0 to 0-3, depending on which material you want that specific geoset to use.
Oinkerwinkle what would I ever do without you :P. Seriously thanks man you rock!