$defaultweightlist: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Properly documented this command)
Line 1: Line 1:
Unknown
The '''<code>$defaultweightlist</code>''' [[QC command]] creates a [[$weightlist|weightlist]] that is automatically applied to any [[$sequence]] in the model that does not already have a weightlist.
 
Unlike [[$weightlist]], it does not count towards the weightlist limit (128 by default). However, if more than one is specified, only the last one will be used.


== Syntax ==
== Syntax ==


The same as [[$weightlist]] except that no name is specified.
Identical to <code>$weightlist</code>, but it does not accept a name:
<source lang=php>
$defaultweightlist
{
<bone> <weight>
<bone> <weight>
[...]
}
</source>
 
== See also ==
* [[$weightlist]]
* [[$sequence]]
 


[[Category:QC Commands|defaultweightlist]]__NOTOC__
[[Category:QC Commands|defaultweightlist]]__NOTOC__

Revision as of 09:29, 22 November 2019

The $defaultweightlist QC command creates a weightlist that is automatically applied to any $sequence in the model that does not already have a weightlist.

Unlike $weightlist, it does not count towards the weightlist limit (128 by default). However, if more than one is specified, only the last one will be used.

Syntax

Identical to $weightlist, but it does not accept a name:

$defaultweightlist
{
	<bone> <weight>
	<bone> <weight>
	[...]
}

See also