$modelname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (increased quality)
No edit summary
Line 3: Line 3:
==Description==
==Description==


$modelname "path/to/model.mdl"
$modelname "path/to/model.mdl"


==Parameters==
==Parameters==

Revision as of 20:57, 13 October 2007

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"