Compile Errors



[Performing Sanity Check]
QC file loaded...PASS
Can read QC...PASS
Can find studiomdl.exe...PASS
Can build command line...PASS
All tests passed!

[Compiling QC file - "track.qc"]
[Compiler output follows]
--------------------------------------------------------------------------------
entering J:\Azu\MYDOCU~1\3dsmax\export\gm_stunt	rack.qc

************ ERROR ************
bad command $cdmaterials


--------------------------------------------------------------------------------
[Compiler execution completed]


I keep getting this error.

This my QC file.



$modelname "models	rack_banked_curve_90.mdl"
$cdmaterials "gm_stunt\"

$scale 1
$surfaceprop "metal"

$sequence idle "track_banked_curve_90.smd" fps 1

$collisionmodel "track_banked_curve_90.smd" {
$mass 100.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}


$cdmaterials “models\gm_stunt” maybe?

Or it’s because you don’t have a “$body mybody”?

Where do I put them? I have all my textures in folder in my documents.

I get the same error even with Vavle’s QC files in the SDK folder.

I think it’s GUIStudioMDL. It’s doing that with every command except $scale and $modelname.

Got it. I was using an OLD version of GUIStudioComplile

in the future use Notepad++ to compile your scripts with NPPEXEC.

i use the command


"C:\Steam\steamapps\lolname\sourcesdk\bin\ep1\bin\studiomdl.exe" -game "C:\Steam\steamapps\lolname\half-life 2\hl2"  "$(FULL_CURRENT_PATH)"

in nppexec.