$modelname

From Valve Developer Community
Revision as of 20:50, 13 October 2007 by Ts2do (talk | contribs) (increased quality)
Jump to navigation Jump to search

Specifies the filename of the compiled model.

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"