$modelname: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
The [[QC command]] [[$modelname]] is used to specify the filepath and filename of the compiled model. | |||
==QC syntax== | |||
$modelname "<filepath>/<filename>.mdl" | |||
== | where | ||
; <filepath> | |||
$modelname " | : is relative to the <code>mod_name/models/</code> directory. If omitted, the file will be created in the <code>models/</code> directory. | ||
; <filename> | |||
: is the name of the compiled .mdl file. | |||
==Example== | ==Example== |
Revision as of 07:19, 31 March 2008
The QC command $modelname is used to specify the filepath and filename of the compiled model.
QC syntax
$modelname "<filepath>/<filename>.mdl"
where
- <filepath>
- is relative to the
mod_name/models/
directory. If omitted, the file will be created in themodels/
directory. - <filename>
- is the name of the compiled .mdl file.
Example
$modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $model "Shell" "shell.smd" $sequence "idle" "shell.smd"