• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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.
 
Level 24
Joined
Mar 29, 2004
Messages
1,991
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.
Top