$body: Difference between revisions
Jump to navigation
Jump to search
Tip:Multiple reference meshes can be handled with a
mNo edit summary |
m (→Syntax: inline $body commands) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
$body <name> <reference mesh [[Studiomdl Data|SMD]]> | $body <name> <reference mesh [[Studiomdl Data|SMD]]> [reverse] [scale <[[int]]>] | ||
== Example == | == Example == |
Revision as of 20:41, 30 June 2018
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).

$bodygroup
.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