$modelname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 13: Line 13:
  $model "Shell" "shell.smd"
  $model "Shell" "shell.smd"
  $sequence "idle" "shell.smd"
  $sequence "idle" "shell.smd"
[[Category:QC Commands]]

Revision as of 18:24, 7 November 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"