test model (pink and black) need help

willy-wilson

L1: Registered
Jul 5, 2009
8
5
i just made a test model a box with normal map and color map the model compiled correctly and i think the .vtf's and .vmt are in the correct places but the model shows up pink and black in the model viewer. any help would be appreciated

the .qc and .vmt are attached
 

Octoplasma

L1: Registered
Jan 19, 2009
28
19
Make sure the name of the texture you are using is the same as the name of the texture you applied to your mesh in your 3d modeling program.
 

Rexy

The Kwisatz Haderach
aa
Dec 22, 2008
1,798
2,533
Make sure the name of the texture you are using is the same as the name of the texture you applied to your mesh in your 3d modeling program.

Yes, usually when exporting to SMD's there's some sort of naming hierarchy used in the 3-D software that tells the model which texture to use when it moves onward on it's way to becoming a model. Try using consistent names throughout and see if you can get a successful result that way.
 

SiniStarR

L8: Fancy Shmancy Member
Mar 31, 2009
585
116
did you put your textures in your teamfortress2/tf/materials/(what you called the folder)?

You ahve to do that manually
 

willy-wilson

L1: Registered
Jul 5, 2009
8
5
yes i did... i tried doing it automaticly but it didnt work so i did it manually i really cant figure out whats wrong
 

TracerDX

L3: Member
Jun 9, 2009
127
26
The .qc file can be used to over ride the material name, just to be sure you got it all sync'd. In XSI, I found the name it used for the material not very intuitive. Unfortunately, I used a TGA in a completely different subdirectory than the model project and was unable to figure out how it was "translated" in the SMD. But since I was using multiple skins, that directive allowed me to explicitly define which vmts to use in the resulting model files. I'm pretty sure I read about a default qc material over-ride as well, for single texture models...