$modelname

From Valve Developer Community
Revision as of 00:34, 26 April 2008 by TomEdwards (talk | contribs) (don't think this needs its param explaining...)
Jump to navigation Jump to search

The QC command $modelname is used to specify the output folder and name of the compiled model, relative to <game>/models/.

Tip.pngTip:Including .mdl is optional.

QC syntax example

$modelname		"weapons/shell.mdl"
$cdmaterials		"models/weapons/"
$body		shell	"shell-ref.smd"
$sequence	idle	"shell-idle.smd"