$scale: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 11: Line 11:
  [[$sequence]] idle "shell-idle.smd"
  [[$sequence]] idle "shell-idle.smd"


[[Category:QC Commands|s]]
[[Category:QC Commands|S]]

Revision as of 12:04, 27 April 2008

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"