From Valve Developer Community
Revision as of 19:12, 28 April 2008 by JeffLane (talk | contribs) (cat fix, minor note)
Jump to: navigation, search

The $modelname QC command must be used. It specifies the output folder (relative to game_dir/models/) and filename of the compiled model.

Tip.png Tip: By convention this should be the same name as the QC file, but it doesn't have to be.


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

Including .mdl is optional but makes the script easier to understand.