$modelname

From Valve Developer Community
Revision as of 11:56, 27 April 2008 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

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

QC syntax example

$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.