MDL Editing - Material for teamcolor ~Help needed.

Status
Not open for further replies.
Level 4
Joined
Oct 10, 2004
Messages
76
Yeah, so I´m doing a little geo-merging, I´m adding a hood from the rifleman to the grunt.
Everything goes smooth until I stumble across this problem; I don´t know what to write when a material is teamcolor, thus making the alpha on the texture erase the hood instead of making it teamcolor. (See pic)
This should be a really basic problem, so I´d really appreciate any help given.
Ps. I hope I explained everything right^^ Just ask if the problem is unclear.
 
With geomerging, the material created for the new geoset is simply one that refers to the texture. However, you need something like this:
Code:
Material {
	Layer {
		FilterMode None,
		Unshaded,
		static TextureID X,
	}
	Layer {
		FilterMode Blend,
		TwoSided,
		static TextureID Y,
	}
}
Where texture X is a ReplaceableId 1 texture, almost all models have one built in, and texture Y is the rifleman skin. That should sort you out.
 
Status
Not open for further replies.
Back
Top