Nostradamus
Newbie
- Joined
- May 17, 2003
- Messages
- 980
- Reaction score
- 0
Argh this is driving me nuts!!!!
Just trying to compile a mdl file from the 3 smd files and i fail misserably...this is how i have the stuff set up so far:
In username\sourcesdk_content\hl2mp\modelsrc\static\barsign1
I have my 3 smd files and the qc file
In username\sourcesdk_content\hl2mp\materialsrc\models\static\barsign
I have my tga file
In username\half-life 2 deathmatch\hl2mp\materials\barsign
I have my vtf and vmt files
this is how my qc file looks like:
When I run the qc file(with the studiomdl gui app) I get an error saying something about $cdmaterials being an erronous command or sumthing...
Any help?
thanks!
Just trying to compile a mdl file from the 3 smd files and i fail misserably...this is how i have the stuff set up so far:
In username\sourcesdk_content\hl2mp\modelsrc\static\barsign1
I have my 3 smd files and the qc file
In username\sourcesdk_content\hl2mp\materialsrc\models\static\barsign
I have my tga file
In username\half-life 2 deathmatch\hl2mp\materials\barsign
I have my vtf and vmt files
this is how my qc file looks like:
Code:
// Output .MDL
$modelname static/barsign1/barsign1.mdl
// Directory of .TGA
$cdmaterials D:\Programmer\Steam\SteamApps\username\sourcesdk_content\hl2mp\materialsrc\models\static\barsign
$staticprop
$scale 1.0
$body studio "D:\Programmer\Steam\SteamApps\username\sourcesdk_content\hl2mp\modelsrc\static\barsign1\barsign1.smd"
$sequence idle "barsign1_idle" loop fps 1
//This is your still.smd file you exported.
//Just use your ref so the compiler autocreates a physics box for you for now.
$collisionmodel "barsign1__phys.smd" {
// Mass in kilograms
$Mass 100
$concave
}
When I run the qc file(with the studiomdl gui app) I get an error saying something about $cdmaterials being an erronous command or sumthing...
Any help?
thanks!