Now I'm sure I am not the only one with this problem, but I can't get my weapons to be team colored in game. They have the proper Skin 1 and Skin 2, but when using the weapons in game, they just have the first skin no matter what team I am on.
For the sake of example, I have this model with a .qc as follows.
$cdmaterials "models/weapons/c_items/newspaper/"
$texturegroup skinfamilies
{
{ "newspaper" }
{ "newspaper_blue" }
}
And in the model viewer, both skins are viewable.
Skin 1: Red
Skin 2: Blue
But once I am in game, only the RED skin will be visible for both teams.
I'm wondering if this is something that valve has to hard code into the game? If not, how do I fix it?
Replies
that would cause the exact problem your describing.
No. If that were the case, then the blue skin would be red in the model viewer.
hasteamcolours <bool>
by replacing this file with a fixed version, you can make the weapon use team colours.
I'm looking up in the gcf now, i'll get back to you
At least it doesn't really matter since if your item gets into the game they'll handle that for you anyways.
On an aside, I made a bat ctx file about a year ago as part of a pack to add team colours
http://www.fpsbanana.com/skins/62815
The issue comes from the script file telling the engine to look for team colours as well as adding texture groups to the model. If the script file doesn't tell it to use the texture groups, then it always displays the default.
Hope this helps!