View Single Post
Old
  (#4)
PKM is Offline
Member
 
Posts: 47
Join Date: Jun 2005
Location: San Anphonio (Hell)
   
Default 08-26-2005, 08:36 AM

the tank commander uses an alpha level. to make it easier on yourself use the officer with the gray overcoat.

pak2.pk3\textures\common\reflection1.tga

there is no textures for whatevertexture_c, this code line is basically telling the original texture in the name (ie. tc_coat) to 'cull'' around the model..........i'm sure someone else can give a better definition but there is no texture for that.
as long as you have the texture tc_coat.tga in your texture file and the code line for tc_coat_c in your shader file, you're fine.

look at the code for the tc_coat_c shader again:

[quote:8c751]
}
tc_coat_c
{
qer_editorimage textures/models/human/germanmaps/tank_commander/tc_coat.tga
cull none
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
}
{
map textures/models/human/germanmaps/tank_commander/tc_coat.tga
rgbGen lightingSpherical
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
}
}
[/quote:8c751]

and then see how it uses the same texture in the tc_coat code in the same shader :

[quote:8c751]
tc_coat
{
qer_editorimage textures/models/human/germanmaps/tank_commander/tc_coat.tga
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
}
{
map textures/models/human/germanmaps/tank_commander/tc_coat.tga
rgbGen lightingSpherical
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
}
}
[/quote:8c751]

pak2.pk3\textures\models\human\viewsleeves\sv_tanc om.tga
  
Reply With Quote