$body: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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 | |||
* <code>"Shell"</code> can be anything as it is only used as a label in [[HLMV]]. | |||
* <code>"shell.smd"</code> is the path to a ''reference.smd'' relative to the QC file's [[$cd|current directory]]. | |||
* <code> | |||
* <code>smd</code> is the path to a reference smd relative to the [[$cd|current directory]]. | |||
[[Category:QC Commands]] | [[Category:QC Commands]] |
Revision as of 18:55, 25 April 2008
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.