model compiling error

Some0ne

Newbie
Joined
Dec 14, 2004
Messages
296
Reaction score
0
im trying to compile a model.
iv set everything up; i have my smd files, vtf and vmt files and qc file all in the right place. but when i try to use studiomdl.exe to compile by running a .bat file with the command line telling it to compile my qc file, it doesnt work. i get a message in red saying "error opening [then it gives the correct directory of my qc file]"

does anyone have any ideas aas to what is wrong here?
or could anyone tell me what could be wrong for that error message coming up? does that mean there is something wrong with my qc file or is it just in the wrong place?

thanks
 
ok i did it.
it turns out that steam changed the file structure for compiling. it used to be done in sourcesdk\gamename(eg cstrike_sample_content) but now its done in sourcesdk_content\gamename (eg cstrike).
but i still had a problem with compiling using the .bat file and i think other people may be having difficulties here too so il explain what i did.
if there is an easier way then please tell me because i just couldnt work out any other way to write the command line for the bat file with the correct dir.

i copied the "bin" folder from the sourcesdk directory and pasted it in sourcesdk_content. i then created a .bat file with a similar command line as before with just the updated directory:

studiomdl.exe ../cstrike/modelsrc/XXX.qc
pause
 
Back
Top