$scale

From Valve Developer Community
Revision as of 12:04, 27 April 2008 by TomEdwards (talk | contribs)
Jump to navigation Jump to search

The QC command $scale modifies the size of the compiled model by a float value. The default value is 1.

Note.pngNote:$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"