$scale: Difference between revisions
Jump to navigation
Jump to search
Note:
No edit summary |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The [[QC command]] '''<code>$scale</code>''' modifies the size of the compiled model by a [[float]] value. The default value is <code>1</code>. | |||
{{note|<code>$scale</code> only affects commands that are below it in the QC. For this reason, be sure to specify it on the first line!}} | |||
[[Category:QC Commands]] | == Example == | ||
'''$scale 3''' | |||
[[$modelname]] "weapons/shell.mdl" | |||
[[$cdmaterials]] "models/weapons/" | |||
[[$body]] shell "shell-ref.smd" | |||
[[$sequence]] idle "shell-idle.smd" | |||
[[Category:QC Commands|s]] |
Revision as of 12:01, 27 April 2008
The QC command $scale
modifies the size of the compiled model by a float value. The default value is 1
.

$scale
only affects commands that are below it in the QC. For this reason, be sure to specify it on the first line!Example
$scale 3 $modelname "weapons/shell.mdl" $cdmaterials "models/weapons/" $body shell "shell-ref.smd" $sequence idle "shell-idle.smd"