Whats wrong with my qc?

I’m trying to compile a simple model for Garry’s Mod, but I keep running up against the same problem.
Here’s my qc file:

$cd “F:/My Skins/Slugga1/Slugga1.qc”
$modelname “orkweapons/Slugga1/Slugga1.mdl”
$scale 1
$model Slugga1 “Slugga1_ref.smd”
$surfaceprop weapon
$cdmaterials “models/Ork Weapons/Slugga1”
$sequence idle “Slugga1_idle.smd” loops fps 15
$collisionmodel “Slugga1_phys.smd” { $concave }
base Metal.Large

And here’s what GUIStudioMDl says when I try to compile it:

Loaded QC file - “F:\My Skins\slugga1\slugga1.qc.txt”

Added game config - “Garry’s Mod”

Created command line: F:\Steam\steamapps\mysteamname\sourcesdk\bin\ep1\bin\studiomdl.exe -game F:\Steam\steamapps\mysteamname\garrysmod\garrysmod -notxbox “F:\My Skins\slugga1\slugga1.qc.txt”

qdir: “f:\my skins\slugga1”
gamedir: “F:\Steam\steamapps\mysteamname\garrysmod\garrysmod”
g_path: “slugga1.qc”
Working on “slugga1.qc”
Error opening f:\my skins\slugga1\slugga1.qc

I’ve made the folders in the Garry’s Mod folders (garrysmod/models/orkweapons/slugga1) and Steam is running when I compile. And that’s it. I have no idea what the problem is. Can anyone help?

that maybe the problem since guistudio or the dos version cannot handle .txt files try renaming the file to just .qc and see if that helps, other than that I can’t see anything else wrong apart from the massive amounts of brackets with nothing in them.

here’s what one of my prop .qc’s looks like:

$cd "C:\Program Files\Steam\steamapps\dxp214\sourcesdk\bin\ep1\bin"
$modelname "armourkey.mdl"
$model "studio" "armourkey.smd"
$cdmaterials "models\armourkey\"

$hboxset "default"
$surfaceprop "metal"
$keyvalues  { prop_data { "base" "metal.Small"  } } 
$sequence idle "armourkeyskeleton.smd" fps 1.00
$collisionmodel "armourkey.smd" {
	$mass 0.2
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00

That was the problem! Thanks a lot :slight_smile:
Cant believe I missed something like that

No problem, don’t worry about it making .qc files can be daunting at first I was the same.