$body: Difference between revisions
Jump to navigation
Jump to search
Tip:Multiple reference meshes can be handled with a $bodygroup.
mNo edit summary |
Thunder4ik (talk | contribs) m (→See also: clean up, replaced: See Also → See also) |
||
Line 15: | Line 15: | ||
[[$sequence]] idle "shell_idle.smd" | [[$sequence]] idle "shell_idle.smd" | ||
== See | == See also == | ||
*[[Reference mesh]] | *[[Reference mesh]] | ||
*{{ent|$lod}}, for lowering detail at a distance | *{{ent|$lod}}, for lowering detail at a distance | ||
*{{ent|$bodygroup}}, for managing multiple <code>$body</code>s | *{{ent|$bodygroup}}, for managing multiple <code>$body</code>s | ||
*<code>[[$model (QC)|$model]]</code>, for facial animation | *<code>[[$model (QC)|$model]]</code>, for facial animation |
Revision as of 01:34, 6 January 2024
$body
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