$body/en
< $body
Language subpage
This subpage is used on the $body page to display content in English.
If you have edited the language subpage, do not forget to purge the base page by clicking on the button on the right. Otherwise, its contents will not be updated.
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).
Note:All
$body
meshes will display simultaneously. Toggleable reference meshes can be handled with a $bodygroup
.
Tip:The order in which
$body
meshes are defined in the QC determines the order in which the meshes are rendered. This can be used to prevent z-fighting on transclucent decals or overlays.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 toggleable meshes$model
, for facial animation