$modelname: Difference between revisions
Jump to navigation
Jump to search
Tip:Including
mNo edit summary |
TomEdwards (talk | contribs) (don't think this needs its param explaining...) |
||
Line 1: | Line 1: | ||
The [[QC command]] [[$modelname]] is used to specify the | The [[QC command]] <code>[[$modelname]]</code> is used to specify the output folder and name of the compiled model, relative to <code><game>/models/</code>. | ||
{{tip|Including <code>.mdl</code> is optional.}} | |||
== | == QC syntax example == | ||
'''$modelname "weapons/shell.mdl"''' | |||
$cdmaterials "models/weapons/" | '''[[$modelname]] "weapons/shell.mdl"''' | ||
$ | [[$cdmaterials]] "models/weapons/" | ||
$sequence | [[$body]] shell "shell-ref.smd" | ||
[[$sequence]] idle "shell-idle.smd" | |||
[[Category:QC Commands]] | [[Category:QC Commands]] |
Revision as of 00:34, 26 April 2008
The QC command $modelname
is used to specify the output folder and name of the compiled model, relative to <game>/models/
.

.mdl
is optional.QC syntax example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $body shell "shell-ref.smd" $sequence idle "shell-idle.smd"