
It looks like its asking about a VMF. Now I don't have any VMF's for it all I have is a VMT for it in my hl2/materials/model folder.




Hmm, well, first off I think you're referring to a .vtf instead of a .vmf, which would be the file Hammer reads for compiling maps. Besides, any & every texture in Source needs to have a .vtf along with it. Just take the .tga you're using to UV map your model and drag it over vtex.exe. It'll automatically create for you your .vtf file.
The error is asking about the .vmf but that's because Hammer is crashing, so doesn't necessarily mean something is wrong with your map.
Now for the .qc file...
For $modelname, if your model is under the model's folder, then you shouldn't need to list "model/cake.mdl" just "cake.mdl" unless your .mdl is within a subfolder named "model" that is under the original folder named "model" under the hl2 folder. Then you would list the subfolder.
For $cdmaterials, same concept, you shouldn't need to list the "materials" folder. However, you DO need to list the "models" folder because it is a subfolder under materials.
I don't know if that will have an effect or not, cause I've had past problems with .qc files, and stuff like that sometimes would help.
I would try opening it first in Modelviewer instead of Hammer, after all, that's what it's for! See if any issues come up there.








Perhaps also the VTX files, the VVD files and the PHYs files that go along with it? And perhaps even the .smd files incase it may be a problem with the way the model was constructed? Of course that would be treading into having problems with the modeling suite, not Hammer; so those are at your own discretion. May I ask what modeling program you used?


