$modelname

From Valve Developer Community
Revision as of 18:53, 7 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search

$modelname (filename)

  • Specifies the filename of the compiled model. This filename should be relative to the models/ directory in the mod.

Description

$modelname "path/to/model.mdl"

Parameters

  • This filename should be relative to the models/ directory in the mod.

Example

$modelname "weapons/shell.mdl"
$cdmaterials "models/weapons/"
$model "Shell" "shell.smd"
$sequence "idle" "shell.smd"