$modelname

From Valve Developer Community
Revision as of 07:19, 31 March 2008 by Beeswax (talk | contribs)
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 the models/ 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"