From Valve Developer Community
Revision as of 12:17, 21 September 2008 by Halfgild Wynac (talk | contribs) (Russian language link)

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: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. Template:Otherlang:en Template:Otherlang:en:ru