Missing texture on my custom prop

Asd417

Sample Text
aa
Mar 20, 2016
1,451
1,031
Its probably a very easy fix but I am really not sure.
I compiled a prop, opened it up in hammer and it has missing texture
Here's what I do know for sure.
1. my qc has $cdmaterial models\props_volcano
2. The smd file keeps looking for metaldoor001.png which was intended since that's the texture I used
3. I have metaldoor001.vtf, metaldoor001.vmt in models\props_volcano folder along with dx80, dx90, mdl and stuff

Can you help me find out why it still has missing texture?
 

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
3. I have metaldoor001.vtf, metaldoor001.vmt in models\props_volcano folder along with dx80, dx90, mdl and stuff
By the sounds of it, you have all your model and texture files in the same folder which would be wrong.

To use 2fort props as an example, the material files (.vmt's + .vtf's) would go in:
Team Fortress 2\tf\materials\models\props_2fort

While the model files (.dx80, .dx90, et al) would go in:
Team Fortress 2\tf\models\props_2fort

Make sure you check and correct the $basetexture file paths in your .vmt's as well.
 

Asd417

Sample Text
aa
Mar 20, 2016
1,451
1,031
So models go in tf/models/prop_volcano
and materials go in tf/materials/models/prop_volcano
but my model still has a missing texture

This is the vmt
Code:
"VertexlitGeneric"
{
    "$basetexture" "Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\models\props_volcano\metaldoor001.png"
    "$translucent" 1
}
could this bs problem?
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
The basetexture should use the entire path AFTER tf/materials/, and without the file extension, like so:
  • "$basetexture" "models/props_volcano/metaldoor001"
for a texture file called metaldoor001.vtf in tf/materials/models/props_volcano/.
 

Asd417

Sample Text
aa
Mar 20, 2016
1,451
1,031
The basetexture should use the entire path AFTER tf/materials/, and without the file extension, like so:
  • "$basetexture" "models/props_volcano/metaldoor001"
for a texture file called metaldoor001.vtf in tf/materials/models/props_volcano/.
It worked! thank you!