Texture Conversion Woes

Venmoch

Newbie
Joined
Jan 15, 2004
Messages
1,064
Reaction score
0
OK, this may take a way and will probably be solved with a really simple answer but I'll ask anyway.

I'm attempting to convert a CS 1.6 world model into HL2. The mesh and everything works fine, however, the compiled model always seems to have that annoying Purple and Black "Texture Missing" texture. Now I've gone into Milkshape and made sure the SMD is looking for VMT's and I'm fairly sure the .qc file is pointed in the right place, (Currently its $cdmaterials "materials\models\weapons\w_Irifle\" but I've tried a few other settings) however HL2 seems unable to see it.

Any ideas? or am I just missing something increadibly fundamental here? (Incidently if it helps the TGA's weren't compiled into the actual materials folder and copied over, could this be causing it as well?)

The VMT's contain

Code:
"VertexLitGeneric"
{
	"$baseTexture" "materials\models\weapons\w_Irifle\body.vtf"
}

Thanks for the help guys!
 
make sure that "body.vtf" is in the directory where the vmt is looking for it. and also make sure that the VMT is in the same folder as the "$cdmaterials" command of the model's qc file
 
They both are. The thing is, that even though thats been done it still comes up with the purple and black texture.
 
are these files in the the game folder? or are they just in sourcesdk folders?
 
OK, just figured out where I went wrong.

Suprisingly enough, you don't put .vtf at the end of the line in your vmt.

Lets just say when I found out, I swore.
 
Back
Top