$modelname: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (don't think this needs its param explaining...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
The [[ | The [[$modelname]] [[QC command]] must be used. It specifies the output ''folder'' (relative to <code>game_dir/models/</code>) and ''filename'' of the compiled model. | ||
== QC syntax example == | == QC syntax example == | ||
Line 9: | Line 7: | ||
[[$body]] shell "shell-ref.smd" | [[$body]] shell "shell-ref.smd" | ||
[[$sequence]] idle "shell-idle.smd" | [[$sequence]] idle "shell-idle.smd" | ||
* Including <code>.mdl</code> is optional but makes the script easier to understand. | |||
[[Category:QC Commands]] | [[Category:QC Commands]] |
Revision as of 09:58, 26 April 2008
The $modelname QC command must be used. It specifies the output folder (relative to game_dir/models/
) and filename of the compiled model.
QC syntax example
$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.