HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Team colour and its materials.

06-19-2006, 04:30 AM#1
Werewulf
Um, well here is a model im just testing, (not a full blown one) the anims r dodgey but meh..and i need to fix the decay but..erm..

iv seen some tuts on TC in mdl but i cant get it workin on my model,
here is my model..
btw, i would also like to know how to get decay flesh thign to work, for future models.

PS: i used guesst's milkshape exporter beta5 i think(thankyou!) so that may help...
Attached Files
File type: mdlHerculesMech.mdl (130.8 KB)
File type: blpHerculesMech.blp (192.5 KB)
06-19-2006, 03:25 PM#2
Guesst
For team color, just add 'teamcolor' to the comment of the material in Milkshape. If you're talking about glow, then add 'glow' and use this version that I'm attaching and is barely tested at all, if you dare.

And on your texture, you need to make the area to be team color have a black alpha channel.
Attached Files
File type: zipstuff7.zip (25.0 KB)
06-19-2006, 03:27 PM#3
Whitehorn
If you want MDL help, post the material and texture section (as text).

Before:

Code:
Materials 1 {
	Material {
		Layer { 
			FilterMode None,
                                                     TwoSided,
			static TextureID 1,
		}
}
	Material {
		Layer { 
			FilterMode None,
                                                     Unshaded,
			static TextureID 0,
		}
}
	
}

After:

Code:
Materials 2 {
	Material {
		Layer { 
			FilterMode None,
                        Unshaded,
			static TextureID 0,
		}

		Layer { 
			FilterMode Blend,
			static TextureID 1,
		}
}

	
}
06-20-2006, 05:56 AM#4
Werewulf
hmm.. i cnped whitehorn but it dont do anythin...

oh..and pspX the one i use dont do black alpha, makes white, makin tm red look pink which really ticks me off, ill try gimp.
thnx.
06-20-2006, 08:20 AM#5
Whitehorn
That's only the first material, I assume you kept the second material too?
06-20-2006, 08:25 AM#6
Werewulf
huh?
second?
i think i got things jumbled..dammit...
06-20-2006, 08:50 AM#7
Whitehorn
Your file has 3 materials, but the models only use the first 2:

Code:
Materials 1 {
	Material {
		Layer { 
			FilterMode None,
                                                     TwoSided,
			static TextureID 1,
		}
}
	Material {
		Layer { 
			FilterMode None,
                                                     Unshaded,
			static TextureID 0,
		}
}
	Material {
		Layer { 
			FilterMode Blend,
                                                     TwoSided,
			static TextureID 1,
		}
	}
}

To create team colour, you need a material with 2 layers, as I showed in above post.

Asumably yuo also have parts that don't need team colour, which should use the following material:
Code:
Material {
		Layer { 
			FilterMode None,
                        TwoSided,
			static TextureID 1,
		}
}

And/or if you want sections that can be erased (alpha on texture):

Code:
Material {
		Layer { 
			FilterMode Transparent,
                        TwoSided,
			static TextureID 1,
		}
}
06-24-2006, 07:06 AM#8
Werewulf
hmm...iv got the tc to work now..but iv found a bug with your exporter.

sometimes when i click that "operate joints thing" and export it goes out bad. or sometimes when i dont save my model then export i get the same thing. the way i fixed that is by afew undo and save clicks. although.. i had to check every testing i did (20times :0)
Attached Images
File type: jpgGood.jpg (38.2 KB)
File type: jpgBad.jpg (40.6 KB)
06-24-2006, 11:18 PM#9
Guesst
Exit animation mode when you're exporting and that shouldn't happen.