
05-29-2004, 10:30 AM
I keep texture compression off anyways because I have moded gun skins. Right now i have a working model of the tc model with a Mushroomhead face. here is a screenie of it.
[img]http://img72.photobucket.com/albums/v218/The-G-Man/501%20Mohaa%20Clan/My_Mushroomhead_Skin_05_25_2004.jpg[/img]
If u look in this pic, this is how i want the tc_coat to look like(person in the middle).
[img]http://img72.photobucket.com/albums/v218/The-G-Man/Mushroomhead_group_photo.jpg[/img]
When i edited the coat and hat but filling it will a color and saved it i renamed it mushroomheadcoat.tga and mushroomheadhat.tga.
Here is my shader and tiki file so if any find a mistake tell me.
Shader:
Mushroomheadcoat
{
qer_editorimage textures/models/human/germanmaps/Mushroomhead/Mushroomheadcoat.tga
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
}
{
map textures/models/human/germanmaps/Mushroomhead/Mushroomheadcoat.tga
rgbGen lightingSpherical
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
}
}
Mushroomheadcoat_c
{
qer_editorimage textures/models/human/germanmaps/Mushroomhead/Mushroomheadcoat.tga
cull none
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
}
{
map textures/models/human/germanmaps/Mushroomhead/Mushroomheadcoat.tga
rgbGen lightingSpherical
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
}
}
l_gloves
{
qer_editorimage textures/models/human/germanmaps/Mushroomhead/l_gloves.tga
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
}
{
map textures/models/human/germanmaps/Mushroomhead/l_gloves.tga
rgbGen lightingSpherical
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
}
}
Mushroomheadhat
{
qer_editorimage textures/models/human/germanmaps/Mushroomhead/Mushroomheadhat.tga
{
map textures/common/reflection1.tga
rgbGen lightingSpherical
tcgen environmentmodel
}
{
map textures/models/human/germanmaps/Mushroomhead/Mushroomheadhat.tga
rgbGen lightingSpherical
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
}
}
Mushroomhead
{
qer_editorimage textures/models/human/faces/Mushroomhead.tga
{
map textures/models/human/faces/Mushroomhead.tga
rgbGen lightingSpherical
}
}
Tiki:
TIKI
setup
{
path models/human/german_panzer_tankcommander // Set path to set skelmodel from
skelmodel panzer_tankcommander.skd // Set body model
surface coat1 shader Mushroomheadcoat
surface pants shader obershutze_pants
surface coat2 shader Mushroomheadcoat_c
path models/human/heads // Set new path for head model
skelmodel head7.skd // Set head model
surface head shader mushroomhead
path models/human/hands
skelmodel hand.skd
surface hand shader l_gloves
path models/equipment/germangear
skelmodel tankofficerhat.skd
surface hat shader Mushroomheadhat
}
//
// define what folder to get specific sound from for the player model
//
$define pulloutdir sound/weapons/pullout
init
{
client
{
// Cache sounds here
}
server
{
voicetype axis5 // set the voicetype to use for multiplayer instant messaging
}
}
//
// include the base player model definition
//
$include models/player/base/include.txt
// need to indicate the end of the tiki file because we have a tiki command at the end
//end
|