$model

From Valve Developer Community
Revision as of 09:09, 13 October 2007 by Wolf (talk | contribs)
Jump to navigation Jump to search

Specifies a reference smd file to be used as part of this model.

Description

$model (name) (smd name)

Used mainly for characters when the model needs complex parameters like eyes, flexes etc. In other cases, use $body.

Parameters

  • (name) can be any thing as it is only ever used in HLMV. Should be in douple quotes.
  • (smd name) The path to a reference smd, relative to the current path. Should be in douple quotes.

Example

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