HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Team color?

11-15-2005, 12:33 AM#1
absolutezero
I am making lightsabers for one of my maps ^_^
Someone has done it before, I wish I knew how.
I'm using oinkerwinkle's tools for this, just to let you know.

Anyway, what I'm doing: I'm making a "stick" that sharpens to a point, kind of like a lightsaber. When holding the lightsaber item, this stick will be attached to your hand.
Then I tried UV mapping it with some custom images, and it didn't seem to work - when I tried to make blue it made it red.

After tweaking a couple of things I found that it was red because the team color was, by default, set to red. When I changed the team color it changed the color of the saber. Anyone have an idea how to make it so that it stays the same no matter what team color I use?
12-19-2005, 06:35 PM#2
iNfraNe
I think it was by editing the materials. I will prolly know what to do if you show me the materials section of the model.
12-19-2005, 06:37 PM#3
Whitehorn
Please post the mdl code here.

From the start of Textures, to the end of Materials.
12-19-2005, 06:58 PM#4
Nasrudin
In the mdl you should have these lines:

Bitmap {
Image "",
ReplaceableId 2,
}
change them to

Bitmap {
Image "ReplaceableTextures\TeamGlow\TeamGlow01.blp",
}
12-21-2005, 01:58 AM#5
absolutezero
O.O

It's been a while since I looked here.

Tim. has helped me out with the problem, thanks a lot. It turned out that there were quite a few problems, the first of which was that I wasn't using a valid filetype.

Thanks anyway, however :)