$body: Difference between revisions
Jump to navigation
Jump to search
Tip:Multiple reference meshes can be handled with a
m (→See also: Russian language link) |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The [[ | 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. | ||
Models with [[facial animation]] should use <code>[[$model (QC)|$model]]</code> instead. | |||
{{tip|Multiple reference meshes can be handled with a <code>[[$bodygroup]]</code>.}} | |||
== Syntax == | == Syntax == | ||
$body <name> | $body <name> <reference mesh [[Studiomdl Data|SMD]]> | ||
== Example == | == Example == | ||
Line 34: | Line 17: | ||
== See also == | == See also == | ||
*[[Reference mesh]] | *[[Reference mesh]] | ||
*[[$lod]] | *[[$lod]], for lowering detail at a distance | ||
*[[$bodygroup]] | *[[$bodygroup]], for managing multiple <code>$body</code>s | ||
*[[$model (QC)|$model]] | *[[$model (QC)|$model]], for facial animation | ||
{{otherlang:en}} | {{otherlang:en}} | ||
{{otherlang:en:ru|$body:ru}} | {{otherlang:en:ru|$body:ru}} | ||
[[Category:QC Commands| | [[Category:QC Commands|b]] |
Revision as of 07:00, 7 January 2009
The QC command $body
is used to add a reference mesh to a model. Without at least one $body
the model will be invisible.
Models with facial animation should use $model
instead.

$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
- Reference mesh
- $lod, for lowering detail at a distance
- $bodygroup, for managing multiple
$body
s - $model, for facial animation