recompiled model not finding textures

recompiled model not finding textures

Re: recompiled model not finding textures Posted by haymaker on Wed Apr 29th 2009 at 5:45pm
haymaker
439 posts
Posted 2009-04-29 5:45pm
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
Ive tried a few different combinations whilst editing the .qc file trying to point it to the materials in hl2mp/materials/models/<mapname><modelname>

They are the original vmt and vtf from the cstrike gcf, I have edited the vmt to read currently:
VertexLitGeneric
{
    "$basetexture"    "models\<mapname>\<modelname>"

}
That points to the abovementioned folder setup, right?

So the qc file has been edited to read
$cdmaterials "models\<mapname>\<modelname>/"
// Model uses material "<texturename>.vmt"
where "models" is relative to the "materials" path in any structure, ie subfolder.

Every time I restart Hammer to look, it shows checkerboard on the model...Am I missing something syntax-wise or what's going on?
Re: recompiled model not finding textures Posted by haymaker on Thu Apr 30th 2009 at 2:07am
haymaker
439 posts
Posted 2009-04-30 2:07am
haymaker
member
439 posts 921 snarkmarks Registered: Apr 1st 2007 Location: CAN
Alright i fought my way out of this wet paper bag. My vmt was missing the actual .vtf name, which is the same as the folder it sits in, so it was pointing to a nonexistent file. yay