$body

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

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

Description

$body "name" "smd"

Used for nearly every model except for characters when the model needs complex parameters like eyes, flexes etc. In these cases, use $model.

Parameters

  • name can be any thing as it is only used in HLMV.
  • smd is the path to a reference smd relative to the current path.

Example

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