From Valve Developer Community
Revision as of 05:16, 7 January 2009 by TomEdwards (talk | contribs)
Jump to: navigation, search

The $modelname QC command must be used. It specifies the path and filename of the compiled model, relative to the current VPROJECT folder.

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"

This model will be created at <game>\models\weapons\shell.mdl.

Template:Otherlang:en Template:Otherlang:en:ru