$modelname

From Valve Developer Community
Revision as of 08:28, 13 October 2007 by Wolf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Specifies the filename of the compiled model.

Description

$modelname (filename)

Parameters

  • (filename) This filename should be relative to the models/ directory in the mod. Should be in douple quotes.

Example

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