$body: Difference between revisions
Jump to navigation
Jump to search
Tip:Multiple reference meshes can be handled with a $bodygroup.
Kestrelguy (talk | contribs) m (updated language bar.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|$body|$title=$body}}[[Category:QC Commands|b]] | {{lang|$body|$title=$body}}[[Category:QC Commands|b]] | ||
{{this is a|c0|$body}} It 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). | |||
{{tip|Multiple reference meshes can be handled with a {{ent|$bodygroup}}.}} | {{tip|Multiple reference meshes can be handled with a {{ent|$bodygroup}}.}} |
Revision as of 12:01, 22 September 2023
This is a c0 available in all Source games. It 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).

Syntax
$body <name> <reference mesh SMD> [reverse] [scale <int>]
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