$body

From Valve Developer Community
Revision as of 18:55, 25 April 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

The $body QC command is used to specify the reference.smd file that will become the $modelname.

  • Use $body for all models unless you need to specify special animation parameters like eyes, flexes etc.; in which case use $model (QC) instead.

QC syntax example

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

Where

  • "Shell" can be anything as it is only used as a label in HLMV.
  • "shell.smd" is the path to a reference.smd relative to the QC file's current directory.