$body: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (otherlang2'd)
Line 1: Line 1:
{{otherlang2
|ru=$body:ru
}}
The [[QC command]] '''<code>[[$body]]</code>''' is used to add a [[reference mesh]] to a model. Without at least one <code>$body</code> the model will be invisible (exception: models with [[facial animation]] use <code>[[$model (QC)|$model]]</code> instead).
The [[QC command]] '''<code>[[$body]]</code>''' is used to add a [[reference mesh]] to a model. Without at least one <code>$body</code> the model will be invisible (exception: models with [[facial animation]] use <code>[[$model (QC)|$model]]</code> instead).


Line 21: Line 24:
*[[$model (QC)|$model]], for facial animation
*[[$model (QC)|$model]], for facial animation


{{otherlang:en}}
{{otherlang:en:ru|$body:ru}}


[[Category:QC Commands|b]]
[[Category:QC Commands|b]]

Revision as of 21:24, 9 March 2011

Template:Otherlang2 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.pngTip:Multiple reference meshes can be handled with a $bodygroup.

Syntax

$body	<name> <reference mesh SMD>

Example

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

See also