From Valve Developer Community
Revision as of 19:41, 30 June 2018 by Practical Problems (talk | contribs) (Syntax: inline $body commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Русский 한국어

The QC command $body is used to add a reference mesh to a model. Without at least one $body the model will be invisible (exception: models with facial animation use $model instead).

Tip.png Tip: Multiple reference meshes can be handled with a $bodygroup.


$body	<name> <reference mesh SMD> [reverse] [scale <int>]


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

See also