$scale: Difference between revisions
Jump to navigation
Jump to search
Note:
Warning:
No edit summary |
Narrygewman (talk | contribs) m (Updated the warning to mention DMX can use $scale without breaking flexes.) |
||
Line 3: | Line 3: | ||
{{note|<code>$scale</code> only affects SMDs that come after it in the QC. Specify it before any file references!}} | {{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.}} | {{warning|<code>$scale</code> prevents [[flex animation]] from working when using the VTA format. This limitation can be bypassed by using the DMX format.}} | ||
== Example == | == Example == |
Revision as of 07:56, 4 March 2013
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 when using the VTA format. This limitation can be bypassed by using the DMX format.Example
$modelname "weapons/shell.mdl"
$cdmaterials "models/weapons/"
$scale 3 // before any SMDs
$body shell "shell_ref.smd"
$sequence idle "shell_idle.smd"