$scale: Difference between revisions
Jump to navigation
Jump to search
Note:
Warning:
TomEdwards (talk | contribs) mNo edit summary |
TomEdwards (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The | The '''<code>$scale</code>''' [[QC command]] multiplies the size of all subsequent SMDs. It does ''not'' affect values defined in the QC itself (e.g. [[$attachment]] locations). | ||
{{note|<code>$scale</code> only affects | {{note|<code>$scale</code> only affects SMDs that come after it in the QC. Specify it before any file references!}} | ||
{{warning|<code>$scale</code> prevents [[flex animation]] from working.}} | |||
== Example == | |||
== | <source lang=php highlight=4> | ||
$modelname "weapons/shell.mdl" | |||
$cdmaterials "models/weapons/" | |||
$scale 3 // before any SMDs | |||
$body shell "shell_ref.smd" | |||
$sequence idle "shell_idle.smd" | |||
</source> | |||
[[Category:QC Commands|scale]] | [[Category:QC Commands|scale]] |
Revision as of 04:34, 12 March 2011
The $scale
QC command multiplies the size of all subsequent SMDs. It does not affect values defined in the QC itself (e.g. $attachment locations).

$scale
only affects SMDs that come after it in the QC. Specify it before any file references!
$scale
prevents flex animation from working.Example
$modelname "weapons/shell.mdl"
$cdmaterials "models/weapons/"
$scale 3 // before any SMDs
$body shell "shell_ref.smd"
$sequence idle "shell_idle.smd"