$scale: Difference between revisions
Jump to navigation
Jump to search
Note:
(minor cleanup and info) |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
The [[QC command]] '''<code>$scale</code>''' | The [[QC command]] '''<code>$scale</code>''' multiplies the size of the input meshes by a [[float]] value. The default value is <code>1</code>. | ||
{{note|<code>$scale</code> only affects .SMD file references (such as <code>$body</code> or <code>$model</code>) that are below it in the QC. For this reason, be sure to specify it before any file references!}} | {{note|<code>$scale</code> only affects .SMD file references (such as <code>$body</code> or <code>$model</code>) that are ''below'' it in the QC. For this reason, be sure to specify it before any file references!}} | ||
== Syntax == | == Syntax == |
Revision as of 05:17, 27 July 2008
The QC command $scale
multiplies the size of the input meshes by a float value. The default value is 1
.

$scale
only affects .SMD file references (such as $body
or $model
) that are below it in the QC. For this reason, be sure to specify it before any file references!Syntax
$scale <scale amount>
Example
$scale 3 $modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $body shell "shell_ref.smd" $sequence idle "shell_idle.smd"