$modelname
Jump to navigation
Jump to search
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"