Texture not going to transparnet!


[:C:]Zer0
05-18-2003, 06:41 PM
Hi,
Im trying to make a model for a map. I have compiled a {blue model already and it worked. But now its not im using the new compiler. heres the bmp.

Ska Wars
05-18-2003, 06:44 PM
Open up the .qc file for the model and enter the follwing line to the .qc (anywhere will do)


$texrendermode "(name of texture with transparent parts).bmp" "masked"

so in this case it may be:


$texrendermode "grass.bmp" "masked"

Hope that sorts it for you mate,

Ska

[:C:]Zer0
05-18-2003, 06:44 PM
also heres the qc

$modelname "C:\Sierra\Half-Life\Model Tools\grass.mdl"
$cd "\Sierra\Half-Life\Model Tools"
$cdtexture "\Sierra\Half-Life\Model Tools\"
$cliptotextures
$texrendermode "grass.bmp" "additive"
$scale 1.0

// 0 attachments

// 0 bone controllers




$bodygroup parts
{
studio "grass"
}

// 1 sequences
$sequence idle "idle" fps 1

Ska Wars
05-18-2003, 06:45 PM
just add that line of code above all that and it should work.

Ska

[:C:]Zer0
05-18-2003, 06:46 PM
just tryed it and didn't work

Ska Wars
05-18-2003, 06:48 PM
huh?

Copy and paste this into your .qc



$modelname "C:SierraHalf-LifeModel Toolsgrass.mdl"
$cd "SierraHalf-LifeModel Tools"
$cdtexture "SierraHalf-LifeModel Tools\"
$cliptotextures
$texrendermode "grass.bmp" "masked"
$scale 1.0

// 0 attachments

// 0 bone controllers




$bodygroup parts
{
studio "grass"
}

// 1 sequences
$sequence idle "idle" fps 1


Ska

Devin Kryss
05-18-2003, 06:51 PM
open it in photshop, go to image> mode> color table. Set the last color to that blue. and saver, it should work.

[:C:]Zer0
05-18-2003, 06:53 PM
I didn't make the texture :/ he just wanted me to make the texture

[:C:]Zer0
05-18-2003, 06:54 PM
i mean model

Jack Handey
05-18-2003, 06:54 PM
Noo no no, the blue needs to be the last colour on the colour table. If I can figure out how to move colors, I'll fix it.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.