$modelname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Specifies the filename of the compiled model.
<code>$modelname (filename)</code>
 
* Specifies the filename of the compiled model. This filename should be relative to the models/ directory in the mod.  


==Description==
==Description==

Revision as of 18:53, 7 November 2007

$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"