HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with Alpha Channels.

01-19-2006, 07:58 PM#1
Fyrestorm
I am skinning the Nightelf Huntress as just the panther alone. I figured the easisest way to do this would be to alpha all the skin except the panther.
However after i do this, the huntress still shows up on the panther.
I know i have the alpha channels done correctly, beacause when i load the skin and model in Md2toMDX converter, i only see the panther.

However, if i open the skin+model in War3ModelEditor or the map editor, i see some parts have gone insisible, but others havent. (For example the shield is fully red,missing the details that I have alphaed)

Is this a problem with limits of amount of alpha or what? I you know whats wrong, please answer.

(File in .blp is attached)
Attached Files
File type: blpSentinel2.blp (203.5 KB)
01-19-2006, 08:10 PM#2
Jacek
Well... I don't have time to look at model, but... some parts of model are marked as teamcolor and you can't alpha them by skin no matter what you do. They will be plain player-color. To completely remove the huntress you have to make some MDL editing.
01-21-2006, 09:26 AM#3
spirit_man
i suggest Vertex Editor, try searching on google for it.
01-21-2006, 02:17 PM#4
Tim.
http://www.oinkerwinkle.com

Anyway this model has already been made at Wc3Sear.ch, look at the bottem of the list, it's one of the first models ever uploaded there.
01-28-2006, 01:00 AM#5
Fyrestorm
OK thanks, vertex editor works like a charm anyway, so sorry for bothering you with this. I'd still like to know the problem, but its fixed so I dont care that much.
01-28-2006, 01:59 PM#6
Tim.
There was nothing wrong. If an object is given a team-color base, then alpha would just make the entire shield team-color. As far as why it will not work in-game, you might have had the path wrong.
01-30-2006, 07:28 PM#7
Fyrestorm
Sorry, maybe I didnt explain this properly. I have removed the entire skin that isnt the panther through alphaing. (what i hadn't realised before was that team colour could not be removed like this)

However, what this does is that the detail on the parts of the model that were teamcoloured are removed (shield,shoulder pads etc) and the teamcolour is put in. But, only small parts of the rest of the skin are removed, for example leaving the head (which I had alphaed out) hanging in mid-air.
This is what happened, NOT that everything but teamcoloured parts disappeared.
01-30-2006, 07:33 PM#8
Whitehorn
Some parts don't have transparency material. They show up white if you apply alpha texture to them.

Material with no transparency = shows as white when alpha texture is applied.
Code:
Material {
		Layer {
			FilterMode None,
			static TextureID 0,
		}
	}
Transparent material = alpha texture appears transparent
Code:
	Material {
		Layer {
			FilterMode Transparent,
			TwoSided,
			static TextureID 0,
		}
	}

Material with a team coloured layer underneath = alpha texture shows the team colour through
Code:
	Material {
		Layer {
			FilterMode None,
			Unshaded,
			TwoSided,
			static TextureID 1,
		}
		Layer {
			FilterMode Blend,
			TwoSided,
			static TextureID 0,
		}
	}

And those 3 materials are applied to these 3 mesh groups:

Zoom (requires log in)
Attached Images
File type: jpghuntress_mats.jpg (20.0 KB)
02-01-2006, 07:40 PM#9
Fyrestorm
I thought it might be something like that,but I didn't try and explain it for fear that it would be to convoluted to understand :P . I'm glad thats cleared up for certain now anyway. Thanks everyone.