Need help with textures.

Hi!
So I’m trying to make custom models for my map I’m making, but whenever I compile them from .qc to the .mdl and other files, I get purple and black squares.

Here’s my QC File:


$modelname	"mc new models\creeper.mdl"
$body mybody	"Cube.smd"
$staticprop
$surfaceprop	combine_metal
$cdmaterials	"models\creeper\creeper.vmt"

$sequence idle	"Cube.smd"

$collisionmodel	"Cube.smd" { $concave }

And here’s my .vmt:


VertexlitGeneric
{
	$baseTexture "models\creeper"
}

Any help? I’ve googled like crazy but nothing.

Looks like your problem lies in the QC with the $cdmaterials line. $cdmaterials should point to the directory where the VMTs are located, rather than the vmt file itself.
Also with your VMT the $basetexture should have a path to where the VTF file is located, as well as the name of the VTF file added at the end (with no extension).

Here’s an example-
QC:


$cdmaterials "models/AlanWake/"

VMT:


"VertexlitGeneric"
{
$basetexture "models/AlanWake/cardboard_d"
}