$defaultweightlist: Difference between revisions
Jump to navigation
Jump to search
Trigger hurt (talk | contribs) (Properly documented this command) |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{this is a|QC command|name=$defaultweightlist}} It 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. | 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. | ||
Line 7: | Line 7: | ||
Identical to <code>$weightlist</code>, but it does not accept a name: | Identical to <code>$weightlist</code>, but it does not accept a name: | ||
<source lang=php> | <source lang=php> | ||
$defaultweightlist | $defaultweightlist { | ||
{ | |||
<bone> <weight> | <bone> <weight> | ||
<bone> <weight> | <bone> <weight> | ||
Line 19: | Line 18: | ||
* [[$sequence]] | * [[$sequence]] | ||
__NOTOC__ | |||
Latest revision as of 21:31, 16 July 2025
$defaultweightlist
is a QC command available in all Source games. It 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